mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* BSD process accounting with high uids
@ 2004-03-04 17:19 Arthur Corliss
  0 siblings, 0 replies; only message in thread
From: Arthur Corliss @ 2004-03-04 17:19 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Greetings:

Looking at the archives I see that this has been brought up in the past a few
times, but no one ever replied or resolved the issue (unless I missed
something).

Problem:  UIDs recorded are typed smaller than the 2.4+ default uid_t size.

Solution:  A two line patch in include/linux/acct.h which casts ac_uid &
ac_gid as uid_t/gid_t instead of __u16.

Now, I have to ask, why hasn't this been done already?  If I submit a patch,
will anyone consider actually applying this?  Or will I have to continue to
munge that file myself (and glibc's sys/acct.h) in order to get my tools to
work they're supposed to?

The sources for kernel 2.6.3 also still list uid/gid fields as __u16, BTW.

	--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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-04 17:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-04 17:19 BSD process accounting with high uids Arthur Corliss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®