1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 06:25:37 +03:00
systemd/src
Yu Watanabe e4e1353c25 sd-device: refuse O_DIRECTORY returned from path_extract_filename()
In both cases, it is expected that the symlink targets do not end with '/'.

Addresses https://github.com/systemd/systemd/pull/23089#discussion_r853007218.
2022-04-20 01:43:27 +09:00
..
ac-power
activate strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
analyze analyze: Fix verify exit status regression 2022-04-06 23:16:02 +09:00
ask-password strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
backlight tree-wide: unify some code that looks for --help in the command line 2022-03-31 11:44:46 +02:00
basic path-util: make readlink_value() refuse O_DIRECTORY returned from path_extract_filename() 2022-04-20 01:40:39 +09:00
binfmt strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
boot boot: Add missing continue statements 2022-04-14 19:48:51 +02:00
busctl strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
cgls strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
cgroups-agent
cgtop strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
core Add ConditionCPUFeature to load-fragment-gperf.gperf (#23076) 2022-04-14 15:30:03 +09:00
coredump tree-wide: add a space after if, switch, for, and while 2022-04-01 22:48:42 +09:00
creds systemd-creds: fix name of env var 2022-04-08 20:13:03 +02:00
cryptenroll strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
cryptsetup Merge pull request #22919 from poettering/cryptsetup-tweaks 2022-03-31 16:50:37 +02:00
debug-generator strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
delta strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
detect-virt virt: make virtualization enum a named type 2022-04-04 11:36:26 +02:00
dissect tree-wide: take BSD lock on loopback devices we dissect/mount/operate on 2022-04-10 22:52:29 +09:00
environment-d-generator strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
escape strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
firstboot firstboot: make --help output fit in 80 columns 2022-04-05 22:18:31 +02:00
fsck
fstab-generator strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
fundamental tree-wide: add a space after if, switch, for, and while 2022-04-01 22:48:42 +09:00
fuzz
getty-generator strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
gpt-auto-generator devnum-util: define helper macros for formatting devnum major/minor pairs 2022-04-13 16:26:31 +02:00
hibernate-resume devnum-util: define helper macros for formatting devnum major/minor pairs 2022-04-13 16:26:31 +02:00
home devnum-util: define helper macros for formatting devnum major/minor pairs 2022-04-13 16:26:31 +02:00
hostname hostnamed: display firmware version 2022-04-19 13:54:16 +02:00
hwdb hwdb: fix parsing options 2022-04-06 04:03:32 +09:00
id128 strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
import time-util: assume CLOCK_BOOTTIME always exists 2022-03-28 16:55:41 +02:00
initctl
integritysetup integritysetup: also validate volume name 2022-03-31 11:44:46 +02:00
journal journald: make use of CLAMP() in cache_space_refresh() 2022-04-04 17:51:34 +02:00
journal-remote Move path_simplify_and_warn() to new shared/parse-helpers.c 2022-04-07 18:25:55 +02:00
kernel-install meson: make kernel-install a template file, add --version, add to tests 2022-04-05 22:18:31 +02:00
libsystemd sd-device: refuse O_DIRECTORY returned from path_extract_filename() 2022-04-20 01:43:27 +09:00
libsystemd-network sd-ipv4acd: actually drop the arp packet from one of the host interface 2022-04-07 15:02:21 +09:00
libudev meson: also allow setting GIT_VERSION via templates 2022-04-05 22:18:31 +02:00
locale strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
login basic: split out dev_t related calls into new devno-util.[ch] 2022-04-13 16:26:31 +02:00
machine machine: update to use new-style sd-bus macros (#23012) 2022-04-08 21:43:18 +01:00
machine-id-setup
modules-load strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
mount
network network: l2tp: refuse null address 2022-04-17 09:31:35 +09:00
notify notify: remove spurious whitespace 2022-04-01 15:23:43 +02:00
nspawn nspawn: fix locating config files with --ephemeral 2022-04-19 06:17:16 +09:00
nss-myhostname
nss-mymachines
nss-resolve
nss-systemd strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
oom oomd: calculate 'used' memory with MemAvailable instead of MemFree 2022-04-05 09:51:25 -04:00
partition basic: split out dev_t related calls into new devno-util.[ch] 2022-04-13 16:26:31 +02:00
path
portable tree-wide: take BSD lock on loopback devices we dissect/mount/operate on 2022-04-10 22:52:29 +09:00
pstore meson: do not use split() in file lists 2022-03-02 14:49:32 +01:00
quotacheck
random-seed
rc-local-generator
remount-fs
reply-password
resolve resolve: fix typo in dns_class_is_pseudo() 2022-04-18 07:01:17 +09:00
rfkill errno-util: add ERRNO_IS_DEVICE_ABSENT() macro 2022-03-24 16:19:48 +01:00
rpm meson: also allow setting GIT_VERSION via templates 2022-04-05 22:18:31 +02:00
run strv: declare iterator of FOREACH_STRING() in the loop 2022-03-23 11:50:18 +01:00
run-generator strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
shared shared/install: fix crash when reenable is called without --root 2022-04-15 18:26:07 +02:00
shutdown shutdown: get only active md arrays. 2022-04-06 21:56:40 +01:00
sleep tree-wide: add a space after if, switch, for, and while 2022-04-01 22:48:42 +09:00
socket-proxy
stdio-bridge
sulogin-shell
sysctl strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
sysext basic: split out dev_t related calls into new devno-util.[ch] 2022-04-13 16:26:31 +02:00
system-update-generator
systemctl systemctl: colorize "enabled" in 'systemctl status ...' 2022-04-17 14:30:46 +09:00
systemd dhcp: make option names singular 2022-04-03 19:50:02 +09:00
sysupdate basic: split out dev_t related calls into new devno-util.[ch] 2022-04-13 16:26:31 +02:00
sysusers uid-range: use size_t for array size 2022-04-01 11:20:12 +02:00
sysv-generator Rename UnitFileScope to LookupScope 2022-03-29 16:17:57 +02:00
test Merge pull request #22759 from msekletar/issue-18077-long-sysfs-paths-hashing 2022-04-13 22:21:38 +02:00
timedate timedate: update to use new-style sd-bus macros 2022-04-11 23:10:06 +09:00
timesync timesync: update to use new-style sd-bus macros 2022-04-11 10:50:33 +02:00
tmpfiles Merge pull request #23021 from fbuihuu/tmpfiles-fix-precedence-with-plus-sign 2022-04-16 01:36:51 +09:00
tty-ask-password-agent strv: make iterator in STRV_FOREACH() declaread in the loop 2022-03-19 08:33:33 +09:00
udev sd-device: reset sysname and sysnum on renaming 2022-04-18 04:34:14 +09:00
update-done
update-utmp
user-sessions
userdb userdbctl: also show available UID range in current userns 2022-04-01 11:21:44 +02:00
vconsole meson: also allow setting GIT_VERSION via templates 2022-04-05 22:18:31 +02:00
veritysetup veritysetup: fix memory corruption 2022-04-02 02:22:39 +09:00
version
volatile-root basic: split out dev_t related calls into new devno-util.[ch] 2022-04-13 16:26:31 +02:00
xdg-autostart-generator xdg-autostart-service: Fix binary escaping and simplify code a bit 2022-03-25 14:50:41 +09:00