Re: [RFC PATCH v1 14/31] ARC: syscall support

From: Arnd Bergmann
Date: Wed Nov 07 2012 - 09:21:34 EST


On Wednesday 07 November 2012, Vineet Gupta wrote:
> + * Being uClibc based we need some of the deprecated syscalls:
> + * -Not emulated by uClibc at all
> + * unlink, mkdir,... (needed by Busybox, LTP etc)
> + * times (needed by LTP pan test harness)
> + * -Not emulated efficiently
> + * select: emulated using pselect (but extra code to chk usec > 1sec)
> + *
> + * some (send/recv) correctly emulated using (recfrom/sendto) and
> + * some arch specific ones (fork/vfork)can easily be emulated using clone but
> + * thats the price of using common-denominator....
> + */
> +#define __ARCH_WANT_SYSCALL_NO_AT
> +#define __ARCH_WANT_SYSCALL_NO_FLAGS
> +#define __ARCH_WANT_SYSCALL_OFF_T
> +#define __ARCH_WANT_SYSCALL_DEPRECATED

I'm pretty sure that this has been solved before, best get in contact with
the maintainers of the openrisc/c6x/hexagon platforms, that probably all
use uClibc without needing these.

You have to remove the legacy calls here.

Arnd
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/