This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]