]> git.ipfire.org Git - thirdparty/iproute2.git/commit
lib: add SELinux include and stub functions
authorAndrea Claudi <aclaudi@redhat.com>
Wed, 23 Aug 2023 17:30:01 +0000 (19:30 +0200)
committerDavid Ahern <dsahern@kernel.org>
Fri, 25 Aug 2023 00:34:31 +0000 (17:34 -0700)
commite246ebc3b7f1f438310ad6fd1d5976ba6ccf7a69
tree2f749c23895871f80a612072b42c01af63266a54
parent61c6882ce21c1247c06cd61783120be0a2e2019c
lib: add SELinux include and stub functions

ss provides some selinux stub functions, useful when iproute2 is
compiled without selinux support.

Move them to lib/ so we can use them in other iproute2 tools.

Signed-off-by: Andrea Claudi <aclaudi@redhat.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
include/selinux.h [new file with mode: 0644]
lib/Makefile
lib/selinux.c [new file with mode: 0644]
misc/ss.c