diff options
author | Paul McQuade <paulmcquad@gmail.com> | 2014-06-06 17:37:37 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-06 19:08:14 -0400 |
commit | 46c0a8ca3e841b14a1d981e2116eaf2d1c7f2235 (patch) | |
tree | 44b72ebf4cb7c891f2cb8690aefd506251f49191 /ipc/util.c | |
parent | 7153e402731c3e72331633d1ac15a654768aecac (diff) |
ipc, kernel: clear whitespace
trailing whitespace
Signed-off-by: Paul McQuade <paulmcquad@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'ipc/util.c')
-rw-r--r-- | ipc/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipc/util.c b/ipc/util.c index 9b3fa38afe2c..27d74e69fd57 100644 --- a/ipc/util.c +++ b/ipc/util.c | |||
@@ -183,7 +183,7 @@ void __init ipc_init_proc_interface(const char *path, const char *header, | |||
183 | * ipc_findkey - find a key in an ipc identifier set | 183 | * ipc_findkey - find a key in an ipc identifier set |
184 | * @ids: ipc identifier set | 184 | * @ids: ipc identifier set |
185 | * @key: key to find | 185 | * @key: key to find |
186 | * | 186 | * |
187 | * Returns the locked pointer to the ipc structure if found or NULL | 187 | * Returns the locked pointer to the ipc structure if found or NULL |
188 | * otherwise. If key is found ipc points to the owning ipc structure | 188 | * otherwise. If key is found ipc points to the owning ipc structure |
189 | * | 189 | * |
@@ -538,7 +538,7 @@ int ipcperms(struct ipc_namespace *ns, struct kern_ipc_perm *ipcp, short flag) | |||
538 | else if (in_group_p(ipcp->cgid) || in_group_p(ipcp->gid)) | 538 | else if (in_group_p(ipcp->cgid) || in_group_p(ipcp->gid)) |
539 | granted_mode >>= 3; | 539 | granted_mode >>= 3; |
540 | /* is there some bit set in requested_mode but not in granted_mode? */ | 540 | /* is there some bit set in requested_mode but not in granted_mode? */ |
541 | if ((requested_mode & ~granted_mode & 0007) && | 541 | if ((requested_mode & ~granted_mode & 0007) && |
542 | !ns_capable(ns->user_ns, CAP_IPC_OWNER)) | 542 | !ns_capable(ns->user_ns, CAP_IPC_OWNER)) |
543 | return -1; | 543 | return -1; |
544 | 544 | ||