]> git.neil.brown.name Git - history.git/commit
[PATCH] Fix BSD accounting cross-platform compatibility
authorTim Schmielau <tim@physik3.uni-rostock.de>
Mon, 2 Aug 2004 03:09:36 +0000 (20:09 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 2 Aug 2004 03:09:36 +0000 (20:09 -0700)
commit357fbac90d6c0755ce7fab16d64bf3c8f8077940
tree7c9174c939421ba51cc88028423ff991a8648414
parentf9d21ae77239647093e15c0239dd9c381cd090a8
[PATCH] Fix BSD accounting cross-platform compatibility

BSD accounting cross-platform compatibility is a new feature of 2.6.8 and
thus not crucial, but it'd be nice not to have kernels writing wrong file
formats out in the wild.

The endianness detection logic I wanted to suppose for userspace turned out
to be bogus.  So just do it the simple way and store endianness info
together with the version number.

Signed-off-by: Tim Schmielau <tim@physik3.uni-rostock.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/acct.h
kernel/acct.c