Commit graph

2494 commits

Author SHA1 Message Date
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
Kay Sievers 424756eda3 fix dangling pointer returned by attr_get_by_subsys_id()
Thanks to Alan Jenkins <alan-jenkins@tuffmail.co.uk> for
finding this.
2008-09-01 10:21:05 +02:00
Kay Sievers ac877d7cf4 volume_id: hfs - calculate proper uuid 2008-08-31 12:20:24 +02:00
Kay Sievers e407720bba autogen.sh: add --with-selinux 2008-08-30 23:08:19 +02:00
Kay Sievers 4cf2368510 libudev: fix --disable-log 2008-08-30 23:07:50 +02:00
Kay Sievers 7d8787b311 libudev: add monitor documentation 2008-08-30 16:16:37 +02:00
Kay Sievers 41ff8053c1 release 127 2008-08-29 21:41:15 +02:00
Kay Sievers a689165b5a libudev: require LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE 2008-08-29 21:22:24 +02:00
Kay Sievers 2bb9f412bc firmware.sh: lookup lookup kernel provided firmware directory 2008-08-29 21:00:43 +02:00
Kay Sievers aa1f5304b0 libudev: link against selinux if needed 2008-08-29 20:48:25 +02:00
Kay Sievers d46f37fdee split udev_device.c to leave out rules handling from libudev 2008-08-29 20:32:05 +02:00
Kay Sievers 550d5c2879 volume_id: remove left-over fd close() 2008-08-29 17:06:08 +02:00
Kay Sievers 2603474ff9 volume_id: remove deprecated functions and bump major version 2008-08-28 23:39:41 +02:00
Kay Sievers ba6929f669 libudev: add udev event monitor API 2008-08-28 23:05:01 +02:00
Kay Sievers 530fc1f526 update INSTALL 2008-08-28 22:58:03 +02:00
Kay Sievers eb1f0e6615 libudev: split source files 2008-08-27 22:02:41 +02:00
Kay Sievers 33a5cc2976 libudev: add library to access udev information 2008-08-27 17:11:58 +02:00
Michal Soltys 41ac13f49f rules: fix md rules for partitioned devices 2008-08-27 16:58:10 +02:00
Kay Sievers 8eb4ab836c rules: optical drives - probe at last session offset, do not probe for raid 2008-08-22 10:11:34 +02:00
Kay Sievers f46a8a98a7 vol_id: make the --offset= argument optional 2008-08-22 10:04:55 +02:00
Kay Sievers 4ade7486a5 build: fix "make dist" 2008-08-13 11:48:42 +02:00
Kay Sievers da8ba809e1 add missing 'v' for "make changelog" 2008-08-13 11:41:25 +02:00
Kay Sievers d7c709c918 update .gitignore
Based on Karel's patch. Thanks!
2008-08-13 11:30:26 +02:00
Karel Zak 4c538fb527 build-sys: remove non-POSIX variable names
Makefile.am:24: shell echo $$(( $(VERSION: non-POSIX variable name
Makefile.am:24: (probably a GNU make extension)
Makefile.am:26: shell echo $$(($(VERSION: non-POSIX variable name
Makefile.am:26: (probably a GNU make extension)
Makefile.am:29: shell echo $$(($(VERSION: non-POSIX variable name
Makefile.am:29: (probably a GNU make extension)

Signed-off-by: Karel Zak <kzak@redhat.com>
2008-08-13 11:13:06 +02:00
Karel Zak a3b55b1c47 build-sys: don't duplicate file names
Almost all filenames in udev/Makefile.am are duplicated in
{udevd,udevadm,test_udev}_SOURCE lists.

Signed-off-by: Karel Zak <kzak@redhat.com>
2008-08-13 11:12:53 +02:00
Kay Sievers e231a5db51 add some warnings 2008-08-12 11:19:32 +02:00
Kay Sievers b7ec267e17 add missing includes 2008-08-12 11:18:39 +02:00
Kay Sievers 21a6e5940d rules: Gentoo update 2008-08-11 16:55:38 +02:00
Kay Sievers 88591d5543 rules: add isdn rules 2008-08-11 10:34:36 +02:00
Kay Sievers 3870186374 rules: add nvram 2008-08-11 10:34:18 +02:00
Kay Sievers 6c84234d26 rules: delete all distro rules which do not use default rules 2008-08-09 22:06:59 +02:00
Kay Sievers 88db390557 fix .gitignore 2008-08-09 14:05:54 +02:00
Kay Sievers 8ef5af2db8 ignore duplicated rules file names 2008-08-09 14:05:01 +02:00
Kay Sievers 661c67953d udevadm: trigger - add missing attr filter to synthesized "subsystem" register events 2008-08-08 22:39:32 +02:00