Kay Sievers
03198b9303
libudev: also import "uevent" file when reading udev database
2008-09-24 12:25:31 -07:00
Kay Sievers
4c9dff47f6
libudev: add udev_device_new_from_devnum()
2008-09-21 23:28:56 -07:00
Kay Sievers
fb762bb928
libudev: udev_device_get_devname -> udev_device_get_devnode
2008-09-20 00:01:20 -07:00
Kay Sievers
38f27948cd
always include config.h from Makefile
2008-09-19 23:03:49 -07:00
Alan Jenkins
a4354f9385
scsi_id: compiler warning on 32-bit
...
The sg_io_v4 interface passes pointers as u64s. It turns out GCC
disapproves of us casting a u64 straight to a 32 bit pointer.
cc1: warnings being treated as errors
scsi_serial.c: In function ‘sg_err_category4’:
scsi_serial.c:159: warning: cast to pointer from integer of different size
scsi_serial.c: In function ‘scsi_dump_v4’:
scsi_serial.c:303: warning: cast to pointer from integer of different size
2008-09-19 22:14:46 -07:00
Kay Sievers
279595bd1a
libudev: fix "subsystem" value
2008-09-17 23:58:38 -07:00
Kay Sievers
a076080bd4
libudev: pass udev_device in enumerate
2008-09-17 23:32:43 -07:00
Kay Sievers
7bcbf7ecc8
fix udevadm trigger
2008-09-16 16:32:42 -07:00
Alan Jenkins
034b37c83f
udev-test.pl: set non-zero exitcode if tests fail
2008-09-16 10:03:42 -07:00
Kay Sievers
44589a0c73
fix broken symlink resolving
2008-09-16 09:53:36 -07:00
Kay Sievers
c68a293678
vol_id: fix lib logging glue
2008-09-16 00:40:47 -07:00
Kay Sievers
7b3a52f499
libudev: rename ctrl_msg to ctrl_msg_wire
2008-09-15 18:01:15 -07:00
Kay Sievers
8753fadf2a
libudev: switch API from devpath to syspath
2008-09-15 17:12:47 -07:00
Kay Sievers
9a8047fa29
udevadm: info - fix lookup-by-name
2008-09-15 12:01:35 -07:00
Kay Sievers
0518da3b74
libudev: handle "device" link as parent, handle "class" "block" as "subsystem"
2008-09-15 11:19:56 -07:00
Kay Sievers
93b0f38458
libudev: udev_device - add attribute cache
2008-09-13 21:09:28 +02:00
Kay Sievers
b2d9e4f200
libudev: switch to "udev_device_get_parent"
2008-09-12 00:58:40 +02:00
Kay Sievers
55eb845c28
release 128
2008-09-11 17:09:57 +02:00
Kay Sievers
4ad3a37f50
udevadm: info - use "udev_device"
2008-09-11 17:08:12 +02:00
Kay Sievers
17fcfb5972
use size definitions from libudev
2008-09-10 21:50:21 +02:00
Kay Sievers
31c1f53745
get rid of udev_sysdeps.c
2008-09-10 18:59:42 +02:00
Kay Sievers
ecc9ec579f
convert to libudev and delete udev_utils_string.c
2008-09-10 18:39:23 +02:00
Kay Sievers
7525097713
extras: use libudev code
2008-09-10 18:24:39 +02:00
Kay Sievers
3eb46ec6dd
libudev: do not use any udev source file
2008-09-10 18:00:31 +02:00
Kay Sievers
b2946df419
libudev: rename libudev-utils.c libudev-util.c
2008-09-10 17:12:33 +02:00
Kay Sievers
7a01f11afb
libudev: get rid of udev_utils.c
2008-09-10 17:08:24 +02:00
Kay Sievers
b21b95d722
libudev: get rid of udev_sysfs.c
2008-09-10 14:29:07 +02:00
Kay Sievers
e88a82b597
libudev: do not use udev_db.c
2008-09-10 14:17:36 +02:00
Kay Sievers
6bd1c78a8a
libudev: udev_device - add more properties
2008-09-10 10:09:34 +02:00
Kay Sievers
55e9959b15
update file headers
2008-09-10 02:40:42 +02:00
Kay Sievers
ef5c2d048c
volume_id: merge util.h in libvolume_id-private.h
2008-09-10 02:31:11 +02:00
Kay Sievers
3fd0648c60
libudev: initialize selinux after logging
2008-09-10 01:47:51 +02:00
Kay Sievers
4f4b12c203
libudev: add selinux
2008-09-10 00:46:17 +02:00
Kay Sievers
6b12bdb624
libudev: rename enumerate function
2008-09-09 22:10:33 +02:00
Kay Sievers
95d90c4fe0
libudev: udev_device - read "driver" value
2008-09-09 18:14:54 +02:00
Kay Sievers
9b3a33a9ff
udevadm: monitor - use libudev code to retrieve device data
2008-09-09 17:41:17 +02:00
Kay Sievers
1c7047ea77
libudev: monitor- add netlink uevent support
2008-09-09 17:38:10 +02:00
Kay Sievers
3bc7c84cf0
udevd: remove max_childs_running logic
...
This was needed in the old days, where all the hotplug scripts did
nothing better than sleep for seconds to work around timing issues.
It made sure, that w continued to fork processes, while the machine
was doing nothing than sleeping, but the maximim number of childs
was already reached. This is no longer needed today, we do not run
many of these scripts anymore.
2008-09-09 15:14:38 +02:00
Kay Sievers
bd770e0183
udevadm: log message if udevadm link is used
2008-09-09 14:48:42 +02:00
Kay Sievers
37372bbc38
libudev: monitor - add event properties to udev_device
2008-09-09 14:37:36 +02:00
Kay Sievers
8a4c287d15
udevadm: monitor - use libudev for udev monitor
2008-09-09 14:07:08 +02:00
Kay Sievers
c4f5f942d7
add a bunch of private device properties to udev_device
2008-09-09 14:06:20 +02:00
Alan Jenkins
9d7e1b3fdd
fix off-by-one in pass_env_to_socket()
2008-09-09 00:48:17 +02:00
Kay Sievers
ab7ab02556
test-udev: remove unused var
2008-09-09 00:47:48 +02:00
Alan Jenkins
df7ae680d8
threadsafe rules iteration
...
Move ->current out of "struct udev_rules" and into a new "struct udev_rules_iter".
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-09-09 00:09:49 +02:00
Kay Sievers
a035bf2744
test-udev: cleanup libudev context and overridden rules file string
2008-09-09 00:08:42 +02:00
Alan Jenkins
2dccc8b054
remove redundant "remove trailing newlines" in udevadm info
2008-09-08 22:02:07 +02:00
Alan Jenkins
3b738db6eb
remove redundant string copy in udev_rules_apply_format()
2008-09-08 21:59:27 +02:00
Alan Jenkins
cb8896cd74
fix name compare bug name_list_key_add()
...
The search for an existing key e.g. FOO would match longer
keys e.g. FOOBAR. Reuse the correct code from name_list_remove().
2008-09-08 21:51:30 +02:00
Kay Sievers
37a123a9bc
udev-test.pl: set udev_log="err"
2008-09-08 21:50:17 +02:00