mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Arthur Corliss <corliss@digitalmages.com>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: BSD process accounting with high uids
Date: Thu, 4 Mar 2004 08:19:04 -0900 (AKST)	[thread overview]
Message-ID: <Pine.LNX.4.58.0403040808550.17819@bifrost.nevaeh-linux.org> (raw)

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

                 reply	other threads:[~2004-03-04 17:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.58.0403040808550.17819@bifrost.nevaeh-linux.org \
    --to=corliss@digitalmages.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®