summaryrefslogtreecommitdiffstats
path: root/include/media/ov9650.h
diff options
context:
space:
mode:
authorCasey Schaufler <casey@schaufler-ca.com>2015-12-07 14:34:32 -0800
committerCasey Schaufler <casey@schaufler-ca.com>2015-12-09 16:10:55 -0800
commit79be093500791cc25cc31bcaec5a4db62e21497b (patch)
tree4cdbb37c73f0e8f4112d9780880b23c0fdfd7890 /include/media/ov9650.h
parentebd68df3f24b318d391d15c458d6f43f340ba36a (diff)
downloadlinux-79be093500791cc25cc31bcaec5a4db62e21497b.tar.bz2
Smack: File receive for sockets
The existing file receive hook checks for access on the file inode even for UDS. This is not right, as the inode is not used by Smack to make access checks for sockets. This change checks for an appropriate access relationship between the receiving (current) process and the socket. If the process can't write to the socket's send label or the socket's receive label can't write to the process fail. This will allow the legitimate cases, where the socket sender and socket receiver can freely communicate. Only strangly set socket labels should cause a problem. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
Diffstat (limited to 'include/media/ov9650.h')
0 files changed, 0 insertions, 0 deletions