1c2b0d553fdeca956d374a14487298e62f154aae |
|
06-Nov-2015 |
Evgeny Vereshchagin <evvers@ya.ru> |
test-udev: small fixes
* print '\n' on error
* use UDEVLIBEXECDIR (udev_rules_new uses it too) |
f4f15635ec05293ffcc83a5b39f624bbabbd8fd0 |
|
27-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: move a number of fs operations into fs-util.[ch] |
07630cea1f3a845c09309f197ac7c4f11edd3b62 |
|
24-Oct-2015 |
Lennart Poettering <lennart@poettering.net> |
util-lib: split our string related calls from util.[ch] into its own file string-util.[ch]
There are more than enough calls doing string manipulations to deserve
its own files, hence do something about it.
This patch also sorts the #include blocks of all files that needed to be
updated, according to the sorting suggestions from CODING_STYLE. Since
pretty much every file needs our string manipulation functions this
effectively means that most files have sorted #include blocks now.
Also touches a few unrelated include files. |
72c0a2c255b172ebbb2a2b7dab7c9aec4c9582d9 |
|
15-Jun-2015 |
Lennart Poettering <lennart@poettering.net> |
everywhere: port everything to sigprocmask_many() and friends
This ports a lot of manual code over to sigprocmask_many() and friends.
Also, we now consistly check for sigprocmask() failures with
assert_se(), since the call cannot realistically fail unless there's a
programming error.
Also encloses a few sd_event_add_signal() calls with (void) when we
ignore the return values for it knowingly. |
8314de1d815667b0289423d7e6bfbe8d83759077 |
|
03-Jun-2015 |
Tom Gundersen <teg@jklm.no> |
udevd: simplify signal mask handling
We used to block all signals, and restore the original signal mask before exec'ing
external processes.
Now we just block the signals we care about and unconditionally unblock all signals
before exec'ing. |
8128f2297da0c2fdd82b3d48f049deb01763f8c8 |
|
29-May-2015 |
Tom Gundersen <teg@jklm.no> |
udevd: event - port spawn_wait() to sd-event
This allows us to drop the special sigterm handling in spawn_wait()
as this will now be passed directly to the worker event loop.
We now log failing spawend processes at 'warning' level, and timeouts
are in terms of CLOCK_BOOTTIME when available, otherwise the behavior
is unchanged. |
bf0e00ec58c0d203d0654c083bbe5c6d9cb23328 |
|
18-Mar-2015 |
Tom Gundersen <teg@jklm.no> |
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. |
2eec67acbb00593e414549a7e5b35eb7dd776b1b |
|
23-Feb-2015 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
remove unused includes
This patch removes includes that are not used. The removals were found with
include-what-you-use which checks if any of the symbols from a header is
in use. |
d7b8eec7dc7fe307d3a08b32cf1a9ad4276ce6d5 |
|
28-Dec-2014 |
Lennart Poettering <lennart@poettering.net> |
tmpfiles: add new line type 'v' for creating btrfs subvolumes |
adeba5008eac3105ae59256dedd087ebe006a9e6 |
|
13-Nov-2014 |
Kay Sievers <kay@vrfy.org> |
udev: support ENV{}=="" global property matches |
41b848b0ea674dba135d5d5f82b87d126d967fcf |
|
13-Nov-2014 |
Kay Sievers <kay@vrfy.org> |
udev: move global property handling from libudev to udevd |
cc56fafeebf814ef035e549115cf1850e6473fa5 |
|
23-Oct-2014 |
WaLyong Cho <walyong.cho@samsung.com> |
mac: rename apis with mac_{selinux/smack}_ prefix |
37d522746b67fda0d52111364d81358ce560bcf7 |
|
16-Sep-2014 |
Tom Gundersen <teg@jklm.no> |
libudev: util - drop util_delete_path()
Use rmdir_parents() from src/shared instead. |
671174136525ddf208cdbe75d6d6bd159afa961f |
|
11-Sep-2014 |
Tom Gundersen <teg@jklm.no> |
udev: timeout - warn after a third of the timeout before killing |
5168f84a29b9f0002c9d44133cc9830046bb0619 |
|
11-Aug-2014 |
Lennart Poettering <lennart@poettering.net> |
udev: never bypass our own logging framework and call vsyslog() directly from udev tools |
dd5eddd28a74a49607a8fffcaf960040dba98479 |
|
29-Jul-2014 |
Kay Sievers <kay@vrfy.org> |
udev: unify event timeout handling |
1ea972174baba40dbc80c51cbfc4edc49764b59b |
|
15-May-2014 |
Kay Sievers <kay@vrfy.org> |
udev: do not skip the execution of RUN when renaming a network device fails |
9f6445e34a57c270f013c9416c123e56261553dd |
|
24-Dec-2013 |
Lennart Poettering <lennart@poettering.net> |
log: log_error() and friends add a newline after each line anyway, so avoid including it in the log strings |
f168c27313e4d7b0aabee037dc9c78a5799f0597 |
|
03-Dec-2013 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
trivial coding style clean ups
- Add space between if/for and the opening parentheses
- Place the opening brace on same line as the function (not for udev)
From the CODING_STYLE
Try to use this:
void foo() {
}
instead of this:
void foo()
{
} |
1ca208fb4f93e5869704af1812cbff7130a2fc03 |
|
13-Oct-2013 |
Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> |
Introduce udev object cleanup functions |
090be8653471e1abe3f1cdd32eaad0fbd65f85cd |
|
13-Feb-2013 |
Thomas Hindoe Paaboel Andersen <phomes@gmail.com> |
use streq instead of strcmp |
10efe2cdbe0a5815431217e4b3fd05e5bc65a782 |
|
13-Feb-2013 |
Aleksander Morgado <aleksander@lanedo.com> |
test-udev: include missing.h
We need MS_REC and MS_SHARED defined for a proper compilation, so get them from
'missing.h' if not defined already. |
d5a89d7dc17a5ba5cf4fc71f82963c5c94a31c3d |
|
09-Jan-2013 |
Kay Sievers <kay@vrfy.org> |
udev: move string copy functions to shared/ |
1298001ec5e320f9f9b6a9b925c8939b2579396d |
|
12-Nov-2012 |
Kay Sievers <kay@vrfy.org> |
use the same email address everywhere |
04eaa66837260d86c27c9121b626ad6219690384 |
|
08-Oct-2012 |
Kay Sievers <kay@vrfy.org> |
udev: fix test |
4cb72937d3c10948e4904388ea27efae75775f08 |
|
15-Jul-2012 |
Kay Sievers <kay@vrfy.org> |
udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /run |
0f9963a8b8c1d60a467c0cdc04d5e7bfce9d7c75 |
|
31-May-2012 |
Kay Sievers <kay@vrfy.org> |
Revert "label: fix systemd-udev labeling of /run directory."
This reverts commit 9b5af248f04b6cad8a5bca836e89a39e9f6823d9.
Udev now explicitely labels only files/directories in /dev. The selinux
array API is not released and will not work on other distros at this moment. |
d2e54fae5ca7a0f71b5ac8b356a589ff0a09ea0a |
|
31-May-2012 |
Kay Sievers <kay@vrfy.org> |
mkdir: append _label to all mkdir() calls that explicitly set the selinux context |
9b5af248f04b6cad8a5bca836e89a39e9f6823d9 |
|
31-May-2012 |
Daniel J Walsh <dwalsh@redhat.com> |
label: fix systemd-udev labeling of /run directory.
systemd-udev is currently incorrectly labeling /run/udev/* content because it is
using selinux prefix labeling of /dev. This patch will allow systemd-udev to
use prefix labeling of /dev and /run. |
e9a5ef7cddcfcdb29b5aef3896931132b6fd5165 |
|
17-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
selinux: unify systemd and udev code |
9e13dbae509605dba1bde7e7385086b59acb428e |
|
17-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: replace util_create_path() with mkdir_parents() |
6ada823a9a0979ea145fd70add1007c21caa45c0 |
|
16-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: remove configuration options for /dev, /sys, /run directories |
0b87a07761dcad31583142a3a454c42833e65a09 |
|
14-Apr-2012 |
Kay Sievers <kay@vrfy.org> |
udev: test - move test/ and src/test/ |