Re: [PATCH] compat: add compat functions for *at syscalls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Stephen Rothwell <[email protected]>
Date: Tue, 7 Feb 2006 10:56:31 +1100

> This adds compat version of all the remaining *at syscalls
> so that the "dfd" arguments can be properly sign extended.
> 
> Signed-off-by: Stephen Rothwell <[email protected]>

I do the sign extension with tiny stubs in arch/sparc64/kernel/sys32.S
so that the arg frobbing does not consume a stack frame, which is what
happens if you do this in C code.

We need to revisit this at some point and make a way for all
compat platforms to do this with a portable table of some kind
that expands a bunch of macros defined by the platform.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux