2000-11-20 17:11:40

by Andreas Jaeger

[permalink] [raw]
Subject: struct acct uses 16bit uids :-(


Hi,

is anybody maintaining the BSD process accounting? It's currently
broken since it still uses 16 bit uids :-(

struct acct in <linux/acct.h> contains:
/*
* No binary format break with 2.0 - but when we hit 32bit uid we'll
* have to bite one
*/
__u16 ac_uid; /* Accounting Real User ID */
__u16 ac_gid; /* Accounting Real Group ID */


Andreas
--
Andreas Jaeger
SuSE Labs [email protected]
private [email protected]
http://www.suse.de/~aj


2000-11-20 18:53:44

by Christopher Allen Wing

[permalink] [raw]
Subject: Re: struct acct uses 16bit uids :-(

Andreas:

My changes for process accounting were not accepted along with the rest of
the 32-bit UID patches. The current state of things as I understand it is
that SGI is working on some "enhanced" accounting support for Linux, which
may end up replacing the current process accounting. (stuff like job
accounting and more resource usage statistics)

Of course, if Linux 2.4 were to include 32-bit UID fields in the current
accounting structure like this patch:

http://www.engin.umich.edu/caen/systems/Linux/code/misc/2.3/20000110/linux-acct.patch

we here at U-M would have no objection :)


Andreas Jaeger ([email protected]) wrote:

> Hi,
>
> is anybody maintaining the BSD process accounting? It's currently
> broken since it still uses 16 bit uids :-(