[PATCH v2 12/16] Use shmat syscall for Linux implementation

Arnd Bergmann arnd@arndb.de
Mon Nov 7 11:02:00 GMT 2016


On Wednesday, November 2, 2016 5:26:49 PM CET Adhemerval Zanella wrote:
> @@ -31,17 +28,19 @@
>  void *
>  shmat (int shmid, const void *shmaddr, int shmflg)
>  {
> +#ifdef __ASSUME_SYSVIPC_SYSCALL
> +  return INLINE_SYSCALL_CALL (shmat, shmid, shmaddr, shmflg);
> +#else
>    INTERNAL_SYSCALL_DECL(err);
>    unsigned long resultvar;
>    void *raddr;
> 

I looked at the cross-reference for system call tables and found
that alpha does not define __NR_shmat but instead has __NR_osf_shmat

Will that get handled correctly by your code?

	Arnd



More information about the Libc-alpha mailing list