On Tue, Aug 31, 2004 at 06:52:51PM +0300, Gilad Ben-Yossef wrote:

> >Make a process which is running with root capabilities appear in a
> >standard ps output as though it belongs to user 'foo'. I can't change
> >ps; I can't change the kernel. I can only use the standard POSIX
> >APIs. I do have root on the system.
> 
> If compiling a module is allowed, then create a module that creates a 
> file system which behaves as /proc in everyway (probably using some sort 
> of "relay") except the /proc/$PID/status of the relvant program. Use a 
> decpetive name (like "procfs") for your "new" file system to hide the 
> evidance :-)

Nah, I consider kernel modules just a semi-organized way of patching
the kernel, and kernel changes are not allowed. 

*insert standard rant about why "oh, we don't modify the kernel, we
just load a driver!" doesn't mean squat in Linux, and it very much
_does_ modify the kernel* 

Cheers, 
Muli
-- 
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

Attachment: signature.asc
Description: Digital signature

Reply via email to