diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-10-27 21:31:29 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-10-27 22:30:43 -0400 |
commit | dec23413ecc90d4a547aa41f02af0482b4513495 (patch) | |
tree | 7a910ad2e9a8fa182e3c2f15e75224f3ac1b4bf2 /src/nss-resolve/nss-resolve.c | |
parent | 3769415e6573da64fb80e31f4bb3f850cd99031e (diff) |
selinux: make sure we do not try to print missing fields
UID or GID of 0 is valid, so we cannot use that to distinguish whether
calls to sd_bus_creds_get_* succeeded, and the return value from the
function is the only way to know about missing fields. Print "n/a" if
the fields are missing.
CID #1238779
Diffstat (limited to 'src/nss-resolve/nss-resolve.c')
0 files changed, 0 insertions, 0 deletions