summaryrefslogtreecommitdiff
path: root/src/udev/cdrom_id/cdrom_id.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-10-27 21:31:29 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-10-27 22:30:43 -0400
commitdec23413ecc90d4a547aa41f02af0482b4513495 (patch)
tree7a910ad2e9a8fa182e3c2f15e75224f3ac1b4bf2 /src/udev/cdrom_id/cdrom_id.c
parent3769415e6573da64fb80e31f4bb3f850cd99031e (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/udev/cdrom_id/cdrom_id.c')
0 files changed, 0 insertions, 0 deletions