mirror of
				https://sourceware.org/git/glibc.git
				synced 2025-11-03 20:53:13 +03:00 
			
		
		
		
	This patch consolidates the setsockopt implementation on
sysdeps/unix/sysv/linux/getsockopt.c.  The changes are:
  1. Remove it from auto-generation syscalls.list on all architectures.
  2. Add __ASSUME_SETSOCKOPT_SYSCALL as default and undef if for
     specific kernel versions on some architectures.
This also fix a potential issue where 32-bit time_t ABI should use the
linux setsockopt which overrides the underlying SO_* constants used for
socket timestamping for _TIME_BITS=64.
Checked on x86_64-linux-gnu and i686-linux-gnu.
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			737 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			737 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
# File name	Caller	Syscall name	Args	Strong name	Weak names
 | 
						|
 | 
						|
#
 | 
						|
# Calls for compatibility with existing MIPS OS implementations and
 | 
						|
# compilers.
 | 
						|
#
 | 
						|
cachectl	-	cachectl	i:pii	__cachectl	cachectl
 | 
						|
cacheflush	-	cacheflush	i:pii	_flush_cache	cacheflush
 | 
						|
sysmips		-	sysmips		i:iiii	__sysmips	sysmips
 | 
						|
 | 
						|
#
 | 
						|
# Socket functions; Linux/MIPS doesn't use the socketcall(2) wrapper;
 | 
						|
# it's provided for compatibility, though.
 | 
						|
#
 | 
						|
bind		-	bind		i:ipi	__bind		bind
 | 
						|
getpeername	-	getpeername	i:ipp	__getpeername	getpeername
 | 
						|
getsockname	-	getsockname	i:ipp	__getsockname	getsockname
 | 
						|
listen		-	listen		i:ii	__listen	listen
 | 
						|
shutdown	-	shutdown	i:ii	__shutdown	shutdown
 | 
						|
socket		-	socket		i:iii	__socket	socket
 | 
						|
socketpair	-	socketpair	i:iiif	__socketpair	socketpair
 |