diff options
author | Simon Rettberg | 2021-04-08 14:19:37 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-04-14 13:17:59 +0200 |
commit | 18a8f69e9a990279215f6f5de8a05765a875b5f1 (patch) | |
tree | f6d88cff353a1347d5396939f815c5af6e191583 /src/server | |
parent | [KERNEL] Deduplicate code, clean up, split into functions (diff) | |
download | dnbd3-18a8f69e9a990279215f6f5de8a05765a875b5f1.tar.gz dnbd3-18a8f69e9a990279215f6f5de8a05765a875b5f1.tar.xz dnbd3-18a8f69e9a990279215f6f5de8a05765a875b5f1.zip |
[CLIENT] Use SO_GETPEERCRED instead of braindead setuid crap
If you need daemon mode, run as root with --daemon, normal users can
then request devices to be connected using the same binary WITHOUT
havind the suid bit set on it.
Diffstat (limited to 'src/server')
0 files changed, 0 insertions, 0 deletions