summaryrefslogtreecommitdiffstats
path: root/ipc/util.c
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2018-03-24 05:56:19 +0100
committerEric W. Biederman <ebiederm@xmission.com>2018-03-27 22:53:57 +0200
commit0d79cbf83be07bb38a1224f47fd0e2b163310442 (patch)
treeb9f0ebb92dbd66ecf8cff677e028f8067600061b /ipc/util.c
parentipc: Directly call the security hook in ipc_ops.associate (diff)
downloadlinux-0d79cbf83be07bb38a1224f47fd0e2b163310442.tar.xz
linux-0d79cbf83be07bb38a1224f47fd0e2b163310442.zip
ipc/smack: Tidy up from the change in type of the ipc security hooks
Rename the variables shp, sma, msq to isp. As that is how the code already refers to those variables. Collapse smack_of_shm, smack_of_sem, and smack_of_msq into smack_of_ipc, as the three functions had become completely identical. Collapse smack_shm_alloc_security, smack_sem_alloc_security and smack_msg_queue_alloc_security into smack_ipc_alloc_security as the three functions had become identical. Collapse smack_shm_free_security, smack_sem_free_security and smack_msg_queue_free_security into smack_ipc_free_security as the three functions had become identical. Requested-by: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions