]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/smack-setup.c
smack: handling smack onlycap list (#5542)
authorWaLyong Cho <walyong.cho@gmail.com>
Mon, 26 Jun 2017 19:00:03 +0000 (04:00 +0900)
committerLennart Poettering <lennart@poettering.net>
Mon, 26 Jun 2017 19:00:03 +0000 (21:00 +0200)
commit217f95db7be3eee6e2b3998cdfd2e86df2c2c66b
tree808bd16dfdf3ecb0eec94d98f254bb129e39d907
parentb1d25c25e19dc4b4ca8777696c6a2c0fa4c3216e
smack: handling smack onlycap list (#5542)

To support smack onlycap, read onlycap list from /etc/smack/onlycap and write
to /sys/fs/smackfs/onlycap.

https://lwn.net/Articles/292128/
http://lkml.iu.edu/hypermail/linux/kernel/1505.2/04718.html
http://schaufler-ca.com/description_from_the_linux_source_tree
src/core/smack-setup.c