Re: Linus: [PATCH] (for 2.3.99pre6) audit_ids system calls

From: Eric W. Biederman (ebiederm+eric@ccr.net)
Date: Tue May 02 2000 - 10:47:25 EST


Linda Walsh <law@sgi.com> writes:

> This patch implements the following:
> 2 system calls
> int setaudit_id(uid_t);
> if (!capable(CAP_AUDIT_CONTROL) (a posix capability))
> errno=EPERM, returns -1;
> if == -1, generate a new sess_id (64 bit value) and set
> process's
>
> sess_id
> else set 'luid' for the process
> returns 0 on success;
> long long getaudit_id(id);
> id == 1 - return process's luid
> id == 2 - return process's sess_id
> else return -1 and errno=EINVAL;
>
What bug does adding two new system calls fix?
Aren't we in a deep feature freeze at the moment.

It isn't even terribly obvious what they are for.
The luid I think I have heard of the sess_id I haven't....
What bug does adding these fix?

Eric

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:10 EST