lkml.org 
[lkml]   [2004]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectBSD process accounting with high uids
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:01    [W:0.055 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site