diff options
author | Tim Yamin <plasmaroo@gentoo.org> | 2004-12-21 20:16:13 +0000 |
---|---|---|
committer | Tim Yamin <plasmaroo@gentoo.org> | 2004-12-21 20:16:13 +0000 |
commit | e38358b72fbcbfa73c4da7b99a4a0a103f668861 (patch) | |
tree | a9196328d616f4a05252a2d7b1642d9d4f8f4666 /sys-kernel | |
parent | Restored name in ChangeLog (Manifest recommit) (diff) | |
download | gentoo-2-e38358b72fbcbfa73c4da7b99a4a0a103f668861.tar.gz gentoo-2-e38358b72fbcbfa73c4da7b99a4a0a103f668861.tar.bz2 gentoo-2-e38358b72fbcbfa73c4da7b99a4a0a103f668861.zip |
Fixing SHM_LOCK patch compile issue; {current->signal->rlim} -> {current->rlim}...
Diffstat (limited to 'sys-kernel')
3 files changed, 3 insertions, 3 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; + } diff --git a/sys-kernel/ck-sources/files/ck-sources-2.6.9.shmLocking.patch b/sys-kernel/ck-sources/files/ck-sources-2.6.9.shmLocking.patch index dba7c9ca796f..66e4520909ed 100644 --- a/sys-kernel/ck-sources/files/ck-sources-2.6.9.shmLocking.patch +++ b/sys-kernel/ck-sources/files/ck-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; + } diff --git a/sys-kernel/win4lin-sources/files/win4lin-sources-2.6.9.shmLocking.patch b/sys-kernel/win4lin-sources/files/win4lin-sources-2.6.9.shmLocking.patch index dba7c9ca796f..66e4520909ed 100644 --- a/sys-kernel/win4lin-sources/files/win4lin-sources-2.6.9.shmLocking.patch +++ b/sys-kernel/win4lin-sources/files/win4lin-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; + } |