Re: New Security Features, Please Comment

From: Peter Teoh
Date: Wed Dec 03 2008 - 18:27:55 EST

On Thu, Dec 4, 2008 at 7:08 AM, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
>> The children are pre-forked, so the overhead is in the setup... then
>> when the app recieves a request, it sets the child's uid to the uid of
>> the website, and then passes the request to the child, which, now, the
>> child is running as the website owner.
> But the child process may already have been trojanned by a previous user
> so it gains you nothing.

Yes, I thought so too. The trojanized child, even though most of the
time unprivileged, can wait for that window of opportunity when its
privilege is escalated, by polling, and when it received the
privilege, immediate jump into action.


Peter Teoh

Ernest Hemingway - "Never mistake motion for action."
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at