# Re: \[PATCH v17 01/15\] Add PR\_{GET,SET}\_NO\_NEW\_PRIVS to prevent execve from granting privs

- From: Markus Gutschke \<hidden\>
- Date: 2012-04-06 20:47:42 
- List: netdev
- Page: https://ratatoskr.run/netdev/2012/04/3846346
- Thread: https://ratatoskr.run/linux-arch/2012/03/3842617/t.md

```text
On Fri, Apr 6, 2012 at 12:49, Andrew Morton [ref] wrote:
> On Thu, 29 Mar 2012 15:01:46 -0500
> Will Drewry [ref] wrote:
>> From: Andy Lutomirski <luto@amacapital.net>
>> With this set, a lot of dangerous operations (chroot, unshare, etc)
>> become a lot less dangerous because there is no possibility of
>> subverting privileged binaries.

I don't want to derail things. So, tell me to go away, if I can't have
what I want.

Having said that, it would be great if NO_NEW_PRIVS also gave access
to the restricted clone() flags. Such as CLONE_NEWIPC, CLONE_NEWNET
and CLONE_NEWPID.


Markus
```
