summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-kernel/ac-sources')
-rw-r--r--sys-kernel/ac-sources/files/ac-sources-2.6.9.shmLocking.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-kernel/ac-sources/files/ac-sources-2.6.9.shmLocking.patch b/sys-kernel/ac-sources/files/ac-sources-2.6.9.shmLocking.patch
index dba7c9ca796f..66e4520909ed 100644
--- a/sys-kernel/ac-sources/files/ac-sources-2.6.9.shmLocking.patch
+++ b/sys-kernel/ac-sources/files/ac-sources-2.6.9.shmLocking.patch
@@ -48,7 +48,7 @@ diff -Nru a/ipc/shm.c b/ipc/shm.c
+ current->euid != shp->shm_perm.cuid)
+ goto out_unlock;
+ if (cmd == SHM_LOCK &&
-+ !current->signal->rlim[RLIMIT_MEMLOCK].rlim_cur)
++ !current->rlim[RLIMIT_MEMLOCK].rlim_cur)
+ goto out_unlock;
+ }