summaryrefslogtreecommitdiff
path: root/src/basic/cgroup-util.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-09-03 13:29:53 +0200
committerLennart Poettering <lennart@poettering.net>2015-09-04 09:07:30 +0200
commita1f686daf55636f9446a4c017f2488a35595395e (patch)
treefed98d6c92f557097cb35a055dfca55dd573e8d5 /src/basic/cgroup-util.c
parentfea72cc0336f4d90875cdddc1aa9739dcbb174f5 (diff)
util: add new uid_is_valid() call
This simply factors out the uid validation checks from parse_uid() and uses them everywhere. This simply verifies that the passed UID is neither 64bit -1 nor 32bit -1.
Diffstat (limited to 'src/basic/cgroup-util.c')
0 files changed, 0 insertions, 0 deletions