summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools/python3
diff options
context:
space:
mode:
authorStephen Smalley <stephen.smalley.work@gmail.com>2026-05-05 08:49:48 -0400
committerPaul Moore <paul@paul-moore.com>2026-05-05 15:27:43 -0400
commit644132a48f4e28a1d949d162160869286f3e75de (patch)
tree62c074947987520855e6e973e6f2f87253f926c9 /scripts/dummy-tools/python3
parent7fd2df204f342fc17d1a0bfcd474b24232fb0f32 (diff)
selinux: prune /sys/fs/selinux/checkreqprot
commit a7e4676e8e2cb ("selinux: remove the 'checkreqprot' functionality") removed the ability to modify the checkreqprot setting but left everything except the updating of the checkreqprot value intact. Aside from unnecessary processing, this could produce a local DoS from log spam and incorrectly calls selinux_ima_measure_state() on each write even though no state has changed. Prune it to just log an error message once and return count (i.e. all bytes written successfully) so that userspace never breaks. Cc: stable@vger.kernel.org Signed-off-by: Stephen Smalley <stephen.smalley.work@gmail.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions