[PATCH] enable /proc/$$/loginuid

Stephen Smalley sds at epoch.ncsc.mil
Fri Jan 14 21:04:17 UTC 2005


On Fri, 2005-01-14 at 16:05, Serge E. Hallyn wrote:
> I can manually print out "-1" if that would be nicer for processing,
> but I really didn't want to print out ~0.  Or am I really worrying
> about nothing?

I think the latter ;)  If setreuid() and friends are already assuming
that -1 aka ~0 is never a legitimate uid, why can't you?

> I can take that out...  The /proc/$$/ files aren't consistent on how
> to handle that.

It seems cleaner to omit it, IMHO.

-- 
Stephen Smalley <sds at epoch.ncsc.mil>
National Security Agency




More information about the Linux-audit mailing list