]> git.ipfire.org Git - thirdparty/systemd.git/commit
bpf: Fix error handling 22757/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 15 Mar 2022 17:14:19 +0000 (17:14 +0000)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 15 Mar 2022 17:14:19 +0000 (17:14 +0000)
commitcc20479f422d0b10556c2636ae60f7c9483094f8
treeaa3043704ca0a1d1e07b60dace82e391121f036d
parent8f048bb76a350473fb81a4a100aa5aafa7d3f824
bpf: Fix error handling

The __open() functions actually set errno on failure so let's
update the error handling to account for that.
src/core/bpf-socket-bind.c
src/core/restrict-ifaces.c