commit | a33e6751003c5ade603737d828b1519d980ce392 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Wed Dec 10 03:40:06 2008 -0500 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sun Jan 04 15:14:39 2009 -0500 |
tree | aa484d033e886945aed78172dbdd4d2fd928bacf | |
parent | f3298dc4f2277874d40cb4fc3a6e277317d6603b [diff] [blame] |
sanitize audit_ipc_obj() * get rid of allocations * make it return void * simplify callers Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
diff --git a/ipc/shm.c b/ipc/shm.c index 38a0557..57dd500 100644 --- a/ipc/shm.c +++ b/ipc/shm.c
@@ -747,9 +747,7 @@ goto out; } - err = audit_ipc_obj(&(shp->shm_perm)); - if (err) - goto out_unlock; + audit_ipc_obj(&(shp->shm_perm)); if (!capable(CAP_IPC_LOCK)) { uid_t euid = current_euid();