Lennart Poettering
88fae6e044
shared: in code that might get called from suid programs use __secure_getenv() rather than getenv()
...
It's better to be safe than sorry.
2012-09-03 18:59:04 -07:00
Kay Sievers
dbf61afb29
udev: export udev_device_new_from_device_id()
2012-08-10 19:56:57 +02:00
Lennart Poettering
64825d3c58
fix a couple of issues found with llvm-analyze
2012-08-08 23:54:21 +02:00
Arvydas Sidorenko
a267bebf46
libudev-queue.c: simplified open_queue_file
...
There is no apparent justification for using util_strscpyl
on the filename since it's a plain hardcoded path.
Older versions used:
util_strscpyl(filename, sizeof(filename), SOME_DIR, "/queue.bin", NULL);
and when changed nobody bothered to simplify it.
2012-07-31 11:49:10 +02:00
Kay Sievers
4cb72937d3
udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /run
2012-07-15 22:10:46 +02:00
Kay Sievers
c6eefe3664
udev: avoid creating /dev/kmsg with fopen() to support CONFIG_PRINTK=n
2012-07-14 00:33:59 +02:00
Kay Sievers
47ef94ac5f
udev: add some O_CLOEXEC
2012-07-05 17:33:24 +02:00
Kay Sievers
b30b426025
libudev: clarify that udev_monitor_receive_device() is non-blocking
...
Based on a patch from: Sam Thursfield <ssssam@gmail.com>
https://bugs.freedesktop.org/show_bug.cgi?id=51202
2012-06-18 15:58:44 +02:00
Kay Sievers
3cbd5f6be1
udev: remove remaining selinux labeling for file in /run
2012-06-05 17:31:32 +02:00
Kay Sievers
d2e54fae5c
mkdir: append _label to all mkdir() calls that explicitly set the selinux context
2012-05-31 12:40:20 +02:00
Kay Sievers
ee56538fa7
udev: silent gcc warnings
2012-05-25 14:25:46 +02:00
Kay Sievers
c195956988
udev: update docs, NEWS
2012-05-15 23:44:28 +02:00
Kay Sievers
20bbd54f60
udev: libudev - bump soname, remove deprecated functions, introduce symbol versions
2012-05-15 23:06:26 +02:00
Lucas De Marchi
b27ee00bf5
udev: use container_of() macro
2012-04-29 19:15:08 +02:00
Kay Sievers
c8f8394a93
libudev: prefix log macros with 'udev_'
2012-04-26 17:43:48 +02:00
Kay Sievers
21dbe43aec
docs: hook-up gtk-doc to 'make check'
2012-04-20 03:25:36 +02:00
Kay Sievers
e9a5ef7cdd
selinux: unify systemd and udev code
2012-04-17 16:05:28 +02:00
Kay Sievers
3b49d09a3d
udev: kill udev_selinux_setfscreateconat()
2012-04-17 02:20:32 +02:00
Kay Sievers
9e13dbae50
udev: replace util_create_path() with mkdir_parents()
2012-04-17 01:09:39 +02:00
Kay Sievers
33502ffe2e
udev: use startswith() and streq()
2012-04-16 20:54:17 +02:00
Kay Sievers
6ada823a9a
udev: remove configuration options for /dev, /sys, /run directories
2012-04-16 19:20:57 +02:00
Kay Sievers
8fef0ff25c
udev: replace ARRAY_SIZE() with ELEMENTSOF()
2012-04-16 19:20:57 +02:00
Kay Sievers
80172751b7
udev: udev_monitor_new_from_socket() - log error and remove from public header
2012-04-15 18:52:42 +02:00
Kay Sievers
3b6d9a7c50
update .gitignore
2012-04-13 21:58:01 +02:00
Kay Sievers
5f86ae4385
update .gitignore
2012-04-13 21:49:25 +02:00
Lennart Poettering
b562f5a57d
build-sys: add stub makefiles to all subdirs to ease development with emacs
2012-04-13 21:37:59 +02:00
Kay Sievers
bb061708d5
udev: move libudev, gudev to src/; move gudev/docs/, udev/docs/ to to docs/
2012-04-13 19:22:06 +02:00