[RFC][PATCH] Inherit loginuid from parent

David Howells dhowells at redhat.com
Fri Jan 7 15:43:08 UTC 2005


Stephen Smalley <sds at epoch.ncsc.mil> wrote:

> On Fri, 2005-01-07 at 06:29, David Woodhouse wrote:
> > But -1 isn't a fictional UID. There is no number within the uid_t space
> > which is reserved for your purposes to mean 'no user specified'.
> 
> Are we limited to the uid_t space?  I know that the current code uses
> uid_t for loginuid, and it has to be at least as large as uid_t, but
> nothing says that every loginuid has to be useable as an ordinary uid;
> the loginuid is only for use by the audit subsystem.

With reference to my key management system keys, the amount of data they can
hold is more or less arbitrary. For example, the user-defined key type just
holds a string of bytes of up to the user's quota in length.

David




More information about the Linux-audit mailing list