1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-08 11:27:32 +03:00
systemd/src
Lennart Poettering 7f6e12b033 tree-wide: drop redundant if checks before safe_close()
Replace this:

        if (fd >= 0)
                safe_close(fd);

by this:

        safe_close(fd);
2015-09-09 08:20:19 +02:00
..
ac-power
activate tree-wide: whenever we fork off a foreign child process reset signal mask/handlers 2015-06-10 01:28:58 +02:00
analyze tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
ask-password
backlight fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
basic tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
binfmt tree-wide: fix write_string_file() user that should not create files 2015-07-06 19:27:20 -04:00
boot tree-wide: we place the opening bracket on the same line as the function name 2015-08-27 17:48:24 +02:00
bootchart tree-wide: convert bootchart and lldp code to use clock_boottime_or_monotonic() 2015-08-03 17:40:46 +02:00
bus-proxyd Revert "sd-bus: do not connect to dbus-1 socket when kdbus is available" 2015-08-27 16:32:22 +02:00
cgls core: unified cgroup hierarchy support 2015-09-01 23:52:27 +02:00
cgroups-agent sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
cgtop core: unified cgroup hierarchy support 2015-09-01 23:52:27 +02:00
compat-libs
core tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
cryptsetup tree-wide: introduce mfree() 2015-07-31 19:56:38 +02:00
dbus1-generator Revert "sd-bus: do not connect to dbus-1 socket when kdbus is available" 2015-08-27 16:32:22 +02:00
debug-generator
delta tree-wide: whenever we fork off a foreign child process reset signal mask/handlers 2015-06-10 01:28:58 +02:00
detect-virt basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
escape escape: fix exit code 2015-07-01 23:46:42 -07:00
firstboot Merge branch 'hostnamectl-dot-v2' 2015-08-05 21:02:41 -04:00
fsck sd-bus: introduce new sd_bus_flush_close_unref() call 2015-07-03 19:49:03 +02:00
fstab-generator basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
getty-generator basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
gpt-auto-generator basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
hibernate-resume fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
hostname tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
hwdb Revert "hwdb: actually search /run/udev/hwdb.d" 2015-06-09 11:26:06 +02:00
import tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
initctl
journal treewide: fix typos 2015-09-08 12:55:50 +02:00
journal-remote tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
kernel-install 90-loaderentry.install: fixup BOOT_OPTIONS 2015-06-02 16:10:06 +02:00
libsystemd tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
libsystemd-network basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
libudev tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
locale basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
login tree-wide: drop redundant if checks before safe_close() 2015-09-09 08:20:19 +02:00
machine tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
machine-id-commit
machine-id-setup
modules-load modules-load: fix memory leak 2015-05-13 14:07:26 +02:00
network tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
notify
nspawn nspawn: also close uid shift socket in the parent 2015-09-08 01:22:46 +02:00
nss-myhostname hostname-util: introduce new is_gateway_hostname() call 2015-08-21 12:07:13 +02:00
nss-mymachines util: make machine_name_is_valid() a macro and move it to hostname-util.h 2015-08-24 22:46:45 +02:00
nss-resolve resolved: rework synthesizing logic 2015-08-21 12:41:08 +02:00
path
quotacheck tree-wide: whenever we fork off a foreign child process reset signal mask/handlers 2015-06-10 01:28:58 +02:00
random-seed
rc-local-generator
remount-fs tree-wide: whenever we fork off a foreign child process reset signal mask/handlers 2015-06-10 01:28:58 +02:00
reply-password
resolve treewide: fix typos 2015-09-08 12:55:50 +02:00
resolve-host resolve-host: support parsing numeric interface names 2015-08-24 23:46:24 +02:00
rfkill fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
run machined: call unlockpt() in container, not host 2015-09-01 20:40:24 +02:00
shared tree-wide: use coccinelle to patch a lot of code to use mfree() 2015-09-09 08:19:27 +02:00
sleep fileio: consolidate write_string_file*() 2015-07-06 19:19:25 -04:00
socket-proxy
sysctl sysctl: reword warning message a bit 2015-08-05 11:02:24 +03:00
system-update-generator
systemctl systemctl: add ConsistsOf as the inverse of PartOf 2015-09-08 03:02:49 +03:00
systemd sd-login: minor header commenting improvements 2015-09-05 14:56:23 +02:00
sysusers util: Don't interpret quotes by default in extract_first_word 2015-08-07 15:50:42 +00:00
sysv-generator sysv-generator: fix coding-style 2015-07-01 13:02:58 +02:00
test basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
timedate bus-util: support details in CheckAuthorization calls 2015-09-06 00:07:16 +10:00
timesync timesyncd: remove RLIMIT_NPROC 2015-07-31 15:33:49 +02:00
tmpfiles util: Don't interpret quotes by default in extract_first_word 2015-08-07 15:50:42 +00:00
tty-ask-password-agent tree-wide: introduce mfree() 2015-07-31 19:56:38 +02:00
udev tree-wide: drop redundant if checks before safe_close() 2015-09-09 08:20:19 +02:00
update-done
update-utmp Bug #944: Deletion of unnecessary checks before a few calls of systemd functions 2015-08-17 10:45:30 +02:00
user-sessions user-sessions: fix write_string_file() fallout 2015-07-21 15:59:02 +02:00
vconsole basic: rework virtualization detection API 2015-09-07 13:42:47 +02:00
.gitignore
Makefile