diff options
author | Casey Schaufler <casey@schaufler-ca.com> | 2015-12-07 14:34:32 -0800 |
---|---|---|
committer | Casey Schaufler <casey@schaufler-ca.com> | 2015-12-09 16:10:55 -0800 |
commit | 79be093500791cc25cc31bcaec5a4db62e21497b (patch) | |
tree | 4cdbb37c73f0e8f4112d9780880b23c0fdfd7890 /include/media/ov9650.h | |
parent | ebd68df3f24b318d391d15c458d6f43f340ba36a (diff) | |
download | linux-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