--279707962-865861748-1017847275=:21723
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Content-ID: <Pine.LNX.4.44.0204031734041.21723@devserv.devel.redhat.com>
(Apologies to anyone getting this as a dupe, my first mail
bounced)
After receiving a handful of bug reports about process accounting
not working properly with 32bit UID/GID's, and investigating the
problem, I discovered the reason was that it just was not
implemented yet. After briefly discussing this with Alan and
Arjan, I've created support for this feature, while maintaining
full binary backward compatibility with existing tools.
I've also hacked the userland acct package (psacct in Red Hat
Linux) to support the new feature as well, while also remaining
backward compatible with kernels that do not have the new 32bit
UID/GID patch.
Marcelo, could you add this to the 2.4.x queue?
TIA
-- Mike A. Harris Shipping/mailing address: OS Systems Engineer 190 Pittsburgh Ave., Sault Ste. Marie, XFree86 maintainer Ontario, Canada, P6C 5B3 Red Hat Inc. http://www.redhat.com ftp://people.redhat.com/mharris--279707962-865861748-1017847275=:21723 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; NAME="kernel-2.4.18-acct-32bit-uid-gid.patch" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.LNX.4.44.0204031021150.21723@devserv.devel.redhat.com> Content-Description: Content-Disposition: ATTACHMENT; FILENAME="kernel-2.4.18-acct-32bit-uid-gid.patch"
LS0tIC4va2VybmVsL2FjY3QuYy5wc2FjY3QtMzJiaXQtdWlkLWdpZAlNb24g QXByICAxIDEyOjQzOjMzIDIwMDINCisrKyAuL2tlcm5lbC9hY2N0LmMJV2Vk IEFwciAgMyAxMDoxNzo0MyAyMDAyDQpAQCAtOCw2ICs4LDkgQEANCiAgKiAg U29tZSBjb2RlIGJhc2VkIG9uIGlkZWFzIGFuZCBjb2RlIGZyb206DQogICog IFRob21hcyBLLiBEeWFzIDx0ZHlhc0BlZGVuLnJ1dGdlcnMuZWR1Pg0KICAq DQorICogIEFwcmlsIDIsIDIwMDIgLSBNaWtlIEEuIEhhcnJpcyA8bWhhcnJp c0ByZWRoYXQuY29tPg0KKyAqICAtIGFkZGVkIDMyYml0IFVJRC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kWzJdOwkJLyogQWNjb3VudGlu ZyBQYWRkaW5nIEJ5dGVzICovDQogfTsNCiANCiAvKg0K --279707962-865861748-1017847275=:21723-- - 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/