linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: [PATCH] catchup with recent klibc
Date: Fri, 21 May 2004 02:27:03 +0000	[thread overview]
Message-ID: <20040521022703.GA3389@vrfy.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 121 bytes --]

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

thanks,
Kay

[-- Attachment #2: 01-sysinfo-klibc.patch --]
[-- Type: text/plain, Size: 1443 bytes --]

===== klibc_fixups.c 1.9 vs edited =====
--- 1.9/klibc_fixups.c	Sun Mar 28 01:55:06 2004
+++ edited/klibc_fixups.c	Fri May 21 04:12:37 2004
@@ -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 =====
--- 1.7/klibc_fixups.h	Sun Mar 28 03:05:19 2004
+++ edited/klibc_fixups.h	Fri May 21 04:17:58 2004
@@ -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 =====
--- 1.140/namedev.c	Sat Apr 17 05:23:25 2004
+++ edited/namedev.c	Fri May 21 04:13:15 2004
@@ -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 =====
--- 1.31/udevd.c	Thu Apr 15 06:30:15 2004
+++ edited/udevd.c	Fri May 21 04:13:45 2004
@@ -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"

             reply	other threads:[~2004-05-21  2:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-21  2:27 Kay Sievers [this message]
2004-05-28 16:48 ` [PATCH] catchup with recent klibc Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040521022703.GA3389@vrfy.org \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).