mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
ipc, kernel: clear whitespace
trailing whitespace Signed-off-by: Paul McQuade <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
7153e40273
commit
46c0a8ca3e
6 changed files with 29 additions and 30 deletions
|
|
@ -183,7 +183,7 @@ void __init ipc_init_proc_interface(const char *path, const char *header,
|
|||
* ipc_findkey - find a key in an ipc identifier set
|
||||
* @ids: ipc identifier set
|
||||
* @key: key to find
|
||||
*
|
||||
*
|
||||
* Returns the locked pointer to the ipc structure if found or NULL
|
||||
* otherwise. If key is found ipc points to the owning ipc structure
|
||||
*
|
||||
|
|
@ -538,7 +538,7 @@ int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flag)
|
|||
else if (in_group_p(ipcp->cgid) || in_group_p(ipcp->gid))
|
||||
granted_mode >>= 3;
|
||||
/* is there some bit set in requested_mode but not in granted_mode? */
|
||||
if ((requested_mode & ~granted_mode & 0007) &&
|
||||
if ((requested_mode & ~granted_mode & 0007) &&
|
||||
!ns_capable(ns->user_ns, CAP_IPC_OWNER))
|
||||
return -1;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue