diff options
author | 2011-10-19 20:04:59 -0400 | |
---|---|---|
committer | 2011-10-19 20:04:59 -0400 | |
commit | f79cb2f55d6596180a902e6fb1afb3c5bfb62a5f (patch) | |
tree | 18e8446e24edf07bb873f8b824acc0cc84612553 /src | |
parent | src/paxctl-ng.c: add XT_PAX flag support (diff) | |
download | elfix-f79cb2f55d6596180a902e6fb1afb3c5bfb62a5f.tar.gz elfix-f79cb2f55d6596180a902e6fb1afb3c5bfb62a5f.tar.bz2 elfix-f79cb2f55d6596180a902e6fb1afb3c5bfb62a5f.zip |
Add doc/revdep-pax.pod and remove EI_PAX docs from doc/paxctl*
Diffstat (limited to 'src')
-rw-r--r-- | src/fix-gnustack.c | 4 | ||||
-rw-r--r-- | src/paxctl-ng.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/fix-gnustack.c b/src/fix-gnustack.c index 93aab1c..8a43551 100644 --- a/src/fix-gnustack.c +++ b/src/fix-gnustack.c @@ -40,7 +40,7 @@ print_help(char *v) "Bug Reports : " PACKAGE_BUGREPORT "\n" "Program Name : %s\n" "Description : Check for, or conditionally remove, executable flag from PT_GNU_STACK\n\n" - "Usage : %s [-f] ELF | [-h]\n" + "Usage : %s -f ELF | -h\n" "options : Print out protection flags on PT_GNU_STACK\n" " : -f Remove X if WX flags are set on PT_GNU_STACK\n" " : -h Print out this help\n", @@ -58,7 +58,7 @@ parse_cmd_args( int c, char *v[], int *flagv ) int i, oc; if((c != 2)&&(c != 3)) - error(EXIT_FAILURE, 0, "Usage: %s {-h | [-f] ELF}", v[0]); + error(EXIT_FAILURE, 0, "Usage: %s -f ELF | -h", v[0]); *flagv = 0 ; while((oc = getopt(c, v,":fh")) != -1) diff --git a/src/paxctl-ng.c b/src/paxctl-ng.c index f5d9048..0df3a59 100644 --- a/src/paxctl-ng.c +++ b/src/paxctl-ng.c @@ -46,7 +46,7 @@ print_help(char *v) "Bug Reports : " PACKAGE_BUGREPORT "\n" "Program Name : %s\n" "Description : Get or set pax flags on an ELF object\n\n" - "Usage : %s [-PpEeMmRrXxSsv ELF] | [-Z ELF] | [-z ELF] | [-h]\n\n" + "Usage : %s -PpEeMmRrXxSsv ELF | -Zv ELF | -zv ELF | -h\n\n" "Options : -P enable PAGEEXEC\t-p disable PAGEEXEC\n" " : -S enable SEGMEXEC\t-s disable SEGMEXEC\n" " : -M enable MPROTECT\t-m disable MPROTECT\n" |