summaryrefslogtreecommitdiff
path: root/src/hostname.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2014-07-01 00:12:41 +0900
committerPádraig Brady <P@draigBrady.com>2014-07-01 15:45:53 +0100
commite4081e44e0dcc4bfe11d0da0ae47518df087349d (patch)
treeabb29dd2a28dc5cd95d3511ba25251cea2ed6af7 /src/hostname.c
parent3e89d5bb9b34861c17cd23f5efd8323eec4f0bab (diff)
downloadcoreutils-e4081e44e0dcc4bfe11d0da0ae47518df087349d.tar.xz
chcon: use security_check_context() for context validation
context_new() and _free() are used for checking validity of a specified context. libselinux provides security_check_context for this purpose so use it. Note that context_new() can fail for a valid context - e.g. ENOMEM. * src/chcon.c (main): Use security_check_context().
Diffstat (limited to 'src/hostname.c')
0 files changed, 0 insertions, 0 deletions