chiark / gitweb /
elogind.git
14 years ago[PATCH] get rid of functions in klibc_fixups that are now in klibc
greg@kroah.com [Tue, 25 Nov 2003 05:59:03 +0000 (21:59 -0800)]
[PATCH] get rid of functions in klibc_fixups that are now in klibc

14 years ago[PATCH] sync up with the 0.84 version of klibc
greg@kroah.com [Tue, 25 Nov 2003 05:57:33 +0000 (21:57 -0800)]
[PATCH] sync up with the 0.84 version of klibc

14 years ago[PATCH] fix udev init.d script to handle all class devices in sysfs.
greg@kroah.com [Mon, 24 Nov 2003 14:19:44 +0000 (06:19 -0800)]
[PATCH] fix udev init.d script to handle all class devices in sysfs.

14 years ago[PATCH] fix the test.block and test.tty scripts due to their moveing. Also add a...
greg@kroah.com [Mon, 24 Nov 2003 14:13:05 +0000 (06:13 -0800)]
[PATCH] fix the test.block and test.tty scripts due to their moveing. Also add a test.all script.

14 years ago[PATCH] udev-test.pl - tweaks
kay.sievers@vrfy.org [Mon, 24 Nov 2003 13:44:01 +0000 (05:44 -0800)]
[PATCH] udev-test.pl - tweaks

I found two missing characters and optimized $PWD.

14 years ago[PATCH] 007_bk version change to Makefile.
greg@kroah.com [Mon, 24 Nov 2003 13:38:01 +0000 (05:38 -0800)]
[PATCH] 007_bk version change to Makefile.

14 years ago[PATCH] v007 release 007
greg@kroah.com [Mon, 24 Nov 2003 08:03:24 +0000 (00:03 -0800)]
[PATCH] v007 release

14 years ago[PATCH] v007 Changelog
greg@kroah.com [Mon, 24 Nov 2003 08:03:10 +0000 (00:03 -0800)]
[PATCH] v007 Changelog

14 years ago[PATCH] update default config file with a CALLOUT rule, and more documentation.
greg@kroah.com [Mon, 24 Nov 2003 07:39:59 +0000 (23:39 -0800)]
[PATCH] update default config file with a CALLOUT rule, and more documentation.

14 years ago[PATCH] updated the man page with the latest format specifier changes.
greg@kroah.com [Mon, 24 Nov 2003 07:39:39 +0000 (23:39 -0800)]
[PATCH] updated the man page with the latest format specifier changes.

14 years ago[PATCH] added ability to put format specifiers in the CALLOUT program string.
greg@kroah.com [Mon, 24 Nov 2003 06:25:13 +0000 (22:25 -0800)]
[PATCH] added ability to put format specifiers in the CALLOUT program string.

14 years ago[PATCH] tweak udev-test.pl to report '0' errors if that's what happened.
greg@kroah.com [Mon, 24 Nov 2003 05:17:34 +0000 (21:17 -0800)]
[PATCH] tweak udev-test.pl to report '0' errors if that's what happened.

14 years ago[PATCH] - format char for CALLOUT output
kay.sievers@vrfy.org [Mon, 24 Nov 2003 05:14:33 +0000 (21:14 -0800)]
[PATCH] - format char for CALLOUT output

here is a patch for inserting the callout output into NAME=.
ID= supports the usual wildcard to compare with the output.

I've moved all wildcard matching to a function cause this was the third occurrence.
Also attached is the last whitespace cleanup and debug text corrections.
The callout patch depends on the whitespace patch.

CALLOUT, BUS="usb", PROGRAM="/bin/echo -n return", ID="ret*", NAME="webcam-%c-"

results in:

Nov 21 17:33:51 pim udev[20399]: get_major_minor: found major = 81, minor = 0
Nov 21 17:33:51 pim udev[20399]: exec_callout: callout to '/bin/echo -n return'
Nov 21 17:33:51 pim udev[20399]: exec_callout: callout returned 'return'
Nov 21 17:33:51 pim udev[20399]: get_attr: substitute callout output 'return'
Nov 21 17:33:51 pim udev[20399]: udev_add_device: name = webcam-return-
Nov 21 17:33:51 pim udev[20399]: create_node: mknod(/udev/webcam-return-, 020660, 81, 0)

14 years ago[PATCH] more namedev whitespace cleanups
kay.sievers@vrfy.org [Mon, 24 Nov 2003 05:14:10 +0000 (21:14 -0800)]
[PATCH] more namedev whitespace cleanups

attached is the last whitespace cleanup and debug text corrections.

14 years ago[PATCH] only build klibc_fixups.c if we are actually using klibc.
greg@kroah.com [Mon, 24 Nov 2003 04:56:52 +0000 (20:56 -0800)]
[PATCH] only build klibc_fixups.c if we are actually using klibc.

14 years ago[PATCH] add support for string group and string user names in udev.permissions.
greg@kroah.com [Mon, 24 Nov 2003 04:56:18 +0000 (20:56 -0800)]
[PATCH] add support for string group and string user names in udev.permissions.

This only works if you are using glibc.

Patch based on patch from Marco d'Itri <md@Linux.IT>

14 years ago[PATCH] add getgrnam and getpwnam to klibc_fixups files.
greg@kroah.com [Mon, 24 Nov 2003 04:44:41 +0000 (20:44 -0800)]
[PATCH] add getgrnam and getpwnam to klibc_fixups files.

Hopefully the klibc_fixups code will not be needed eventually.

14 years ago[PATCH] fix segfault in parsing bad udev.permissions file
md@Linux.IT [Mon, 24 Nov 2003 02:35:03 +0000 (18:35 -0800)]
[PATCH] fix segfault in parsing bad udev.permissions file

14 years ago[PATCH] remove Makefile.klibc
greg@kroah.com [Sun, 23 Nov 2003 13:59:07 +0000 (05:59 -0800)]
[PATCH] remove Makefile.klibc

14 years ago[PATCH] static klibc udev does not link against crt0.o
olh@suse.de [Sun, 23 Nov 2003 13:58:21 +0000 (05:58 -0800)]
[PATCH] static klibc udev does not link against crt0.o

 On Wed, Nov 19, Greg KH wrote:

> > I did 'make KLIBC=true' in the current bk tree.
>
> try 'make -f Makefile.klibc' in the current tree.  For some reason I
> couldn't figure out how to have Makefile work for both KLIBC=true and
> KLIBC=false.  But I didn't try too hard :)

I dont understand that.

please do rm -f Makefile.klibc; apply this patch and tell me what fails.
works for me.

14 years ago[PATCH] add udev-test perl script from Kay Sievers <kay.sievers@vrfy.org> which blows...
greg@kroah.com [Sun, 23 Nov 2003 13:47:28 +0000 (05:47 -0800)]
[PATCH] add udev-test perl script from Kay Sievers <kay.sievers@vrfy.org> which blows away my puny shell scripts.

14 years ago[PATCH] added debian's version of udev.permissions.
greg@kroah.com [Sun, 23 Nov 2003 02:18:53 +0000 (18:18 -0800)]
[PATCH] added debian's version of udev.permissions.

Hm, should probably move all of the config file stuff to a new directory soon...

14 years ago[PATCH] support arguments in callout exec
kay.sievers@vrfy.org [Fri, 21 Nov 2003 14:48:01 +0000 (06:48 -0800)]
[PATCH] support arguments in callout exec

here is argument support for CALLOUT exec:

CALLOUT, PROGRAM="/bin/echo -n xxx", BUS="usb", ID="xxx", NAME="webcam%n"

results in:

Nov 20 02:35:20 pim udev[30422]: get_major_minor: found major = 81, minor = 0
Nov 20 02:35:20 pim udev[30422]: exec_callout: callout to /bin/echo -n xxx
Nov 20 02:35:20 pim udev[30422]: exec_callout: callout returned 'xxx'
Nov 20 02:35:20 pim udev[30422]: get_attr: kernel number appended: 0

The feature is really nice, but the maximum argument count is hard coded to 8.

14 years ago[PATCH] namedev.c - change order of fields in CALLOUT
kay.sievers@vrfy.org [Fri, 21 Nov 2003 14:47:29 +0000 (06:47 -0800)]
[PATCH] namedev.c - change order of fields in CALLOUT

I want to bring the CALLOUT field ordering in line with the other
methods, cause the current parsing relies on the ordering it's good
to have it like the others. The BUS= is now the first expected field.

Also made the last two remaining field names to uppercase and the man page
callout example is updated.

14 years ago[PATCH] namedev.c whitespace + debug text cleanup
kay.sievers@vrfy.org [Fri, 21 Nov 2003 02:37:01 +0000 (18:37 -0800)]
[PATCH] namedev.c whitespace + debug text cleanup

here is mainly a whitespace cleanup for namedev.c. I changed the
dbg_parse() output a bit for better readability:

current:

Nov 19 19:00:59 pim udev[25582]: do_number: NUMBER path='/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1.1'
Nov 19 19:00:59 pim udev[25582]: do_number: NUMBER temp='/2-1.1' id='00:07.1'
Nov 19 19:00:59 pim udev[25582]: do_number: NUMBER temp='/2-1' id='00:07.1'
Nov 19 19:00:59 pim udev[25582]: do_number: NUMBER path='/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1.1'
Nov 19 19:00:59 pim udev[25582]: do_number: NUMBER temp='/2-1.1' id='00:0b.0'
Nov 19 19:00:59 pim udev[25582]: do_number: NUMBER temp='/2-1' id='00:0b.0'
Nov 19 19:00:59 pim udev[25582]: do_number: NUMBER path='/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1.1'
Nov 19 19:00:59 pim udev[25582]: do_number: NUMBER temp='/2-1.1' id='2-1.1'
Nov 19 19:00:59 pim udev[25582]: do_number: device id '2-1.1' becomes 'webcam%n' - owner='', group ='', mode=0

becomes:

Nov 19 19:23:40 pim udev[26091]: do_number: search '00:07.1' in '/2-1.1', path='/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1.1'
Nov 19 19:23:40 pim udev[26091]: do_number: search '00:07.1' in '/2-1', path='/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-1'
Nov 19 19:23:40 pim udev[26091]: do_number: search '00:0b.0' in '/2-1.1', path='/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1.1'
Nov 19 19:23:40 pim udev[26091]: do_number: search '00:0b.0' in '/2-1', path='/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-1'
Nov 19 19:23:40 pim udev[26091]: do_number: search '2-1.1' in '/2-1.1', path='/sys/devices/pci0000:00/0000:00:1d.1/usb2/2-1/2-1.1'
Nov 19 19:23:40 pim udev[26091]: do_number: found id '2-1.1', 'video0' becomes 'webcam%n' - owner='', group ='', mode=0

14 years ago[PATCH] man page with udev.permissions wildcard
kay.sievers@vrfy.org [Fri, 21 Nov 2003 02:36:55 +0000 (18:36 -0800)]
[PATCH] man page with udev.permissions wildcard

here is the permissions wildcard text for the man page.

14 years ago[PATCH] change to 006_bk version
greg@kroah.com [Fri, 21 Nov 2003 02:35:01 +0000 (18:35 -0800)]
[PATCH] change to 006_bk version

14 years ago[PATCH] v006 006
greg@kroah.com [Wed, 19 Nov 2003 17:35:52 +0000 (09:35 -0800)]
[PATCH] v006

14 years ago[PATCH] v006 changelog
greg@kroah.com [Wed, 19 Nov 2003 17:34:53 +0000 (09:34 -0800)]
[PATCH] v006 changelog

14 years ago[PATCH] add another line to udev.permissions in the proper format.
greg@kroah.com [Wed, 19 Nov 2003 17:25:19 +0000 (09:25 -0800)]
[PATCH] add another line to udev.permissions in the proper format.

14 years ago[PATCH] tweak replace_test
greg@kroah.com [Wed, 19 Nov 2003 17:24:56 +0000 (09:24 -0800)]
[PATCH] tweak replace_test

14 years ago[PATCH] fix permissions to work properly now.
greg@kroah.com [Wed, 19 Nov 2003 17:23:24 +0000 (09:23 -0800)]
[PATCH] fix permissions to work properly now.

Forgot about umask in mknod...

14 years ago[PATCH] add real udev.permissions file to test directory.
greg@kroah.com [Wed, 19 Nov 2003 14:38:45 +0000 (06:38 -0800)]
[PATCH] add real udev.permissions file to test directory.

14 years ago[PATCH] fix namedev.c to build with older version of gcc.
greg@kroah.com [Wed, 19 Nov 2003 14:38:18 +0000 (06:38 -0800)]
[PATCH] fix namedev.c to build with older version of gcc.

14 years ago[PATCH] apply permissions.conf support for wildcard and default name
kay.sievers@vrfy.org [Wed, 19 Nov 2003 14:19:06 +0000 (06:19 -0800)]
[PATCH] apply permissions.conf support for wildcard and default name

Permissions given in udev.permissions are not applied if no METHOD from
udev.config is found. I've added do_kernelname() to scan for known
permissions if we only use the default method.

Simple support for wildcards is also added:

#name:user:group:mode
hdb*:2702:2702:0660

results in:

drwxr-xr-x    2 root     root          240 Nov 19 03:45 .
drwxr-xr-x   23 root     root          528 Nov 17 03:36 ..
brw-r--r--    1 root     root       3,   0 Nov 19 03:45 hda
brw-r--r--    1 root     root       3,   1 Nov 19 03:45 hda1
brw-r--r--    1 root     root       3,   2 Nov 19 03:45 hda2
brw-r--r--    1 root     root       3,   4 Nov 19 03:45 hda4
brw-r-----    1 kay      kay        3,  64 Nov 19 03:45 hdb
brw-r-----    1 kay      kay        3,  65 Nov 19 03:45 hdb1
brw-r--r--    1 root     root      22,   0 Nov 19 03:45 hdc
crw-r--r--    1 root     root      81,   0 Nov 19 03:34 webcam0

14 years ago[PATCH] man page with included placeholder list
kay.sievers@vrfy.org [Wed, 19 Nov 2003 14:18:54 +0000 (06:18 -0800)]
[PATCH] man page with included placeholder list

  mention the printf-like support for string substitution in the NAME field

14 years ago[PATCH] add dumb test for all of the different modifiers.
greg@kroah.com [Wed, 19 Nov 2003 10:49:29 +0000 (02:49 -0800)]
[PATCH] add dumb test for all of the different modifiers.

14 years ago[PATCH] update the TODO list with more items that people can easily do.
greg@kroah.com [Wed, 19 Nov 2003 10:48:57 +0000 (02:48 -0800)]
[PATCH] update the TODO list with more items that people can easily do.

14 years ago[PATCH] faster test scripts
chris_friesen@sympatico.ca [Wed, 19 Nov 2003 10:39:39 +0000 (02:39 -0800)]
[PATCH] faster test scripts

I've attached a patch against 005 for both the block and tty scripts.  I
didn't bother running udev backgrounded, since as you say, the new code
runs a lot faster.

14 years ago[PATCH] move the test.block and test.tty scripts to the test/ directory
greg@kroah.com [Wed, 19 Nov 2003 08:40:39 +0000 (00:40 -0800)]
[PATCH] move the test.block and test.tty scripts to the test/ directory

14 years ago[PATCH] add remove actions to the test scripts
greg@kroah.com [Wed, 19 Nov 2003 08:39:43 +0000 (00:39 -0800)]
[PATCH] add remove actions to the test scripts

14 years ago[PATCH] turn DEBUG_PARSER off by default.
greg@kroah.com [Wed, 19 Nov 2003 08:27:38 +0000 (00:27 -0800)]
[PATCH] turn DEBUG_PARSER off by default.

14 years ago[PATCH] add some documentation for the %b modifier to the default config file.
greg@kroah.com [Wed, 19 Nov 2003 06:48:46 +0000 (22:48 -0800)]
[PATCH] add some documentation for the %b modifier to the default config file.

14 years ago[PATCH] fix make install rule for when the udev symlink is already there.
greg@kroah.com [Wed, 19 Nov 2003 05:45:46 +0000 (21:45 -0800)]
[PATCH] fix make install rule for when the udev symlink is already there.

14 years ago[PATCH] more robust config file parsing in namedev.c
arnd@arndb.de [Wed, 19 Nov 2003 05:39:30 +0000 (21:39 -0800)]
[PATCH] more robust config file parsing in namedev.c

After getting a number of different crashes for udev reading broken
udev.config files, I decided to try to make the parser a little
more robust.

The behaviour is changed to stop reading the configuration file
and logging the broken entry instead of silently ignoring it (is
that good? It's easy to just print and continue).
All strcpy()'s to a fixed length string are now implicitly limited
to the bounds of the target string.

I kept the -ENODEV return code for now, not sure if there should be
different ones.

14 years ago[PATCH] add bus id modifier
arnd@arndb.de [Wed, 19 Nov 2003 05:36:10 +0000 (21:36 -0800)]
[PATCH] add bus id modifier

On Tuesday 18 November 2003 02:14, Greg KH wrote:
> On Mon, Nov 17, 2003 at 06:33:32PM +0100, Arnd Bergmann wrote:
> > That would at least be part of the solution I'm looking for. How about
> > extra format characters for bus_id and for the result of a callout
> > program?
>
> Sure, I can see the use for that.  Want to send a patch?  :)

> Take a look at the current bk tree (which has moved to
> bk://linuxusb.bkbits.net/udev/ )  I've made finding that device a lot
> easier now, and it works for all rule types.

Great, just what I was missing. I didn't see the any link to the bk
repository. Here's the patch for the bus_id. I'll need to think about
the handling of callout results a bit more.

14 years ago[PATCH] change release target in makefile.
greg@kroah.com [Wed, 19 Nov 2003 05:35:44 +0000 (21:35 -0800)]
[PATCH] change release target in makefile.

14 years ago[PATCH] change debug level on printf values for now.
greg@kroah.com [Tue, 18 Nov 2003 09:22:02 +0000 (01:22 -0800)]
[PATCH] change debug level on printf values for now.

14 years ago[PATCH] updated demo config file.
greg@kroah.com [Tue, 18 Nov 2003 09:15:11 +0000 (01:15 -0800)]
[PATCH] updated demo config file.

14 years ago[PATCH] add some documentation of the modifiers to the default config file.
greg@kroah.com [Tue, 18 Nov 2003 09:12:31 +0000 (01:12 -0800)]
[PATCH] add some documentation of the modifiers to the default config file.

14 years ago[PATCH] add demo config file.
greg@kroah.com [Tue, 18 Nov 2003 09:09:58 +0000 (01:09 -0800)]
[PATCH] add demo config file.

14 years ago[PATCH] add printf option to label test to verify it works.
greg@kroah.com [Tue, 18 Nov 2003 09:07:49 +0000 (01:07 -0800)]
[PATCH] add printf option to label test to verify it works.

14 years ago[PATCH] fix up printf-like functionality due to previous changes.
greg@kroah.com [Tue, 18 Nov 2003 09:07:21 +0000 (01:07 -0800)]
[PATCH] fix up printf-like functionality due to previous changes.

14 years ago[PATCH] implement printf-like placeholder support for NAME
kay.sievers@vrfy.org [Tue, 18 Nov 2003 08:59:27 +0000 (00:59 -0800)]
[PATCH] implement printf-like placeholder support for NAME

> Problem is, if you use the LABEL rule to match a device, like a SCSI
> vendor, then all of the partitions, as well as the main block device,
> will end up with the same name.  That's why I added the "add the number"
> hack to the LABEL rule.
>
> So yes, your patch is correct in that we shouldn't always be adding the
> number to any match for LABEL (like for char devices), but if we do
> that, then we break partitions.  Your '%' patch fixes this, but I'd just
> like to extend it a bit.  Let me see what I can come up with...

Oh, I see. Do you mean something like this:

LABEL, BUS="usb", model="Creative Labs WebCam 3", NAME="webcam%n-%M:%m-test"

results in: "webcam0-81:0-test"

Nov 15 16:51:53 pim udev[16193]: get_class_dev: looking at /sys/class/video4linux/video0
Nov 15 16:51:53 pim udev[16193]: get_class_dev: class_dev->name = video0
Nov 15 16:51:53 pim udev[16193]: get_major_minor: dev = 81:0
Nov 15 16:51:53 pim udev[16193]: get_major_minor: found major = 81, minor = 0
Nov 15 16:51:53 pim udev[16193]: udev_add_device: name = webcam0-81:0-test
Nov 15 16:51:53 pim udev[16193]: create_node: mknod(/udev/webcam0-81:0-test, 020666, 81, 0)

  implement printf-like placeholder support for NAME
  %n-kernel number, %M-major number, %m-minor number

14 years ago[PATCH] get the major/minor number before we name the device.
greg@kroah.com [Fri, 14 Nov 2003 04:08:10 +0000 (20:08 -0800)]
[PATCH] get the major/minor number before we name the device.

Will come in handy later...

14 years ago[PATCH] add scsi_id "extra" program from Patrick Mansfield <patmans@us.ibm.com>
greg@kroah.com [Thu, 13 Nov 2003 14:34:36 +0000 (06:34 -0800)]
[PATCH] add scsi_id "extra" program from Patrick Mansfield <patmans@us.ibm.com>

14 years ago[PATCH] Add multipath "extra" program from Christophe Varoqui, <christophe.varoqui...
greg@kroah.com [Thu, 13 Nov 2003 14:30:57 +0000 (06:30 -0800)]
[PATCH] Add multipath "extra" program from Christophe Varoqui, <christophe.varoqui@free.fr>

14 years ago[PATCH] trailing whitespace cleanups.
greg@kroah.com [Thu, 13 Nov 2003 14:24:09 +0000 (06:24 -0800)]
[PATCH] trailing whitespace cleanups.

14 years ago[PATCH] splig LABEL and NUMBER into separate functions.
greg@kroah.com [Thu, 13 Nov 2003 13:52:08 +0000 (05:52 -0800)]
[PATCH] splig LABEL and NUMBER into separate functions.

Now items are processed in priority order, fixing that bug.

14 years ago[PATCH] add TOPO regression test.
greg@kroah.com [Thu, 13 Nov 2003 02:08:40 +0000 (18:08 -0800)]
[PATCH] add TOPO regression test.

14 years ago[PATCH] move TOPOLOGY rule to it's own function.
greg@kroah.com [Thu, 13 Nov 2003 02:08:19 +0000 (18:08 -0800)]
[PATCH] move TOPOLOGY rule to it's own function.

14 years ago[PATCH] fix bug where NUMBER and TOPOLOGY would not work for partitions.
greg@kroah.com [Thu, 13 Nov 2003 01:56:26 +0000 (17:56 -0800)]
[PATCH] fix bug where NUMBER and TOPOLOGY would not work for partitions.

14 years ago[PATCH] clean up the way we find the sysdevice for a block device for namedev.
greg@kroah.com [Thu, 13 Nov 2003 01:38:14 +0000 (17:38 -0800)]
[PATCH] clean up the way we find the sysdevice for a block device for namedev.

14 years ago[PATCH] updated label test script (tests for partitions now.)
greg@kroah.com [Wed, 12 Nov 2003 16:35:40 +0000 (08:35 -0800)]
[PATCH] updated label test script (tests for partitions now.)

14 years ago[PATCH] split REPLACE and CALLOUT into separate functions
greg@kroah.com [Wed, 12 Nov 2003 16:26:08 +0000 (08:26 -0800)]
[PATCH] split REPLACE and CALLOUT into separate functions

Finally starting to process this in priority order, not config file order.

14 years ago[PATCH] add debug line for REPLACE call.
greg@kroah.com [Wed, 12 Nov 2003 15:44:56 +0000 (07:44 -0800)]
[PATCH] add debug line for REPLACE call.

14 years ago[PATCH] add replace test
greg@kroah.com [Wed, 12 Nov 2003 15:32:29 +0000 (07:32 -0800)]
[PATCH] add replace test

14 years ago[PATCH] add more sysfs test tree files.
greg@kroah.com [Wed, 12 Nov 2003 15:30:20 +0000 (07:30 -0800)]
[PATCH] add more sysfs test tree files.

14 years ago[PATCH] change UDEV_SYSFS_PATH environment variable due to libsysfs change.
greg@kroah.com [Wed, 12 Nov 2003 15:23:39 +0000 (07:23 -0800)]
[PATCH] change UDEV_SYSFS_PATH environment variable due to libsysfs change.

14 years ago[PATCH] fix bug in klibc's isspace function.
greg@kroah.com [Wed, 12 Nov 2003 15:17:33 +0000 (07:17 -0800)]
[PATCH] fix bug in klibc's isspace function.

14 years ago[PATCH] patch for libsysfs sysfs directory handling
dsteklof@us.ibm.com [Wed, 12 Nov 2003 13:37:24 +0000 (05:37 -0800)]
[PATCH] patch for libsysfs sysfs directory handling

Here's a quick patch to:

1) Add an environment variable "SYSFS_PATH" that libsysfs will check
for when getting mount point before searching system's sysfs mount
point.

2) A quick fix to sysfs_get_link where the bug was.

I have tested this out with libsysfs and with udev. I couldn't test
with klibc because I haven't got the tree to build with klibc without
my changes either. I made the link but get an error finding
linux/linits.h. I will figure that out.

Please have a look at the patch. If it's agreeable, please test it. I
really want to add some generic path manipulation functions for the
sysfs_get_link error, rather than my patch's hack. But, I haven't had
time yet to do that. You really sounded like you needed this for
testing, so I'm sending it out to you. I should probably add a
function to set the env variable(?).

14 years ago[PATCH] fix udev-add.c to build properly with older versions of gcc.
greg@kroah.com [Wed, 12 Nov 2003 11:50:33 +0000 (03:50 -0800)]
[PATCH] fix udev-add.c to build properly with older versions of gcc.

14 years ago[PATCH] more manpage tweaks
kay.sievers@vrfy.org [Wed, 12 Nov 2003 11:48:04 +0000 (03:48 -0800)]
[PATCH] more manpage tweaks

  man page style fixes
  present the tiny udev in bold font :)

14 years ago[PATCH] add support for subdirs
kay.sievers@vrfy.org [Wed, 12 Nov 2003 11:48:01 +0000 (03:48 -0800)]
[PATCH] add support for subdirs

  support subdirectory creation/removal for NAME="/devfs/is/crazy/video0"
  create parent subdirs for device node if needed
  remove subdirs when last node is removed

14 years ago[PATCH] add uid/gid to nodes
kay.sievers@vrfy.org [Wed, 12 Nov 2003 11:47:57 +0000 (03:47 -0800)]
[PATCH] add uid/gid to nodes

  set uid/gid of node specified in udev.permissions
  only numeric id's are supported cause we can't resolve with
  klibc or libc before real /etc is mounted

14 years ago[PATCH] add prototype for ftruncate to klibc
greg@kroah.com [Wed, 12 Nov 2003 11:33:44 +0000 (03:33 -0800)]
[PATCH] add prototype for ftruncate to klibc

14 years ago[PATCH] Remove a few items from the TODO list that are already done.
greg@kroah.com [Thu, 30 Oct 2003 08:59:16 +0000 (00:59 -0800)]
[PATCH] Remove a few items from the TODO list that are already done.

14 years ago[PATCH] DESTDIR for udev
olh@suse.de [Thu, 30 Oct 2003 06:26:35 +0000 (22:26 -0800)]
[PATCH] DESTDIR for udev

14 years ago[PATCH] version number to 005_bk
greg@kroah.com [Thu, 30 Oct 2003 06:26:23 +0000 (22:26 -0800)]
[PATCH] version number to 005_bk

14 years ago[PATCH] udev init script
rml@tech9.net [Thu, 30 Oct 2003 06:14:24 +0000 (22:14 -0800)]
[PATCH] udev init script

I integrated udev with Fedora Core.  The main piece is simply building
/udev on boot, since we don't have an initramfs yet. We should also
clear out /udev on shutdown, for /udev directories mounted on persistent
media.

The attached script goes in /etc/init.d

Then do "chkconfig --add udev"

And the rest is handled automatically.  I made it for Fedora but it will
probably work, with little change, on any Linux system.

Right now it only does sysfs-based discovery of block and tty devices,
since those are the only types of devices I have on my system.  There is
a TODO in the script where we would add the other device types.

14 years ago[PATCH] pull some klibc stuff into the make Makefile to try to stay in sync.
greg@kroah.com [Sat, 25 Oct 2003 07:21:18 +0000 (00:21 -0700)]
[PATCH] pull some klibc stuff into the make Makefile to try to stay in sync.

14 years ago[PATCH] klibc build fixes
greg@kroah.com [Sat, 25 Oct 2003 07:20:51 +0000 (00:20 -0700)]
[PATCH] klibc build fixes

Still can't seem to build both klibc and glibc versions from same makefile :(

14 years ago[PATCH] Fixup path for kernel includes when building with klibc.
lethal@linux-sh.org [Sat, 25 Oct 2003 06:37:17 +0000 (23:37 -0700)]
[PATCH] Fixup path for kernel includes when building with klibc.

Fixup path for kernel includes when building with klibc.

klibc expects the symlink klibc/linux to point to a relatively up
to date tree, use -Iklibc/linux/include to make linux/ and asm/
includes resolve properly, as these won't exist in the regular
klibc/klibc/include location.

14 years ago[PATCH] 005 release 005
greg@kroah.com [Thu, 23 Oct 2003 08:08:58 +0000 (01:08 -0700)]
[PATCH] 005 release

14 years ago[PATCH] add klibc linux symlink info to the README
greg@kroah.com [Thu, 23 Oct 2003 08:04:30 +0000 (01:04 -0700)]
[PATCH] add klibc linux symlink info to the README

14 years ago[PATCH] get 'make release' to work properly again.
greg@kroah.com [Thu, 23 Oct 2003 08:04:09 +0000 (01:04 -0700)]
[PATCH] get 'make release' to work properly again.

14 years ago[PATCH] udev: sleep_for_dev() bits
rml@tech9.net [Thu, 23 Oct 2003 07:50:27 +0000 (00:50 -0700)]
[PATCH] udev: sleep_for_dev() bits

OK, I fixed that bug you hinted at earlier in my previous
sleep_for_dev() patch.  I am sure you fixed it, but here we go
nonetheless, just in case.

I actually changed it up a bit.  It is probably faster to count down
from SECONDS_TO_WAIT_FOR_DEV than count up.

I also made the lone 'path' argument const, since it can be.

Some other misc. bits, too.

14 years ago[PATCH] added README info for how to build using klibc.
greg@kroah.com [Thu, 23 Oct 2003 07:19:18 +0000 (00:19 -0700)]
[PATCH] added README info for how to build using klibc.

14 years ago[PATCH] turn off debugging if we are building with klibc
greg@kroah.com [Thu, 23 Oct 2003 07:13:16 +0000 (00:13 -0700)]
[PATCH] turn off debugging if we are building with klibc

14 years ago[PATCH] turn off debugging in namedev
greg@kroah.com [Thu, 23 Oct 2003 07:12:58 +0000 (00:12 -0700)]
[PATCH] turn off debugging in namedev

14 years ago[PATCH] added vsyslog support to klibc.
greg@kroah.com [Thu, 23 Oct 2003 07:12:41 +0000 (00:12 -0700)]
[PATCH] added vsyslog support to klibc.

14 years ago[PATCH] add ftruncate to klibc.
greg@kroah.com [Thu, 23 Oct 2003 06:59:44 +0000 (23:59 -0700)]
[PATCH] add ftruncate to klibc.

probably got it wrong too...

14 years ago[PATCH] klibc specific tweaks
greg@kroah.com [Thu, 23 Oct 2003 06:48:55 +0000 (23:48 -0700)]
[PATCH] klibc specific tweaks

14 years ago[PATCH] libsysfs does not need mntent.h in it's header file.
greg@kroah.com [Thu, 23 Oct 2003 06:46:19 +0000 (23:46 -0700)]
[PATCH] libsysfs does not need mntent.h in it's header file.

14 years ago[PATCH] klibc makefile changes.
greg@kroah.com [Thu, 23 Oct 2003 05:30:50 +0000 (22:30 -0700)]
[PATCH] klibc makefile changes.

14 years ago[PATCH] build tdb and libsysfs from the same makefile as udev.
greg@kroah.com [Thu, 23 Oct 2003 02:40:52 +0000 (19:40 -0700)]
[PATCH] build tdb and libsysfs from the same makefile as udev.

This fixes problem of libsysfs and tdb getting build with different gcc options
as the rest of udev.

14 years ago[PATCH] udev build tweaks to tdb's spinlock code
greg@kroah.com [Thu, 23 Oct 2003 05:39:59 +0000 (22:39 -0700)]
[PATCH] udev build tweaks to tdb's spinlock code

14 years ago[PATCH] udev-add build cleanups for other libc versions.
greg@kroah.com [Thu, 23 Oct 2003 02:39:54 +0000 (19:39 -0700)]
[PATCH] udev-add build cleanups for other libc versions.

14 years ago[PATCH] tweak tdb to build within udev better.
greg@kroah.com [Thu, 23 Oct 2003 02:39:28 +0000 (19:39 -0700)]
[PATCH] tweak tdb to build within udev better.

14 years ago[PATCH] make libsysfs spit debug messages to the same place as the rest of udev.
greg@kroah.com [Thu, 23 Oct 2003 02:38:59 +0000 (19:38 -0700)]
[PATCH] make libsysfs spit debug messages to the same place as the rest of udev.