Query: ipcctl_pre_down
OS: suse
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IPCCTL_PRE_DOWN(9) Kernel IPC facilities IPCCTL_PRE_DOWN(9)NAMEipcctl_pre_down - retrieve an ipc and check permissions for some IPC_XXX cmdSYNOPSISstruct kern_ipc_perm * ipcctl_pre_down(struct ipc_ids * ids, int id, int cmd, struct ipc64_perm * perm, int extra_perm);ARGUMENTSids the table of ids where to look for the ipc id the id of the ipc to retrieve cmd the cmd to check perm the permission to set extra_perm one extra permission parameter used by msqDESCRIPTIONThis function does some common audit and permissions check for some IPC_XXX cmd and is called from semctl_down, shmctl_down and msgctl_down. It must be called without any lock held and - retrieves the ipc with the given id in the given table. - performs some audit and permission check, depending on the given cmd - returns the ipc with both ipc and rw_mutex locks held in case of success or an err-code without any lock held otherwise.COPYRIGHTKernel Hackers Manual 2.6. July 2010 IPCCTL_PRE_DOWN(9)
Related Man Pages |
---|
ipc(2) - linux |
ipc(2) - debian |
ipc(2) - suse |
ipc(3head) - opensolaris |
ipc.h(3head) - opensolaris |
Similar Topics in the Unix Linux Community |
---|
How to restrict user to a specific directory in solaris 10 |
Change directory error |
Cut command on RHEL 6.8 compatibility issues |
Tar Command |
Shopt -s histappend |