selinux: log about VM being executable by default
authorChristian Göttsche <cgzones@googlemail.com>
Fri, 28 Jul 2023 15:01:49 +0000 (17:01 +0200)
committerPaul Moore <paul@paul-moore.com>
Fri, 28 Jul 2023 18:04:14 +0000 (14:04 -0400)
commit19c5b015d1b9122393151134879dcfcf0ae6057a
tree07112b97084f7b40e30688c0018c269a0d90f433
parent3876043ad9f7ff5fa3e506ea9673641971e46d8b
selinux: log about VM being executable by default

In case virtual memory is being marked as executable by default, SELinux
checks regarding explicit potential dangerous use are disabled.

Inform the user about it.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c