diff options
author | Namhyung Kim <namhyung@gmail.com> | 2014-07-01 00:12:41 +0900 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2014-07-01 15:45:53 +0100 |
commit | e4081e44e0dcc4bfe11d0da0ae47518df087349d (patch) | |
tree | abb29dd2a28dc5cd95d3511ba25251cea2ed6af7 /src/operand2sig.h | |
parent | 3e89d5bb9b34861c17cd23f5efd8323eec4f0bab (diff) | |
download | coreutils-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/operand2sig.h')
0 files changed, 0 insertions, 0 deletions