This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug libc/176] New: Process accounting do not handle uids > 64k
- From: "pere at hungry dot com" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 21 May 2004 19:20:41 -0000
- Subject: [Bug libc/176] New: Process accounting do not handle uids > 64k
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
I found this in the mailing list archive for bug-glibc. Checking
glibc CVS, the types in <sys/acct.h> is still u_int16_t and unable
to store uids above 64k. The types should be changed to 32-bit.
From: Arthur Corliss
Subject: acct.h bug
Newsgroups: gmane.comp.lib.glibc.bugs
Date: Sat, 06 Mar 2004 13:36:02 +0000
Greetings:
Not sure who to address this to, but I'd like to see if it would be possible
to get a patch submitted to change to field types in the BSD process account
struct in sys/acct.h. The problem lies in that both your file and the one
shipped with the Linux kernel do not allow proper accounting for high
UID/GIDs, a feature that's enabled by default on most platforms. I'd like to
get your struct to define ac_uid and ac_gid to uid_t and gid_t, respectively,
which should always accurately reflect what the kernel is using, itself.
I am currently trying to get the same changes accepted in the kernel source.
As it stands, high uid/gid accounting is broken in both the current Linux
kernel branch and your includes. Since most accounting tools use sys/acct.h
in preference to linux/acct.h, fixing only one will not fix the problem.
If such a change is possible, or if I need to pursue this through other
channels, I'd greatly appreciate your feedback. Thank you.
--Arthur Corliss
Bolverk's Lair -- http://arthur.corlissfamily.org/
Digital Mages -- http://www.digitalmages.com/
"Live Free or Die, the Only Way to Live" -- NH State Motto
--
Summary: Process accounting do not handle uids > 64k
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: gotom at debian dot or dot jp
ReportedBy: pere at hungry dot com
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=176
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.