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]
Message-ID: <CACM3HyE=vHtr7Y-9k7PWvxmGt+O1bJyxs18CEmtzMdq9zOtfqw@mail.gmail.com>
Date:	Wed, 17 Aug 2011 22:12:20 +0200
From:	Jonas Bonn <jonas.bonn@...il.com>
To:	Richard Kuo <rkuo@...eaurora.org>
Cc:	linux-kernel@...r.kernel.org, linux-hexagon@...r.kernel.org
Subject: Re: [patch 05/36] Hexagon: Add syscalls

> +
> +#define __ARCH_WANT_SYSCALL_DEPRECATED
> +
> +#ifndef __GLIBC__
> +/* It seems these are all needed for uClibc...
> + * However, if glibc is compiled w/ these turned on, then it will
> + * will fail (typically with 32/64-bit compat problems). */
> +#define __ARCH_WANT_SYSCALL_OFF_T
> +#define __ARCH_WANT_SYSCALL_NO_AT
> +#define __ARCH_WANT_SYSCALL_NO_FLAGS
> +#endif
> +

These are no longer appropriate for the mainline kernel.  These
definitions are mainly intended to be used during a transitional
period until the necessary changes can be made in the required C
library.

The recommendation is to just carry these defines as an external patch
while the necessary changes are made in uClibc.  I've just about got
the necessary changes done and will send them to the uClibc mailing
list shortly, so hopefully the need for these defines will go away
really soon now.


> +asmlinkage int sys_fork(void)
> +{
> +       struct pt_regs *pregs = current_thread_info()->regs;
> +
> +       return do_fork(SIGCHLD, pregs->SP, pregs, 0, NULL, NULL);
> +}
> +
> +asmlinkage int sys_vfork(void)
> +{
> +       struct pt_regs *pregs = current_thread_info()->regs;
> +
> +       return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD,
> +                      pregs->SP, pregs, 0, NULL, NULL);
> +}

These two are deprecated.

/Jonas
--
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