Kay Sievers
20254eb021
add "root" == 0 shortcuts to lookup_user/group()
2008-10-21 12:43:07 +02:00
Kay Sievers
94db05d288
replace missing get_attr_value() -> get_sysattr_value()
2008-10-21 12:42:13 +02:00
Kay Sievers
69239210be
libudev: device - get_attr_value() -> get_sysattr_value()
2008-10-20 18:12:36 +02:00
Kay Sievers
54808d77a3
prefix udev-util.c functions with util_*
2008-10-18 20:12:55 +02:00
Kay Sievers
c3b1fa66d2
selinux_init(udev) -> udev_selinux_init(udev)
2008-10-18 19:30:42 +02:00
Kay Sievers
eb8837e15c
udev_list_cleanup() -> udev_list_cleanup_entries()
2008-10-18 19:27:38 +02:00
Kay Sievers
f1128767cb
move udev_rules_apply_format() to udev-event.c
2008-10-18 19:19:56 +02:00
Kay Sievers
2d73813ebc
udev_rules_run() -> udev_event_execute_run();
2008-10-18 15:50:16 +02:00
Kay Sievers
dcdcb8cc06
udev_event_run() -> udev_event_execute_rules()
2008-10-18 15:46:55 +02:00
Alan Jenkins
836dcf951c
udevd: avoid overhead of calling rmdir on non-empty directories
...
Unfortunately the linux rmdir implementation unhashes the dentry
even when the directory is not removed. This is apparently by
design (for filesystems that don't allow deleting open files).
Results from time(1) and oprofile follow.
Before:
0.35user 0.90system
samples % image name symbol name
608 9.6738 vmlinux shrink_dcache_parent
293 4.6619 vmlinux copy_page_c
271 4.3119 vmlinux copy_page_range
257 4.0891 udevd udev_rules_iter_next
After:
0.31user 0.67system
samples % image name symbol name
361 5.0419 vmlinux copy_page_range
322 4.4972 udevd udev_rules_iter_next
300 4.1899 vmlinux copy_page_c
Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-10-18 15:28:49 +02:00
Kay Sievers
d0db192fa5
move run_program to util
2008-10-18 15:25:05 +02:00
Kay Sievers
d7ddce186c
make struct udev_rules opaque
2008-10-18 15:02:01 +02:00
Kay Sievers
c7521974a3
merge udev-rules.c and udev-rules-parse.c
2008-10-18 14:33:37 +02:00
Kay Sievers
bec02e3304
delete list.h
2008-10-17 19:29:57 +02:00
Kay Sievers
7e02792760
udevd: use udev_list_node
2008-10-17 18:59:27 +02:00
Kay Sievers
9dcf7ec8a0
libudev: make list_node functions available
2008-10-17 18:59:08 +02:00
Kay Sievers
b692a75089
libudev: ctrl - change magic to integer
2008-10-17 17:32:17 +02:00
Kay Sievers
cb25a9585d
libudev: monitor - add set_receive_buffer_size()
2008-10-17 16:49:27 +02:00
Kay Sievers
bdeab5c7fd
libudev: add sysnum to test program
2008-10-17 13:54:14 +02:00
Alan Jenkins
babcf3cb22
libudev: fix sysnum logic for digit-only device names
2008-10-17 13:19:54 +02:00
Kay Sievers
3feeb77c97
libudev: list - prepend udev_* to all functions
2008-10-17 01:39:10 +02:00
Kay Sievers
d130881d34
delete udev-util-file.c
2008-10-17 00:42:48 +02:00
Kay Sievers
fc42bd5d6b
update rules file parsing
2008-10-17 00:40:03 +02:00
Kay Sievers
bb144ed14d
update IMPORT= file/stdout property parsing
2008-10-16 22:41:52 +02:00
Kay Sievers
c28c4486af
run_program: prevent empty last argv entry
2008-10-16 21:35:11 +02:00
Kay Sievers
be7f7f5701
fix sorting of rules files
2008-10-16 21:12:08 +02:00
Kay Sievers
a390e6f764
delete name_list, move common file functions
2008-10-16 20:23:56 +02:00
Kay Sievers
daa849db6f
udev-rules-parse: name_list -> udev_list
2008-10-16 20:12:16 +02:00
Kay Sievers
7db6580f42
udev-node: name_list -> udev_list
2008-10-16 19:23:07 +02:00
Kay Sievers
3361a0f110
libudev: monitor - export MAJOR/MINOR only if available
2008-10-16 18:56:19 +02:00
Kay Sievers
3fb629fd5e
libudev: always add UDEV_LOG
2008-10-16 18:51:05 +02:00
Kay Sievers
8460299b57
rename udev source files
2008-10-16 18:13:48 +02:00
Kay Sievers
fc233a874b
move udev_device_db to libudev
2008-10-16 17:30:06 +02:00
Kay Sievers
aa8734ffcb
udevd: use libudev
2008-10-16 17:16:58 +02:00
Kay Sievers
ebacd6ecc3
libudev: device - copy global properties, unset empty properties
2008-10-16 13:53:16 +02:00
Kay Sievers
f183b6ed76
libudev: add global property list
2008-10-16 13:51:29 +02:00
Kay Sievers
6a95b1e7d6
libudev: ctrl - fix typo in set_env()
2008-10-16 13:34:11 +02:00
Kay Sievers
2c09b3b41d
libudev: list - handle update of key with NULL value
2008-10-16 13:33:13 +02:00
Kay Sievers
31f4b036ea
libudev: device - export properties when values are set
2008-10-16 11:37:22 +02:00
Kay Sievers
5c5cad7966
libudev: device - lookup "subsystem" and "driver" only once
2008-10-15 18:34:14 +02:00
Kay Sievers
bd85566c16
libudev: update DEVLINKS property when properties are read
2008-10-15 16:56:06 +02:00
Kay Sievers
1e61ff54f5
libudev: monitor - do not mangle DEVLINKS property
2008-10-15 16:55:04 +02:00
Kay Sievers
6ebc7a4f93
libudev: do not include ctrl in libudev.so
2008-10-15 16:54:06 +02:00
Kay Sievers
979ff016ef
libudev: device - add get_envp() to construct envp from property list
2008-10-15 14:21:33 +02:00
Kay Sievers
81d9e22120
libudev: monitor - fix send_device() property copying
2008-10-15 14:20:27 +02:00
Kay Sievers
517814e7d0
libudev: handle ! in sysname, add sysnum, return allocated list_entry on add
2008-10-14 19:53:47 +02:00
Kay Sievers
9a997ecf4e
libudev: device - generate DEVNAME and DEVLINKS properties
2008-10-11 18:40:33 +02:00
Kay Sievers
df1dcc09ef
libudev: list - add flag
2008-10-11 18:40:04 +02:00
Kay Sievers
9925ab0451
libudev: add udev_monitor_send_device()
2008-10-09 23:38:30 +02:00
Kay Sievers
8cd2e972e5
libudev: also prefix non-exported functions with udev_*
2008-10-09 22:24:43 +02:00