lkml.org 
[lkml]   [2002]   [Apr]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Process Accounting 32bit UID/GID support
Mike:

Are you sure you want to do this:

- char ac_pad[10]; /* Accounting Padding Bytes */
+ __u32 ac_uid32; /* Accounting Real 32bit User ID */
+ __u32 ac_gid32; /* Accounting Real 32bit Group ID */
+ char ac_pad[2]; /* Accounting Padding Bytes */



This changes the size of the accounting structure because the new fields
are padded to 4 byte alignment.

Support for process accounting was part of my original patches for 32 bit
UIDs, but it never got picked up. I think that at the time there was an
expectation that accounting was going to be replaced entirely with new
code (SGI accounting stuff?)


Here's an updated version of my patch:

http://www.engin.umich.edu/caen/systems/Linux/code/misc/acct/linux-2.4.17-acct-uid32.patch


Thanks,

Chris Wing
wingc@engin.umich.edu

-
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 13:25    [W:0.597 / U:0.048 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site