Re: [PATCH 1/2] fix sys_unshare()+SEM_UNDO: add support forCLONE_SYSVSEM
From: Andrew Morton
Date: Sun Apr 13 2008 - 14:19:06 EST
On Sun, 13 Apr 2008 13:36:24 +0200 Manfred Spraul <manfred@xxxxxxxxxxxxxxxx> wrote:
> >> + if (unshare_flags & CLONE_SYSVSEM) {
> >> + *new_ulistp = (void*)1;
> >> + }
> >>
> >
> > And can we do anything nicer than this?
> >
> >
> Attached is an alternative. If you prefer it, I'll send another patch set.
Well I suppose we can fiddle with this sort of thing later. Right now the
major concern is the testedness and reviewedness of these changes?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/