]> git.proxmox.com Git - mirror_iproute2.git/commit - misc/ss.c
ss: Add support for retrieving SELinux contexts
authorRichard Haines <richard_c_haines@btinternet.com>
Fri, 7 Mar 2014 10:36:52 +0000 (10:36 +0000)
committerStephen Hemminger <stephen@networkplumber.org>
Mon, 10 Mar 2014 20:20:49 +0000 (13:20 -0700)
commit116ac9270b6d5eb0605774bcd59f0bd079865126
tree1c2a70e6fb43058304cded54ad88698043d8801f
parent81ebcb2ae9c93fd8dffcc498eedc2f39be7fabae
ss: Add support for retrieving SELinux contexts

The process SELinux contexts can be added to the output using the -Z
option. Using the -z option will show the process and socket contexts (see
the man page for details).
For netlink sockets: if valid process show process context, if pid = 0
show kernel initial context, if unknown show "unavailable".

Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
configure
man/man8/ss.8
misc/Makefile
misc/ss.c