Patch an fs/exec.c:do_execve()

Florian Lohoff flo at rfc822.org
Mon Aug 9 13:40:06 CEST 1999


On Mon, Aug 02, 1999 at 04:03:25PM +0200, Jan-Benedict Glaw wrote:
> Hallo!
> 
> Aufgrund dummer Ereignisse (...) muß ich einen Kernel dazu bringen, im
> Endeffekt jeden Befehl inkl. Argumente via Syslog zu protokollieren. Das an
> sich ist auch nicht weiter schwierig, ein 2zeiler in o.g. Datei. Ich hätte
> aber auch gerne UID und GID. Wo bekomm' ich die her?

current->uid
current->gid
current->egid
current->euid

Flo
-- 
Florian Lohoff		flo at rfc822.org		      	+49-5241-470566
Good, Fast, Cheap: Pick any two (you can't have all three).  (RFC 1925)



More information about the Linux mailing list