aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorKamalesh Babulal <[email protected]>2017-10-14 14:47:54 +0000
committerIngo Molnar <[email protected]>2017-10-18 13:22:26 +0000
commit6a93bb7e4a7d6670677d5b0eb980936eb9cc5d2e (patch)
tree3f7e6083e7c86c3a1142ed16c4e99f5d660c22d0 /net/unix/af_unix.c
parentx86/head: Add unwind hint annotations (diff)
downloadkernel-6a93bb7e4a7d6670677d5b0eb980936eb9cc5d2e.tar.gz
kernel-6a93bb7e4a7d6670677d5b0eb980936eb9cc5d2e.zip
objtool: Print top level commands on incorrect usage
Print top-level objtool commands, along with the error on incorrect command line usage. Objtool command line parser exit's with code 129, for incorrect usage. Convert the cmd_usage() exit code also, to maintain consistency across objtool. After the patch: $ ./objtool -j Unknown option: -j usage: objtool COMMAND [ARGS] Commands: check Perform stack metadata validation on an object file orc Generate in-place ORC unwind tables for an object file $ echo $? 129 Signed-off-by: Kamalesh Babulal <[email protected]> Acked-by: Josh Poimboeuf <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions