[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#249930: syscall.h: SYS_getpid, SYS_getuid, SYS_getgid not defined



On Wed, May 19, 2004 at 10:41:49PM +0100, Alastair McKinstry wrote:
> Package: libc6.1-dev
> Version: 2.3.2.ds1-12
> Severity: normal
> 
> 
> On alpha, lib6.1-dev fails to define
> SYS_getpid, SYS_getuid, SYS_getgid.
> 
> Not many programs use these, but the Linux Test Project uses them
> in syscall tests, and hence fails to build (#ifdef added to 
> get latest version 20040506-2 to build).
> 
> <bits/syscall.h> is constructed from <asm/unistd.h> 
> which lacks the defines for __NR_getpid, __NR_getuid, __NR_getgid.

And what do you expect them to be defined to?  Alpha does not have
these syscalls (it appears to have getx versions instead).

-- 
Daniel Jacobowitz



Reply to: