Commit Graph

16 Commits

Author SHA1 Message Date
David Cortarello 6a398265f3 Remove hardcoded path /run and configure using --with-rootrundir=
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-27 11:34:13 -04:00
Tom Gundersen 0199ac5afb libudev: private - introduce udev_device_new_from_synthetic_event()
This allows set_action(), read_uevent_file() and read_db() to be made internal to libudev.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2015-03-18 21:34:18 -04:00
Anthony G. Basile d3ef837153 src/udev: update the definition of udev_event_execute_rule
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-11-16 08:44:52 -05:00
Kay Sievers 5fe138cdda udev: move global property handling from libudev to udevd
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-11-14 20:53:59 -05:00
WaLyong Cho 596470312a mac: rename apis with mac_{selinux/smack}_ prefix
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-10-25 13:53:41 -04:00
Tom Gundersen 39f24db770 libudev: util - drop util_delete_path()
Use rmdir_parents() from src/shared instead.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-09-17 20:10:42 -04:00
Tom Gundersen 7ac0491cdb udev: timeout - warn after a third of the timeout before killing
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-09-13 08:52:01 -04:00
Lennart Poettering c597413eb3 udev: never bypass our own logging framework and call vsyslog() directly from udev tools
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-08-12 14:14:22 -04:00
Anthony G. Basile e35ef44ebe test: use _cleanup_ attribute
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-08-05 10:46:11 -04:00
Kay Sievers 471a5f3411 udev: unify event timeout handling
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-07-30 09:31:38 -04:00
Kay Sievers db992ba3a7 udev: do not skip the execution of RUN when renaming a network device fails
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-05-15 17:25:25 -04:00
Anthony G. Basile 819e122c90 test/test-udev.c: bring in line with upstream
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2014-01-09 18:43:13 -05:00
Anthony G. Basile faa1ff8ef8 Import strxcpyx from upstream
This commit imports strxcpyx from upstream.  This is upstream commit

    d5a89d7dc17a5ba5cf4fc71f82963c5c94a31c3d

Note: there were also some very minor code cleanups to

	accelerometer.c: line 187
	collect.c: lines 35, 140
	libudev-device.c: line 780
	libudev-hwdb.c: line 300

These are part of upstream commits:

	507f22bd0172bff5e5d98145b1419bd472a2c57f
	3cf7b686e6b29f78de0af5929602cae4482f6d49
	67410e9f73a6cdd8453c78b966451b5151def14a

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-07-07 11:16:55 -04:00
Anthony G. Basile 44e6f1bc1a test: improve test-udev.c
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2013-07-06 23:13:39 -04:00
Anthony G. Basile 0342e13a32 Fix test-udev.c to build and work on a uclibc system
Two issues are addressed: 1) Makefile.am has to provide config.h
information on HAVE_UNSHARE to test-udev.c.  2) MS_PRIVATE and
MS_REC are defined in <linux/fs.h> which must be directly included
on a uclibc system because of different header stackings.  Its
inclusion makes no difference on a glibc system.

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Signed-off-by: Ian Stakenvicius <axs@gentoo.org>
2013-01-22 14:29:53 -05:00
Anthony G. Basile 73e31d7ae7 Fix paths: test/udev-test.pl now works under sudo make distcheck
We move the test-udev.c and test-libudev.c from src/test to test.
This corrects the a problem with hard coded relative paths finding
the test/test/sys directory created by test/udev-test.pl.

This commit draws heavily from nvinson patch in

 https://github.com/gentoo/eudev/pull/20

Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
2012-11-24 23:47:06 -05:00