On Mon, 2006-09-04 at 12:38 -0700, Andrew Morton wrote: > I think we're working on removing the _syscall() things altogether. The > main problem is execve() and I have a series from Arnd queued up to fix > execve.
Yes, that's an eminently sensible plan. > I think that there are some remaining uses after execve, but I'm not sure > what they are. Arnd, do you recall? There was some SH64 debugging code which can be removed altogether, and some code in UML which can be fixed to use syscall(). Arnd's patch sequence did both. And then, of course, there's some of Andi's test code in userspace -- in which for some reason he doesn't _want_ to use glibc's syscall() function. That seems to be why he restored the broken _syscallX() functions to userspace visibility after we'd removed them once. Not entirely sure what we can do about that, except perhaps adding what Fedora had in linux/unistd.h for a long time -- versions of _syscallX() in #ifndef __KERNEL__ which do use glibc's syscall() function properly. That was my 'option 2', but it's not something that should really live in kernel headers, IMHO. > > What we have _now_, however, is entirely unacceptable. Please apply the > > following patch to fix it: > > whimper. that gives me a reject storm to fix up. Sorry :) You could drop the addition of comments after the #endifs, if that helps -- the only important part is moving the #ifdef __KERNEL__ up to the end of the syscall table. I suspect it doesn't help though -- the hunk which conflicts is almost certainly going to be the addition of the #ifdef at the end of the syscall table. -- dwmw2 - To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
