Re: [PATCH] Process Accounting 32bit UID/GID support

From: Christopher Allen Wing (wingc@engin.umich.edu)
Date: Thu Apr 04 2002 - 10:17:06 EST


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/



This archive was generated by hypermail 2b29 : Sun Apr 07 2002 - 22:00:14 EST