Re: [PATCH v2] vfs: Tighten up linkat(..., AT_EMPTY_PATH)

From: Linus Torvalds
Date: Mon Aug 26 2013 - 14:08:15 EST


On Mon, Aug 26, 2013 at 10:37 AM, Linus Torvalds
<torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> I'm playing with a patch that then in addition to the ptrace check
> *also* requires that the file was opened with the same credentials as
> the follower _or_ the task being followed. I'll see if that works out.

Chrome sandboxing still _works_ with the attached patch, but there's a
few audit messages about the sandbox being denied dac_read_search. And
I'm really not very happy with this anyway.

So I'm going to send it out (using email to archive things and see if
anybody has any comments), and then forget about it.

Linus

Attachment: patch.diff
Description: Binary data