From adcfd944a8e7b64e11672ef8d0d077bb8de1b666 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 20 Jan 2007 16:33:00 +0100 Subject: [PATCH] * src/system.h (GETOPT_SELINUX_CONTEXT_OPTION_DECL): Define. --- ChangeLog-selinux | 1 + src/system.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog-selinux b/ChangeLog-selinux index de9cc2fae..f1eba9708 100644 --- a/ChangeLog-selinux +++ b/ChangeLog-selinux @@ -28,6 +28,7 @@ (main): Honor new options. * src/Makefile.am (mv_LDADD, cp_LDADD, ginstall_LDADD): Add $(LIB_SELINUX). + * src/system.h (GETOPT_SELINUX_CONTEXT_OPTION_DECL): Define. * tests/misc/selinux [VERBOSE]: Print version info for each of the tested tools, not just ls. diff --git a/src/system.h b/src/system.h index e72e4811b..114ec7a42 100644 --- a/src/system.h +++ b/src/system.h @@ -399,6 +399,8 @@ enum "help", no_argument, NULL, GETOPT_HELP_CHAR #define GETOPT_VERSION_OPTION_DECL \ "version", no_argument, NULL, GETOPT_VERSION_CHAR +#define GETOPT_SELINUX_CONTEXT_OPTION_DECL \ + "context", required_argument, NULL, 'Z' #define case_GETOPT_HELP_CHAR \ case GETOPT_HELP_CHAR: \ -- 2.34.1