Systemd/src
Purushottam choudhary 92b555aaab network: selinux hook handling to enumerate nexthop
When selinux is enabled, the call of
manager_rtnl_enumerate_nexthop() fails.

This fix is to facilitate selinux hook handling for enumerating
nexthop.

In manager_rtnl_enumerate_nexthop() there is a check
if "Not supported" is returned by the send_netlink() call.

This check expects that -EOPNOTSUPP is returned,
the selinux hook seems to return -EINVAL instead.

This happens in kernel older than 5.3
(more specificallytorvalds/linux@65ee00a) as it does not support
nexthop handling through netlink.

And if SELinux is enforced in the order kernel, callingRTM_GETNEXTHOP
returns -EINVAL.

Thus adding a call in the manager_rtnl_enumerate_nexthop for the
extra return -EINVAL.
2020-11-01 23:28:21 +09:00
..
ac-power
activate various: remove assignments of unread variables 2020-09-22 17:58:11 +02:00
analyze analyze: show ungrouped syscalls separately (#17343) 2020-10-14 10:31:59 +02:00
ask-password
backlight various: remove assignments of unread variables 2020-09-22 17:58:11 +02:00
basic Merge pull request #17444 from BtbN/fix_ib_dhcp4 2020-10-29 19:27:29 +01:00
binfmt
boot headers: use custom LicenseRef- spdx tag for various "public domain" files 2020-10-29 11:41:27 +01:00
busctl sd-bus: add custom return code when $XDG_RUNTIME_DIR is not set 2020-10-14 18:28:30 +02:00
cgls
cgroups-agent
cgtop cgtop: Display cpu time in microseonds with --raw 2020-10-21 14:29:48 +02:00
core automount: make user unmounting for automount units more debuggable 2020-10-30 13:10:42 +01:00
coredump tree-wide: assorted coccinelle fixes 2020-10-09 15:02:23 +02:00
cryptsetup Revert "units: add initrd-cryptsetup.target" 2020-10-27 13:36:22 +01:00
debug-generator
delta Merge pull request #16635 from keszybz/do-not-for-each-word 2020-09-09 17:43:38 +02:00
detect-virt
dissect dissect-image: process /usr/ GPT partition type 2020-09-19 21:19:51 +02:00
environment-d-generator
escape tree-wide: correct cases where return log_{error,warning} is used without value 2020-09-08 17:40:46 +02:00
firstboot Add a helper function that does make_salt+crypt_r 2020-09-15 09:30:56 +02:00
fsck tree-wide: assorted coccinelle fixes 2020-10-09 15:02:23 +02:00
fstab-generator fstab-generator: add 'nofail' when NFS 'bg' option is used 2020-09-15 16:24:01 +02:00
fuzz udev: add fuzzer for udev_rule_parse_value 2020-10-29 20:19:29 +08:00
getty-generator getty-generator: use extract_first_word() 2020-09-09 09:34:54 +02:00
gpt-auto-generator dissect: wrap verity settings in new VeritySettings structure 2020-09-17 20:36:23 +09:00
hibernate-resume
home Merge pull request #17472 from keszybz/spdx-license-headers 2020-10-29 19:05:05 +01:00
hostname tree-wide: assorted coccinelle fixes 2020-10-09 15:02:23 +02:00
hwdb
id128
import tree-wide: assorted coccinelle fixes 2020-10-09 15:02:23 +02:00
initctl tree-wide: don't needlessly negate error number passed to bus_error_message() 2020-09-14 21:42:22 +02:00
journal Merge pull request #17472 from keszybz/spdx-license-headers 2020-10-29 19:05:05 +01:00
journal-remote tree-wide: use the usual SPDX header for our own files 2020-10-29 10:47:20 +01:00
kernel-install
libsystemd Merge pull request #17444 from BtbN/fix_ib_dhcp4 2020-10-29 19:27:29 +01:00
libsystemd-network Merge pull request #17444 from BtbN/fix_ib_dhcp4 2020-10-29 19:27:29 +01:00
libudev tree-wide: define iterator inside of the macro 2020-09-08 12:14:05 +02:00
locale tree-wide: don't needlessly negate error number passed to bus_error_message() 2020-09-14 21:42:22 +02:00
login tree-wide: cast result of get_process_comm() to (void) where we ignore it 2020-10-27 14:06:49 +01:00
machine tree-wide: assorted coccinelle fixes 2020-10-09 15:02:23 +02:00
machine-id-setup core: keep machine-id transient until first boot completes 2020-10-19 16:28:22 +02:00
modules-load
mount tree-wide: assorted coccinelle fixes 2020-10-09 15:02:23 +02:00
network network: selinux hook handling to enumerate nexthop 2020-11-01 23:28:21 +09:00
notify
nspawn nspawn: robustly deal with "uninitialized" machine-id 2020-10-19 16:28:21 +02:00
nss-myhostname
nss-mymachines
nss-resolve
nss-systemd tree-wide: assorted coccinelle fixes 2020-10-09 15:02:23 +02:00
oom oomd: make start up swap check more robust 2020-10-22 17:04:26 -07:00
partition repart: correctly handle "uninitialized" machine-id 2020-10-19 16:28:21 +02:00
path sd-path: include 'search' in search pathnames 2020-09-23 10:08:44 +02:00
portable sd-bus: add custom return code when $XDG_RUNTIME_DIR is not set 2020-10-14 18:28:30 +02:00
pstore
quotacheck
random-seed
rc-local-generator meson: RC_LOCAL_SCRIPT_PATH_START to RC_LOCAL_PATH 2020-09-15 17:44:26 +02:00
remount-fs
reply-password
resolve Merge pull request #17472 from keszybz/spdx-license-headers 2020-10-29 19:05:05 +01:00
rfkill
run tree-wide: drop if braces around single line expressions as well 2020-10-09 15:11:55 +02:00
run-generator
shared pid1: various minor watchdog modernizations 2020-10-30 13:02:06 +01:00
shutdown shutdown: also fsync() DM devices before going down 2020-09-23 18:33:48 +02:00
sleep sleep: reword some debug messages 2020-09-08 17:40:46 +02:00
socket-proxy socket-proxy: port to new sd_event_source_set_exit_on_failure() API 2020-10-07 09:40:05 +02:00
stdio-bridge
sulogin-shell
sysctl tree-wide: define iterator inside of the macro 2020-09-08 12:14:05 +02:00
system-update-generator
systemctl tree-wide: cast result of get_process_comm() to (void) where we ignore it 2020-10-27 14:06:49 +01:00
systemd dhcp4: fix DHCP on InfiniBand interfaces 2020-10-28 14:44:43 +01:00
sysusers tmpfiles,sysusers: disable --image= support in standalone versions 2020-10-09 18:03:04 +02:00
sysv-generator tree-wide: define iterator inside of the macro 2020-09-08 12:14:05 +02:00
test Merge pull request #17399 from afq984/udev-escaped-string 2020-10-30 09:52:45 +09:00
time-wait-sync time-wait-sync: drop gpl snail mail boilerplate 2020-10-29 10:47:28 +01:00
timedate
timesync timesyncd: don't attempt to call IP_TOS sockopt on IPv6 sockets 2020-09-11 10:16:39 +02:00
tmpfiles tmpfiles: Handle filesystems without ACL support in more cases. 2020-10-26 10:20:10 +01:00
tty-ask-password-agent tree-wide: define iterator inside of the macro 2020-09-08 12:14:05 +02:00
udev Merge pull request #17399 from afq984/udev-escaped-string 2020-10-30 09:52:45 +09:00
update-done update-done: Do not fail with read-only /etc or /var 2020-10-20 13:46:36 +09:00
update-utmp tree-wide: correct cases where return log_{error,warning} is used without value 2020-09-08 17:40:46 +02:00
user-sessions
userdb
vconsole
veritysetup
version
volatile-root mount-util: rework umount_verbose() to take log level and flags arg 2020-09-23 18:57:36 +02:00
xdg-autostart-generator xdg-autostart-generator: use Type=exec 2020-10-22 11:05:17 +02:00