aboutsummaryrefslogtreecommitdiff
path: root/selinux/matchpathcon.c
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2012-03-22 14:11:12 +0000
committerRon Yorston <rmy@pobox.com>2012-03-22 14:11:12 +0000
commit67758035a4fe040c6ac69b39d61bcd6bddd7b827 (patch)
treea4a1db7f54c16d12fabe2626b8f1e235cd694e9e /selinux/matchpathcon.c
parent811c449748d5bd0505f8510e5582892f94ac0cda (diff)
parentb83c9704128dd106071184e4b00335a3b8486857 (diff)
downloadbusybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.gz
busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.tar.bz2
busybox-w32-67758035a4fe040c6ac69b39d61bcd6bddd7b827.zip
Merge commit 'b83c9704128dd106071184e4b00335a3b8486857' into merge
Diffstat (limited to 'selinux/matchpathcon.c')
-rw-r--r--selinux/matchpathcon.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/selinux/matchpathcon.c b/selinux/matchpathcon.c
index ec49077c8..9e5728eb3 100644
--- a/selinux/matchpathcon.c
+++ b/selinux/matchpathcon.c
@@ -5,6 +5,16 @@
5 * 5 *
6 * Licensed under GPLv2, see file LICENSE in this source tree. 6 * Licensed under GPLv2, see file LICENSE in this source tree.
7 */ 7 */
8
9//usage:#define matchpathcon_trivial_usage
10//usage: "[-n] [-N] [-f file_contexts_file] [-p prefix] [-V]"
11//usage:#define matchpathcon_full_usage "\n\n"
12//usage: " -n Don't display path"
13//usage: "\n -N Don't use translations"
14//usage: "\n -f Use alternate file_context file"
15//usage: "\n -p Use prefix to speed translations"
16//usage: "\n -V Verify file context on disk matches defaults"
17
8#include "libbb.h" 18#include "libbb.h"
9 19
10static int print_matchpathcon(char *path, int noprint) 20static int print_matchpathcon(char *path, int noprint)