Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-28 | treewide: no need to negate errno for log_*_errno() | Michal Schmidt | |
It corrrectly handles both positive and negative errno values. | |||
2014-11-28 | treewide: auto-convert the simple cases to log_*_errno() | Michal Schmidt | |
As a followup to 086891e5c1 "log: add an "error" parameter to all low-level logging calls and intrdouce log_error_errno() as log calls that take error numbers", use sed to convert the simple cases to use the new macros: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\("(.*)%s"(.*), strerror\(-([a-zA-Z_]+)\)\);/log_\1_errno(-\4, "\2%m"\3);/' Multi-line log_*() invocations are not covered. And we also should add log_unit_*_errno(). | |||
2014-10-24 | udev: do NOT re-label smack | WaLyong Cho | |
If selinux is disabled and smack is only enabled, smack label is relable-ed by label_fix. To avoid, make only be labeled for selinux. | |||
2014-10-23 | selinux: clean up selinux label function naming | Lennart Poettering | |
2014-10-23 | smack: rework smack APIs a bit | Lennart Poettering | |
a) always return negative errno error codes b) always become a noop if smack is off c) always take a NULL label as a request to remove it | |||
2014-10-23 | mac: rename all calls that apply a label mac_{selinux|smack}_apply_xyz(), ↵ | Lennart Poettering | |
and all that reset it to defaults mac_{selinux|smack}_fix() Let's clean up the naming schemes a bit and use the same one for SMACK and for SELINUX. | |||
2014-10-23 | mac: rename apis with mac_{selinux/smack}_ prefix | WaLyong Cho | |
2014-09-18 | udev: node - warn if chmod/chown fails | Tom Gundersen | |
No functional change, just log the warning. Fonud by Coverity. Fixes CID #1237544. | |||
2014-09-16 | libudev: util - drop util_delete_path() | Tom Gundersen | |
Use rmdir_parents() from src/shared instead. | |||
2014-07-29 | udev: place opening { at the same line as the function declaration | Kay Sievers | |
2013-12-24 | log: log_error() and friends add a newline after each line anyway, so avoid ↵ | Lennart Poettering | |
including it in the log strings | |||
2013-10-11 | smack: minimize ifdef use, and move all labeling to smack-util.c | Kay Sievers | |
2013-10-10 | security: rework selinux, smack, ima, apparmor detection logic | Lennart Poettering | |
Always cache the results, and bypass low-level security calls when the respective subsystem is not enabled. | |||
2013-10-09 | udev: add SECLABEL{selinux}= support | Kay Sievers | |
2013-10-09 | udev: reset Linux Security Module labels if no custom rules are given | Kay Sievers | |
2013-10-08 | udev: support custom Linux Security Module labels for device nodes | Kay Sievers | |
2013-02-13 | use streq instead of strcmp | Thomas Hindoe Paaboel Andersen | |
2013-02-12 | udev: use unique names for temporary files created in /dev | Kay Sievers | |
On Tue, Feb 12, 2013 at 2:18 PM, Robert Milasan <rmilasan@suse.com> wrote: > Under some circumstances udev mixed with multipath fails: > > udevd-work[1376]: > symlink(../../sdk, /dev/disk/by-id/scsi-36005076305ffc0670000000000002842.udev-tmp) > failed: File exists udevd-work[1432]: > rename(/dev/disk/by-id/scsi-36005076305ffc0850000000000000a88.udev-tmp, /dev/disk/by-id/scsi-36005076305ffc0850000000000000a88) > failed: No such file or directory > > This is non-fatal, but there is no point of created the symlink or > renaming the symlink if it already exists. > > Reference: https://bugzilla.novell.com/show_bug.cgi?id=791503 It looke like this now: stat("/dev/disk/by-id", {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0 symlink("../../sda", "/dev/disk/by-id/ata-INTEL...N.tmp-b8:0") = 0 rename("/dev/disk/by-id/ata-INTEL...N.tmp-b8:0", "/dev/disk/by-id/ata-INTEL...N") = 0 | |||
2013-01-27 | udev: set default rules permissions only at "add" events | Kay Sievers | |
2013-01-09 | udev: move string copy functions to shared/ | Kay Sievers | |
2013-01-04 | udev: set device node permissions only at "add" events | Kay Sievers | |
2012-11-12 | use the same email address everywhere | Kay Sievers | |
2012-10-08 | udev: remove SYMLINK "unique" option | Kay Sievers | |
2012-08-10 | udev: export udev_device_new_from_device_id() | Kay Sievers | |
2012-07-15 | udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /run | Kay Sievers | |
2012-07-09 | udev: never touch device nodes with symlink requests | Kay Sievers | |
2012-07-03 | mount-setup: don't complain if we try to fix the label of a dir beneath a ↵ | Lennart Poettering | |
mount but can't due to EROFS | |||
2012-06-05 | udev: remove remaining selinux labeling for file in /run | Kay Sievers | |
2012-05-31 | mkdir: append _label to all mkdir() calls that explicitly set the selinux ↵ | Kay Sievers | |
context | |||
2012-04-17 | selinux: unify systemd and udev code | Kay Sievers | |
2012-04-17 | udev: replace util_create_path() with mkdir_parents() | Kay Sievers | |
2012-04-16 | udev: remove configuration options for /dev, /sys, /run directories | Kay Sievers | |
2012-04-10 | udev: fix gcc warnings showing up after adding $(AM_CFLAGS) | Kay Sievers | |
2012-04-08 | udev: switch to systemd logging functions | Kay Sievers | |
2012-04-04 | move imported udev into place | Kay Sievers | |