lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 13 Nov 2012 11:41:34 +0000
From:	James Hogan <james.hogan@...tec.com>
To:	Arnd Bergmann <arnd@...db.de>,
	Vineet Gupta <Vineet.Gupta1@...opsys.com>
CC:	<linux-arch@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
	<tglx@...utronix.de>
Subject: Re: [RFC PATCH v1 14/31] ARC: syscall support

On 09/11/12 09:50, James Hogan wrote:
> On 07/11/12 14:21, Arnd Bergmann wrote:
>> 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.

> FYI, we'll soon be making some uClibc patches available so that it can
> work without these deprecated syscalls and with the newer IPC interface
> (the work was needed for metag too). It's based roughly on the OpenRisc
> patches from last year, but with a fair few changes.

Hi Vineet,

The uClibc patches I mentioned have been posted, see here:

http://lists.busybox.net/pipermail/uclibc/2012-November/047110.html

Please do try them out and provide any feedback.

Cheers
James

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ