public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/176] New: Process accounting do not handle uids > 64k
@ 2004-05-21 19:20 pere at hungry dot com
  2004-05-21 19:40 ` [Bug libc/176] " roland at gnu dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: pere at hungry dot com @ 2004-05-21 19:20 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/176] Process accounting do not handle uids > 64k
  2004-05-21 19:20 [Bug libc/176] New: Process accounting do not handle uids > 64k pere at hungry dot com
@ 2004-05-21 19:40 ` roland at gnu dot org
  2004-06-18  8:15 ` pere at hungry dot com
  2004-08-09  7:46 ` drepper at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: roland at gnu dot org @ 2004-05-21 19:40 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From roland at gnu dot org  2004-05-21 19:40 -------
This data structure is not used by libc, just exported in the <sys/attr.h> header.
The format is dictated by the Linux kernel, and you will have to get it changed
first.  When it changes, we can update libc's definition of the struct to match.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |SUSPENDED


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/176] Process accounting do not handle uids > 64k
  2004-05-21 19:20 [Bug libc/176] New: Process accounting do not handle uids > 64k pere at hungry dot com
  2004-05-21 19:40 ` [Bug libc/176] " roland at gnu dot org
@ 2004-06-18  8:15 ` pere at hungry dot com
  2004-08-09  7:46 ` drepper at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pere at hungry dot com @ 2004-06-18  8:15 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From pere at hungry dot com  2004-06-18 08:15 -------
There is now an effort going on to improve the kernel accounting
implementation.  See <URL: http://www.kerneltraffic.org/kernel-traffic/latest.html#18 >
and <URL: http://elsa.sourceforge.net/ > for more info.


-- 


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug libc/176] Process accounting do not handle uids > 64k
  2004-05-21 19:20 [Bug libc/176] New: Process accounting do not handle uids > 64k pere at hungry dot com
  2004-05-21 19:40 ` [Bug libc/176] " roland at gnu dot org
  2004-06-18  8:15 ` pere at hungry dot com
@ 2004-08-09  7:46 ` drepper at redhat dot com
  2 siblings, 0 replies; 4+ messages in thread
From: drepper at redhat dot com @ 2004-08-09  7:46 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2004-08-09 07:46 -------
This is no glibc issue.  Work with the kernel people.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |RESOLVED
         Resolution|                            |INVALID


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.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-08-09  7:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-21 19:20 [Bug libc/176] New: Process accounting do not handle uids > 64k pere at hungry dot com
2004-05-21 19:40 ` [Bug libc/176] " roland at gnu dot org
2004-06-18  8:15 ` pere at hungry dot com
2004-08-09  7:46 ` drepper at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).