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

- From: Andrew Morton \<hidden\>
- Date: 2012-04-06 19:55:24 
- List: netdev
- Page: https://ratatoskr.run/netdev/2012/04/3846329
- Thread: https://ratatoskr.run/linux-arch/2012/03/3842617/t.md

```text
On Thu, 29 Mar 2012 15:01:46 -0500
Will Drewry [ref] wrote:

> From: Andy Lutomirski <redacted>
> 
> 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.

The changelog doesn't explain the semantics of the new syscall. 
There's a comment way-down-there which I guess suffices, if you hunt
for it.

And the changelog doesn't explain why this is being added.  Presumably
seccomp_filter wants/needs this feature but whowhatwherewhenwhy?  Spell
it all out, please.

The new syscall mode will be documented in the prctl manpage.  Please
cc linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org and work with Michael on getting this
done?

>
> ...
>
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
