]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ss: make is_selinux_enabled stub work like in SELinux
authorAndrea Claudi <aclaudi@redhat.com>
Wed, 23 Aug 2023 17:29:59 +0000 (19:29 +0200)
committerDavid Ahern <dsahern@kernel.org>
Fri, 25 Aug 2023 00:34:07 +0000 (17:34 -0700)
commitc8970828b6509af3ab0f2982da335fb6a6c846af
tree6602427ac541f01f3858af832aaf8557167e1552
parentce67bbcccb237f837c0ec2b5d4c85a4fd11ef1b5
ss: make is_selinux_enabled stub work like in SELinux

From the is_selinux_enabled() manpage:

is_selinux_enabled() returns 1 if SELinux is running or 0 if it is not.

This makes the is_selinux_enabled() stub functions works exactly like
the SELinux function it is supposed to replace.

Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
misc/ss.c