public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH] devfsd, compiling on glibc22x
@ 2001-01-28 15:56 Douglas Gilbert
  0 siblings, 0 replies; 9+ messages in thread
From: Douglas Gilbert @ 2001-01-28 15:56 UTC (permalink / raw)
  To: linux-kernel

While on the subject of devfs:
  - it doesn't seem to have any entries for raw devices:
    /dev/rawctl, /dev/raw/raw1, etc
  - when I upgraded to glibc 2.2 (via a rpm) in RH 7.0
    this line in /etc/devfsd.conf caused devfsd to 
    seg fault:
    "LOOKUP      ^cdrom$      CFUNCTION      GLOBAL     
         symlink ${mntpnt}/cdroms/cdrom0 $devpath"
    Rebuilding devfsd didn't help.

Doug Gilbert
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH] devfsd, compiling on glibc22x
@ 2001-01-28  2:28 David Ford
  2001-01-28  6:53 ` Pierre Rousselet
  0 siblings, 1 reply; 9+ messages in thread
From: David Ford @ 2001-01-28  2:28 UTC (permalink / raw)
  To: devfs, rgooch; +Cc: LKML

This patch is simple, defines RTLD_NEXT if not previously defined.

--- devfsd.c.orig       Sat Jan 27 18:14:19 2001
+++ devfsd.c    Sat Jan 27 18:15:46 2001
@@ -165,6 +165,7 @@
     Last updated by Richard Gooch   3-JUL-2000: Added "-C
/etc/modules.devfs"
   when calling modprobe(8). Fail if a configuration line has EXECUTE
modprobe.

+    Updated by      David Ford      27-JAN-2001: Added RTLD_NEXT define


 */
 #include <unistd.h>
@@ -221,6 +222,10 @@
 #define AC_MKNEWCOMPAT              8
 #define AC_RMOLDCOMPAT              9
 #define AC_RMNEWCOMPAT              10
+
+#ifndef RTLD_NEXT
+# define RTLD_NEXT     ((void *) -1l)
+#endif

 struct permissions_type
 {


--
  There is a natural aristocracy among men. The grounds of this are virtue and talents. Thomas Jefferson
  The good thing about standards is that there are so many to choose from. Andrew S. Tanenbaum



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-02-05  7:01 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-01-28 15:56 [PATCH] devfsd, compiling on glibc22x Douglas Gilbert
  -- strict thread matches above, loose matches on Subject: below --
2001-01-28  2:28 David Ford
2001-01-28  6:53 ` Pierre Rousselet
2001-01-28  7:27   ` Ulrich Drepper
2001-01-28 10:09     ` David Ford
2001-01-29  2:19     ` Albert D. Cahalan
2001-02-05  6:31     ` Richard Gooch
2001-02-05  6:51       ` Ulrich Drepper
2001-02-05  7:01         ` Richard Gooch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox