Systemd/src/udev
Ronny Chevalier c9732bae8f udev: silence TOCTOU warning when creating a directory
CID#979416. There is no real race here to fix, but lets make coverity
happy and rework the code.

Note that we still fail if the directory is removed _after_ we ran
mkdir(), so the same race is still there. Coverity is complaining, though.
Rewrite the code to make it happy.

(David: rewrote the commit-message to note that this is not a race. If I'm
        wrong, blame me, not Ronny!)
2014-11-16 19:38:08 +01:00
..
accelerometer udev: switch to systemd logging functions 2014-11-13 13:12:57 +01:00
ata_id udev: switch to systemd logging functions 2014-11-13 13:12:57 +01:00
cdrom_id udev: switch to systemd logging functions 2014-11-13 13:12:57 +01:00
collect udev: silence TOCTOU warning when creating a directory 2014-11-16 19:38:08 +01:00
mtd_probe everywhere: always use O_CLOEXEC where it makes sense 2014-02-13 14:59:56 +01:00
net util: simplify proc_cmdline() to reuse get_process_cmdline() 2014-11-07 01:19:56 +01:00
scsi_id udev: switch to systemd logging functions 2014-11-13 13:12:57 +01:00
v4l_id Remove duplicate includes 2013-11-18 20:28:55 -05:00
.gitignore udev: add builtin 'keyboard' to manage key mappings 2013-07-10 22:52:55 +02:00
.vimrc import udev repository 2012-04-03 21:08:04 +02:00
Makefile build-sys: add stub makefiles to all subdirs to ease development with emacs 2012-04-13 21:37:59 +02:00
udev-builtin-blkid.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin-btrfs.c Move BTRFS_IOC_DEVICES_READY to missing.h 2014-08-03 00:28:12 -04:00
udev-builtin-hwdb.c udev: hwdb - do not look at "usb_device" parents 2014-08-26 18:27:36 +02:00
udev-builtin-input_id.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin-keyboard.c udev-builtin-keyboard: Allow numeric key codes 2014-08-05 10:40:46 +02:00
udev-builtin-kmod.c udev: move global property handling from libudev to udevd 2014-11-13 13:50:01 +01:00
udev-builtin-net_id.c udev: modernize net_id builtin a bit 2014-08-12 01:54:39 +02:00
udev-builtin-net_setup_link.c udev: net_setup_link - export the .link filename applied to the link 2014-09-08 15:09:07 +02:00
udev-builtin-path_id.c udev: path_id - update comments 2014-10-30 01:20:56 +01:00
udev-builtin-uaccess.c Always prefer our headers to system headers 2014-07-31 08:56:03 -04:00
udev-builtin-usb_id.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev-builtin.c udev: remove userspace firmware loading support 2014-08-30 11:34:20 +02:00
udev-ctrl.c udev: fix typos 2014-09-18 20:25:33 +02:00
udev-event.c udev: support ENV{}=="" global property matches 2014-11-13 20:35:06 +01:00
udev-node.c udev: do NOT re-label smack 2014-10-24 13:56:24 +02:00
udev-rules.c udev: support ENV{}=="" global property matches 2014-11-13 20:35:06 +01:00
udev-watch.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udev.conf man: add udev.conf(5) 2014-07-31 08:56:03 -04:00
udev.h udev: support ENV{}=="" global property matches 2014-11-13 20:35:06 +01:00
udev.pc.in udev.pc: install udev files to /lib/udev rather than /lib/systemd 2012-05-27 15:24:20 +02:00
udevadm-control.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udevadm-hwdb.c udev hwdb: Support shipping pre-compiled database in system images 2014-10-28 14:28:18 +01:00
udevadm-info.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udevadm-monitor.c udev: place opening { at the same line as the function declaration 2014-07-29 15:49:25 +02:00
udevadm-settle.c udev: never bypass our own logging framework and call vsyslog() directly from udev tools 2014-08-11 20:13:38 +02:00
udevadm-test-builtin.c udev: never bypass our own logging framework and call vsyslog() directly from udev tools 2014-08-11 20:13:38 +02:00
udevadm-test.c udev: support ENV{}=="" global property matches 2014-11-13 20:35:06 +01:00
udevadm-trigger.c udev: never bypass our own logging framework and call vsyslog() directly from udev tools 2014-08-11 20:13:38 +02:00
udevadm.c udev: move global property handling from libudev to udevd 2014-11-13 13:50:01 +01:00
udevd.c udev: support ENV{}=="" global property matches 2014-11-13 20:35:06 +01:00