1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 16:21:11 +03:00
Commit Graph

2727 Commits

Author SHA1 Message Date
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
Kay Sievers
d59f11e140 move udev_ctrl to libudev-private 2008-09-08 17:59:00 +02:00
Kay Sievers
e5931bb7d8 udevadm: add --version --help options to man page, hide them as commands 2008-09-07 14:48:33 +02:00
Kay Sievers
f640b32fdd vol_id: add --debug option 2008-09-06 16:37:00 +02:00
Kay Sievers
7643819062 volume_id: linux_raid - fix logic for volumes with size == 0 2008-09-06 16:23:21 +02:00
Kay Sievers
7d563a17f3 use libudev code, unify logging, pass udev context around everywhere 2008-09-06 15:45:31 +02:00
Kay Sievers
cf8ec631a2 autogen.sh: add debug 2008-09-06 15:22:19 +02:00
Kay Sievers
60865f33a1 udevadm: move init from commands to udevadm 2008-09-04 10:34:48 +02:00
Kay Sievers
8a3c06af21 udevadm: split out control functions 2008-09-03 23:48:44 +02:00
Kay Sievers
32bf83996b udevadm: rename internal functions to udevadm_* 2008-09-03 23:38:32 +02:00
Kay Sievers
e4255f1153 udevadm: rename source files 2008-09-03 23:33:06 +02:00
Kay Sievers
e149748850 udev-test.pl: remove left-over comment from --valgrind option 2008-09-03 22:00:55 +02:00
Kay Sievers
742f4cad0d udevadm: print warning to stderr if udevadm is called by symlink 2008-09-03 21:59:21 +02:00
Kay Sievers
2b725651e5 udevadm: control - use getopt_long() 2008-09-03 21:56:47 +02:00
Kay Sievers
cce9d77393 udevadm: info - fix broken --device-id-of-file= 2008-09-03 19:50:36 +02:00
Alan Jenkins
593453115b remove deprecated envp[] in main()
envp is not standardized, and may become invalid when environment variables
are modified.  Since udev never actually uses it, we can simply remove it.

Should anyone miss it in future, they can use the standardized environ
variable - like udev_rules.c does already.
2008-09-02 23:19:36 +02:00
Kay Sievers
44aff4cd6d udev_device_init() remove statically allocated device support 2008-09-01 20:59:09 +02:00
Alan Jenkins
0d1c29c3d1 do not needlessly declare some local variables in udev_rules_parse.c as static 2008-09-01 19:46:19 +02:00
Kay Sievers
11d543c1ee libudev: add udev_device_get_syspath() 2008-09-01 18:52:22 +02:00
Kay Sievers
b98fd84005 libudev: fix monitor documentation 2008-09-01 16:41:41 +02:00
Kay Sievers
71ac635d77 remove FAQ 2008-09-01 16:40:31 +02:00
Kay Sievers
c2175d2524 volume_id: fail on undefined __BYTE_ORDER 2008-09-01 16:39:34 +02:00
Kay Sievers
1893cf588f libudev: libudev.pc add Libs.private 2008-09-01 16:38:10 +02:00
Alan Jenkins
bc1e4a138b fix uninitialized name_list error::ignore_error
Running udevd under valgrind (and then udevtrigger):

==17705== Conditional jump or move depends on uninitialised value(s)
==17705==    at 0x407BBB: udev_rules_run (udev_rules.c:522)
==17705==    by 0x4109F0: udev_event_process (udevd.c:145)
==17705==    by 0x410E2C: udev_event_run (udevd.c:251)
==17705==    by 0x411A8D: msg_queue_manager (udevd.c:581)
==17705==    by 0x41386B: main (udevd.c:1284)

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-09-01 16:36:43 +02:00
Kay Sievers
e08109cbc8 udev-test.pl: add --valgrind option 2008-09-01 16:20:06 +02:00