Messages in this thread | | | Date | Thu, 4 Mar 2004 08:19:04 -0900 (AKST) | From | Arthur Corliss <> | Subject | BSD 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/
| |