This is the mail archive of the libc-alpha@sources.redhat.com 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]

[alpha] missing semtimedop


Should I bother with the typing, or just add the one syscall?


r~



	* sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): New.
	Annotate some parameters.
	* sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_semtimedop): New.

Index: sysdeps/unix/sysv/linux/alpha/syscalls.list
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/alpha/syscalls.list,v
retrieving revision 1.55
diff -c -p -d -r1.55 syscalls.list
*** sysdeps/unix/sysv/linux/alpha/syscalls.list	5 Feb 2003 23:29:25 -0000	1.55
--- sysdeps/unix/sysv/linux/alpha/syscalls.list	6 Jun 2003 00:59:39 -0000
***************
*** 1,30 ****
  # File name	Caller	Syscall name	# args	Strong name	Weak names
  
! oldmsgctl	EXTRA	msgctl		3	__old_msgctl	msgctl@GLIBC_2.0
! msgget		-	msgget		2	__msgget	msgget
! msgrcv		-	msgrcv		C:5	__msgrcv	msgrcv
! msgsnd		-	msgsnd		C:4	__msgsnd	msgsnd
! shmat		-	osf_shmat	3	__shmat		shmat
! oldshmctl	EXTRA	shmctl		3	__old_shmctl	shmctl@GLIBC_2.0
! shmdt		-	shmdt		1	__shmdt		shmdt
! shmget		-	shmget		3	__shmget	shmget
! semop		-	semop		3	__semop		semop
! semget		-	semget		3	__semget	semget
! oldsemctl	EXTRA	semctl		4	__old_semctl	semctl@GLIBC_2.0
  
  osf_sigprocmask	-	osf_sigprocmask	2	__osf_sigprocmask
  sigstack	-	sigstack	2	sigstack
  vfork		-	vfork		0	__vfork		vfork
  
! getpeername	-	getpeername	3	__getpeername	getpeername
! getpriority	-	getpriority	2	__getpriority	getpriority
! mmap		-	mmap		6	__mmap		mmap __mmap64 mmap64
! llseek		EXTRA	lseek		C:3	__libc_lseek64	__llseek llseek __lseek64 lseek64
  posix_fadvise64	-	fadvise64	4	posix_fadvise64	posix_fadvise
  pread		-	pread		C:4	__libc_pread	__libc_pread64 __pread pread __pread64 pread64
  pwrite		-	pwrite		C:4	__libc_pwrite	__libc_pwrite64 __pwrite pwrite __pwrite64 pwrite64
! fstatfs		-	fstatfs		2	__fstatfs	fstatfs __fstatfs64 fstatfs64
! statfs		-	statfs		2	__statfs	statfs statfs64
  getrlimit	-	getrlimit	2	__getrlimit	getrlimit getrlimit64
  setrlimit	-	setrlimit	2	__setrlimit	setrlimit64 setrlimit
  ftruncate	-	ftruncate	2	__ftruncate	ftruncate __ftruncate64 ftruncate64
--- 1,32 ----
  # File name	Caller	Syscall name	# args	Strong name	Weak names
  
! oldmsgctl	EXTRA	msgctl		i:iip	__old_msgctl	msgctl@GLIBC_2.0
! msgget		-	msgget		i:ii	__msgget	msgget
! msgrcv		-	msgrcv		Ci:ibnii __msgrcv	msgrcv
! msgsnd		-	msgsnd		Ci:ibni	__msgsnd	msgsnd
! shmat		-	osf_shmat	i:ipi	__shmat		shmat
! oldshmctl	EXTRA	shmctl		i:iip	__old_shmctl	shmctl@GLIBC_2.0
! shmdt		-	shmdt		i:s	__shmdt		shmdt
! shmget		-	shmget		i:iii	__shmget	shmget
! semop		-	semop		i:ipi	__semop		semop
! semtimedop	-	semtimedop	i:ipip	semtimedop
! semget		-	semget		i:iii	__semget	semget
! oldsemctl	EXTRA	semctl		i:iiii	__old_semctl	semctl@GLIBC_2.0
  
  osf_sigprocmask	-	osf_sigprocmask	2	__osf_sigprocmask
  sigstack	-	sigstack	2	sigstack
  vfork		-	vfork		0	__vfork		vfork
  
! getpeername	-	getpeername	i:ipp	__getpeername	getpeername
! getpriority	-	getpriority	i:ii	__getpriority	getpriority
! mmap		-	mmap		b:aniiii __mmap		mmap __mmap64 mmap64
! llseek		EXTRA	lseek		C:3	__libc_lseek	__lseek lseek __libc_lseek64 __llseek llseek __lseek64 lseek64
! lseek		llseek	-
  posix_fadvise64	-	fadvise64	4	posix_fadvise64	posix_fadvise
  pread		-	pread		C:4	__libc_pread	__libc_pread64 __pread pread __pread64 pread64
  pwrite		-	pwrite		C:4	__libc_pwrite	__libc_pwrite64 __pwrite pwrite __pwrite64 pwrite64
! fstatfs		-	fstatfs		i:ip	__fstatfs	fstatfs __fstatfs64 fstatfs64
! statfs		-	statfs		i:sp	__statfs	statfs statfs64
  getrlimit	-	getrlimit	2	__getrlimit	getrlimit getrlimit64
  setrlimit	-	setrlimit	2	__setrlimit	setrlimit64 setrlimit
  ftruncate	-	ftruncate	2	__ftruncate	ftruncate __ftruncate64 ftruncate64
*************** readahead	-	readahead	3	__readahead	read
*** 33,60 ****
  sendfile	-	sendfile	i:iipi	sendfile	sendfile64
  
  # these are actually common with the x86:
! sys_ustat	ustat	ustat		2	__syscall_ustat
! sys_mknod	xmknod	mknod		3	__syscall_mknod
  
  # proper socket implementations:
! accept		-	accept		C:3	__libc_accept	__accept accept
! bind		-	bind		3	__bind		bind
! connect		-	connect		C:3	__libc_connect	__connect_internal __connect connect
! getpeername	-	getpeername	3	__getpeername	getpeername
! getsockname	-	getsockname	3	__getsockname	getsockname
! getsockopt	-	getsockopt	5	__getsockopt	getsockopt
! listen		-	listen		2	__listen	listen
! recv		-	recv		C:4	__libc_recv	__recv recv
! recvfrom	-	recvfrom	C:6	__libc_recvfrom	__recvfrom recvfrom
! recvmsg		-	recvmsg		C:3	__libc_recvmsg	__recvmsg recvmsg
  ptrace		-	ptrace		4	__ptrace	ptrace
- send		-	send		C:4	__libc_send	__send send
- sendmsg		-	sendmsg		C:3	__libc_sendmsg	__sendmsg sendmsg
- sendto		-	sendto		C:6	__libc_sendto	__sendto sendto
- setsockopt	-	setsockopt	5	__setsockopt	setsockopt
- shutdown	-	shutdown	2	__shutdown	shutdown
- socket		-	socket		3	__socket	socket
- socketpair	-	socketpair	4	__socketpair	socketpair
  
  # access pci space protected from machine checks:
  pciconfig_read	EXTRA	pciconfig_read	5	pciconfig_read
--- 35,63 ----
  sendfile	-	sendfile	i:iipi	sendfile	sendfile64
  
  # these are actually common with the x86:
! sys_ustat	ustat	ustat		i:ip	__syscall_ustat
! sys_mknod	xmknod	mknod		i:sii	__syscall_mknod
  
  # proper socket implementations:
! accept		-	accept		Ci:iBN	__libc_accept	__accept accept
! bind		-	bind		i:ipi	__bind		bind
! connect		-	connect		Ci:ipi	__libc_connect	__connect_internal __connect connect
! getpeername	-	getpeername	i:ipp	__getpeername	getpeername
! getsockname	-	getsockname	i:ipp	__getsockname	getsockname
! getsockopt	-	getsockopt	i:iiiBN	__getsockopt	getsockopt
! listen		-	listen		i:ii	__listen	listen
! recv		-	recv		Ci:ibni	__libc_recv	__recv recv
! recvfrom	-	recvfrom	Ci:ibniBN	__libc_recvfrom	__recvfrom recvfrom
! recvmsg		-	recvmsg		Ci:ipi	__libc_recvmsg	__recvmsg recvmsg
! send		-	send		Ci:ibni	__libc_send	__send send
! sendmsg		-	sendmsg		Ci:ipi	__libc_sendmsg	__sendmsg sendmsg
! sendto		-	sendto		Ci:ibnibn	__libc_sendto	__sendto sendto
! setsockopt	-	setsockopt	i:iiibn	__setsockopt	setsockopt
! shutdown	-	shutdown	i:ii	__shutdown	shutdown
! socket		-	socket		i:iii	__socket	socket
! socketpair	-	socketpair	i:iiif	__socketpair	socketpair
! 
  ptrace		-	ptrace		4	__ptrace	ptrace
  
  # access pci space protected from machine checks:
  pciconfig_read	EXTRA	pciconfig_read	5	pciconfig_read
Index: sysdeps/unix/sysv/linux/alpha/sysdep.h
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/alpha/sysdep.h,v
retrieving revision 1.14
diff -c -p -d -r1.14 sysdep.h
*** sysdeps/unix/sysv/linux/alpha/sysdep.h	22 Jan 2003 02:07:54 -0000	1.14
--- sysdeps/unix/sysv/linux/alpha/sysdep.h	6 Jun 2003 00:59:39 -0000
***************
*** 60,65 ****
--- 60,70 ----
  #define __NR_osf_getsysinfo	256
  #define __NR_osf_setsysinfo	257
  
+ /* Help old kernel headers where particular syscalls are not available.  */
+ #ifndef __NR_semtimedop
+ # define __NR_semtimedop	423
+ #endif
+ 
  /*
   * In order to get the hidden arguments for rt_sigaction set up
   * properly, we need to call the assembly version.  Detect this in the


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