Kay Sievers
36af2ddcb9
don't add $SUBSYSTEM automatically as $1 to programs
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-26 04:38:33 +01:00
Kay Sievers
d8a57e7c26
Makefile: remove dynamic config file generation
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-23 03:24:16 +01:00
Olivier Blin
aaa14841de
fixes udev build with -fpie
...
Add missing includes and environ declaration.
2006-01-20 23:18:23 +01:00
Kay Sievers
1aa1e24848
replace libsysfs
...
We never used any of the libsysfs convenience features. Here we replace
it completely with 300 lines of code, which are much simpler and a bit
faster cause udev(d) does not open any syfs file for a simple event which
does not need any parent device information.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2006-01-09 21:18:00 +01:00
Kay Sievers
aab4c0eebe
allow programs in /lib/udev called without the path
...
RUN="firmware.sh" should work like RUN="/lib/udev/firmware.sh"
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-12-03 18:55:51 +01:00
Marco d'Itri
ff3e4bed21
add strerror() to error logs
2005-11-07 18:44:18 +01:00
Kay Sievers
f1ff8d7b4a
use WRITE_END/READ_END for the pipe index
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-28 20:25:37 +02:00
Kay Sievers
66691c6e6c
add program name to logged error
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-22 11:42:58 +02:00
Kay Sievers
40caaeec51
cleanup some debug output and move to info level + unify select() loops
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-15 11:57:04 +02:00
Kay Sievers
af5461f72f
don't fail too bad, if /dev/null does not exist
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-13 02:36:12 +02:00
Kay Sievers
853ccc433c
fix more compiler warnings ...
...
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-13 00:18:44 +02:00
Kay Sievers
27f877e60f
allow logging of all output from executed tools
...
If USE_DEBUG=true and udev_log="debug", all output of the forked
programs to stdout and stderr is send to syslog.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-11 17:32:59 +02:00
Kay Sievers
59d6bfefce
split udev_util in several files
...
It too big for the small tools to link against for only the log function.
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
2005-08-10 16:54:14 +02:00