Skip to contentSkip to conversation

catchup with recent klibc

PATCH Applied Kay Sievers 2 participants 2 messages May 21, 2004 – May 28, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 catchup with recent klibc

Our own implementation of the sysinfo system call is no longer needed, cause it's merged it into klibc now.

thanks,
Kay

===== klibc_fixups.c 1.9 vs edited =====

klibc_fixups.c +0 -2
@@ -37,8 +37,6 @@
 #define GR_FILE		"/etc/group"
 #define UTMP_FILE	"/var/run/utmp"
 
-_syscall1(int, sysinfo, struct sysinfo *, info);
-
 /* return the id of a passwd style line, selected by the users name */
 static unsigned long get_id_by_name(const char *uname, const char *dbfile)
 {

===== klibc_fixups.h 1.7 vs edited =====

klibc_fixups.h +0 -5
@@ -3,11 +3,6 @@
 #ifndef KLIBC_FIXUPS_H
 #define KLIBC_FIXUPS_H
 
-#include <linux/kernel.h>
-#include <linux/unistd.h>
-
-int sysinfo(struct sysinfo *info);
-
 struct passwd {
 	char	*pw_name;	/* user name */
 	char	*pw_passwd;	/* user password */

===== namedev.c 1.140 vs edited =====

namedev.c +0 -2
@@ -32,9 +32,7 @@
 #include <time.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
-#ifndef __KLIBC__
 #include <sys/sysinfo.h>
-#endif
 
 #include "libsysfs/sysfs/libsysfs.h"
 #include "list.h"

===== udevd.c 1.31 vs edited =====

udevd.c +0 -2
@@ -34,9 +34,7 @@
 #include <sys/un.h>
 #include <fcntl.h>
 #include "klibc_fixups.h"
-#ifndef __KLIBC__
 #include <sys/sysinfo.h>
-#endif
 
 #include "list.h"
 #include "udev.h"
Applied
#1 lore raw
Quoted 2 lines · Kay Sievers

Our own implementation of the sysinfo system call is no longer needed, cause it's merged it into klibc now.

Applied, thanks.

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id�66&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel