lkml.org 
[lkml]   [2014]   [Nov]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [RFC PATCH 3/4] kmod - add call_usermodehelper_ns() helper
Date
Eric W. Biederman <ebiederm@xmission.com> wrote:

> Ian if we were to merge this I believe you would win the award for
> easiest path to a root shell.

Is there any particular reason the upcalled program has to be run as root?
Could the kernel not run it as something else - perhaps the caller's UID,GID
or even something anonymous?

Also, call_sbin_request_key() could be given a parameter to call something
other than /sbin/request-key, and key_type::request_key could be used.

David


\
 
 \ /
  Last update: 2014-11-26 13:21    [W:0.063 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site