The patch titled fix logic error in ipc compat semctl() has been removed from the -mm tree. Its filename was fix-logic-error-in-ipc-compat-semctl.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: fix logic error in ipc compat semctl() From: Alexander Graf <agraf@xxxxxxx> When calling a semctl(IPC_STAT) without IPC_64 the check if the memory is unevaluated. This patch fixes this. Signed-off-by: Alexander Graf <agraf@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- ipc/compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN ipc/compat.c~fix-logic-error-in-ipc-compat-semctl ipc/compat.c --- a/ipc/compat.c~fix-logic-error-in-ipc-compat-semctl +++ a/ipc/compat.c @@ -225,7 +225,7 @@ static inline int put_compat_semid_ds(st int err; if (!access_ok (VERIFY_WRITE, up, sizeof(*up))) - err = -EFAULT; + return -EFAULT; err = __put_compat_ipc_perm(&s->sem_perm, &up->sem_perm); err |= __put_user(s->sem_otime, &up->sem_otime); err |= __put_user(s->sem_ctime, &up->sem_ctime); _ Patches currently in -mm which might be from agraf@xxxxxxx are origin.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html