]> granicus.if.org Git - handbrake/commitdiff
make: Revise security section comments in configure.py.
authorBradley Sepos <bradley@bradleysepos.com>
Thu, 22 Aug 2019 02:45:08 +0000 (22:45 -0400)
committerBradley Sepos <bradley@bradleysepos.com>
Thu, 22 Aug 2019 02:47:06 +0000 (22:47 -0400)
make/configure.py

index 39876fe5cb595f08f8d3e3b0a684582b706068e5..aaa6bcb1469371745f3ae93e4a7b13feebb39f62 100644 (file)
@@ -1366,9 +1366,9 @@ def createCLI( cross = None ):
 
     ## add security options
     grp = cli.add_argument_group( 'Security Options' )
-    h = IfHost( 'enable the Sandbox capability (currently macOS-only)', '*-*-darwin*', none=argparse.SUPPRESS).value
+    grp.add_argument( '--harden', dest="enable_harden", default=False, action='store_true', help='harden app to protect against buffer overflows' )
+    h = IfHost( 'sandbox app to limit host system access (macOS only)', '*-*-darwin*', none=argparse.SUPPRESS).value
     grp.add_argument( '--sandbox', dest="enable_sandbox", default=False, action='store_true', help=(( '%s' %h ) if h != argparse.SUPPRESS else h) )
-    grp.add_argument( '--hardening', dest="enable_harden", default=False, action='store_true', help='enable buffer overflow protection' )
     cli.add_argument_group( grp )
 
     ## add launch options