[Glibc-bsd-commits] r2972 - trunk/glibc-ports/patches

Aurelien Jarno aurel32 at alioth.debian.org
Sun Feb 7 16:55:51 UTC 2010


Author: aurel32
Date: 2010-02-07 16:55:48 +0000 (Sun, 07 Feb 2010)
New Revision: 2972

Added:
   trunk/glibc-ports/patches/syscalls_2.11.patch
Log:
Add chflags, fchflags, and lchflags to glibc 2.11



Added: trunk/glibc-ports/patches/syscalls_2.11.patch
===================================================================
--- trunk/glibc-ports/patches/syscalls_2.11.patch	                        (rev 0)
+++ trunk/glibc-ports/patches/syscalls_2.11.patch	2010-02-07 16:55:48 UTC (rev 2972)
@@ -0,0 +1,57 @@
+To be merged in the kfreebsd/ directory when 2.11 is the default
+
+Index: Makefile
+===================================================================
+--- Makefile	(révision 2971)
++++ Makefile	(copie de travail)
+@@ -36,7 +36,7 @@
+ # For <fcntl.h>.
+ sysdep_routines += sys_open sys_openat open_2
+ # For <sys/stat.h>.
+-sysdep_routines += sys_fchmodat sys_fstat sys_fstatat sys_lstat sys_mkdirat sys_mkfifoat sys_mknod sys_mknodat sys_nfstat sys_nlstat sys_nstat sys_stat
++sysdep_routines += sys_fchmodat sys_fstat sys_fstatat sys_lstat sys_mkdirat sys_mkfifoat sys_mknod sys_mknodat sys_nfstat sys_nlstat sys_nstat sys_stat chflags fchflags lchflags
+ # For <sys/statfs.h>.
+ sysdep_routines += fstatfs64 statfs64 sys_fstatfs sys_statfs
+ # For <stdio.h>
+Index: syscalls.list
+===================================================================
+--- syscalls.list	(révision 2971)
++++ syscalls.list	(copie de travail)
+@@ -15,6 +15,7 @@
+ sys_aio_suspend		-	aio_suspend		i:bnP		__syscall_aio_suspend
+ sys_aio_waitcomplete	-	aio_waitcomplete	i:pp		__syscall_aio_waitcomplete
+ sys_aio_write		-	aio_write		i:p		__syscall_aio_write
++chflags			-	chflags			i:si		chflags
+ sys_clock_getres	-	clock_getres		i:ip		__syscall_clock_getres
+ sys_clock_gettime	-	clock_gettime		i:ip		__syscall_clock_gettime
+ sys_clock_settime	-	clock_settime		i:ip		__syscall_clock_settime
+@@ -23,6 +24,7 @@
+ extattr_delete_file	-	extattr_delete_file	i:ss		extattr_delete_file
+ extattr_get_file	-	extattr_get_file	i:ssbn		extattr_get_file
+ extattr_set_file	-	extattr_set_file	i:ssbn		extattr_set_file
++fchflags		-	fchflags		i:ii		fchflags
+ fhopen			-	fhopen			i:pi		fhopen
+ sys_fork		-	fork			i:		__syscall_fork	fork
+ sys_fhstat		-	fhstat			i:pp		__syscall_fhstat
+@@ -57,6 +59,7 @@
+ kldunload		-	kldunload		i:i		kldunload
+ kldunloadf		-	kldunloadf		i:ii		kldunloadf
+ ktrace			-	ktrace			i:siii		ktrace
++lchflags		-	lchflags		i:si		lchflags
+ lchmod			-	lchmod			i:si		__lchmod lchmod
+ lchown			-	lchown			i:sii		__lchown lchown
+ sys_lio_listio		-	lio_listio		i:ibnP		__syscall_lio_listio
+Index: Versions
+===================================================================
+--- Versions	(révision 2971)
++++ Versions	(copie de travail)
+@@ -87,6 +87,9 @@
+     kenv;
+     sysctlnametomib;
+   }
++  GLIBC_2.11 {
++    chflags; fchflags; lchflags;
++  }
+   GLIBC_PRIVATE {
+     # needed by libpthread.
+     __clone; __libc_fork; __libc_sigaction;




More information about the Glibc-bsd-commits mailing list