[Glibc-bsd-commits] r2736 - in trunk/glibc-ports: . kfreebsd

Aurelien Jarno aurel32 at alioth.debian.org
Sat Aug 22 17:37:54 UTC 2009


Author: aurel32
Date: 2009-08-22 17:37:54 +0000 (Sat, 22 Aug 2009)
New Revision: 2736

Modified:
   trunk/glibc-ports/glibc-sysdeps-2.10.patch
   trunk/glibc-ports/kfreebsd/Makefile
   trunk/glibc-ports/kfreebsd/syscalls.list
Log:
Provide the kenv syscall, it will be need to provide /bin/kenv, which in turns will be need for d-i to read parameters passed by grub.



Modified: trunk/glibc-ports/glibc-sysdeps-2.10.patch
===================================================================
--- trunk/glibc-ports/glibc-sysdeps-2.10.patch	2009-08-22 17:34:15 UTC (rev 2735)
+++ trunk/glibc-ports/glibc-sysdeps-2.10.patch	2009-08-22 17:37:54 UTC (rev 2736)
@@ -407,13 +407,14 @@
     privileges. */
 --- a/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/Versions
 --- b/ports/sysdeps/unix/bsd/bsd4.4/kfreebsd/Versions
-@@ -81,6 +81,11 @@
+@@ -81,6 +81,12 @@
      # functions used in inline functions or macros
      __libc_sa_len;
    }
 +  GLIBC_2.10 {
 +    devname;
 +    devname_r;
++    kenv;
 +    sysctlnametomib;
 +  }
    GLIBC_PRIVATE {

Modified: trunk/glibc-ports/kfreebsd/Makefile
===================================================================
--- trunk/glibc-ports/kfreebsd/Makefile	2009-08-22 17:34:15 UTC (rev 2735)
+++ trunk/glibc-ports/kfreebsd/Makefile	2009-08-22 17:37:54 UTC (rev 2736)
@@ -52,6 +52,8 @@
 endif
 
 ifeq ($(subdir),misc)
+# For <kenv.h>.
+sysdep_routines += kenv
 # For <sched.h>.
 sysdep_routines += clone start_thread
 # For <unistd.h>.

Modified: trunk/glibc-ports/kfreebsd/syscalls.list
===================================================================
--- trunk/glibc-ports/kfreebsd/syscalls.list	2009-08-22 17:34:15 UTC (rev 2735)
+++ trunk/glibc-ports/kfreebsd/syscalls.list	2009-08-22 17:37:54 UTC (rev 2736)
@@ -47,6 +47,7 @@
 getsid			-	getsid			i:i		getsid
 issetugid		-	issetugid		i:		issetugid
 jail			-	jail			i:p		jail
+kenv			-	kenv			i:issi		kenv
 kldfind			-	kldfind			i:s		kldfind
 kldfirstmod		-	kldfirstmod		i:i		kldfirstmod
 kldload			-	kldload			i:s		kldload




More information about the Glibc-bsd-commits mailing list