lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sun, 30 Mar 2008 22:50:36 +0200
From: Manfred Spraul <manfred@...orfullife.com>
To: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
CC: Andrew Morton <akpm@...ux-foundation.org>,
Pavel Emelyanov <xemul@...nvz.org>
Subject: [RFC, PATCH] fix SEM_UNDO with namespaces
Hi,
the attached patch should fix the combination of CLONE_NEWIPC with
shared sysv undo structures (the common case, just
sys_unshare(CLONE_NEWIPC)):
lookup_undo() now locates the undo array based on both semid and the
namespace pointer.
Additionally, the patch tries to clean the code up by using the linked
list macros from <linux/list.h> instead of single linked lists.
The patch passes a few quick tests, I'm interested in feedback. Are
there test apps for testing the IPC namespace code?
--
Manfred
View attachment "patch-semundo-namespace" of type "text/plain" (10345 bytes)
Powered by blists - more mailing lists