Thread (3 messages) flat view 3 messages, 3 authors, 2010-03-30

Re: [PATCH -next] x86, fs: add sys_compat_write for net/socket.c

From: Arnd Bergmann <arnd@arndb.de>
Date: 2010-03-30 18:48:58
Also in: linux-fsdevel, lkml

On Tuesday 30 March 2010 20:17:57 Florian Westphal wrote:
Now, I realize that adding a write compat syscall is borderline
insanity, and I am open to suggestions.
Another option, which may be marginally better, would be to redefine
the data structures to be compatible, and assign them new numbers,
with kernel compat support for the numbers in x86-32 binaries.

If you manually add padding to the new data structures in the places
that the other architectures have implicit padding, the hack will only
be needed on x86-32 and compat x86-64.

The obvious disadvantage is that you need to recompile the x86-32
binaries to work in compat mode.

	Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help