Hi Andreas,
On Sat, 29 Apr 2006 15:46:11 +0200 Andreas Schwab [off-list ref] wrote:
Stephen Rothwell [off-list ref] writes:
quoted
Has any testing been done on these interfaces that involves 32 bit
processes passing AT_FDCWD on 64 bit kernels (I realise that it will work
for some architectures but I suspect not ppc64).
Appears to work fine for me (tested with openat).
Try mkdirat. openat has a compat wrapper that has the dfd paramater
declared as a unsigned int and passes it to sys_openat, whose first
paramter is decalred to be int, so the sign extension gets done.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/