chiark / gitweb /
tree-wide: use {pid,uid,gid}_is_valid() where appropriate
authorLennart Poettering <lennart@poettering.net>
Sat, 30 Dec 2017 14:15:03 +0000 (15:15 +0100)
committerSven Eden <yamakuzure@gmx.net>
Wed, 30 May 2018 05:49:53 +0000 (07:49 +0200)
commit4b76c3ea45385ec87622844cc498e12dbeb252bd
treeeb48f4ada0c8ce544edf7b9114fba906e12e7812
parent5df6537480e6da41d19bf11013df3639843539be
tree-wide: use {pid,uid,gid}_is_valid() where appropriate

Also, drop UID/GID validity checks from getpeercred() as the kernel will
never pass us invalid UID/GID on userns, but the overflow UID/GID
instead. Add a comment about this.
src/basic/socket-util.c
src/libelogind/sd-bus/bus-control.c