summaryrefslogtreecommitdiffstats
path: root/samples/Makefile
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2020-01-14 17:07:13 +0000
committerDavid Howells <dhowells@redhat.com>2020-05-19 15:47:38 +0100
commita8478a602913dc89a7cd2060e613edecd07e1dbd (patch)
treedab2ce77466d2de20ae20034eda3f17c8f51f422 /samples/Makefile
parent3e412ccc22e25666772094fb5ca01af056c54471 (diff)
downloadlinux-a8478a602913dc89a7cd2060e613edecd07e1dbd.tar.gz
linux-a8478a602913dc89a7cd2060e613edecd07e1dbd.tar.bz2
linux-a8478a602913dc89a7cd2060e613edecd07e1dbd.zip
smack: Implement the watch_key and post_notification hooks
Implement the watch_key security hook in Smack to make sure that a key grants the caller Read permission in order to set a watch on a key. Also implement the post_notification security hook to make sure that the notification source is granted Write permission by the watch queue. For the moment, the watch_devices security hook is left unimplemented as it's not obvious what the object should be since the queue is global and didn't previously exist. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'samples/Makefile')
0 files changed, 0 insertions, 0 deletions