svn commit: r354791 - head/tools/tools/controlelf

Konstantin Belousov kib at FreeBSD.org
Sun Nov 17 14:54:45 UTC 2019


Author: kib
Date: Sun Nov 17 14:54:43 2019
New Revision: 354791
URL: https://svnweb.freebsd.org/changeset/base/354791

Log:
  Update controlelf(1) to ahndle stack gap disable flag.
  
  Reviewed by:	markj
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week
  Differential revision:	https://reviews.freebsd.org/D22379

Modified:
  head/tools/tools/controlelf/controlelf.c

Modified: head/tools/tools/controlelf/controlelf.c
==============================================================================
--- head/tools/tools/controlelf/controlelf.c	Sun Nov 17 14:54:07 2019	(r354790)
+++ head/tools/tools/controlelf/controlelf.c	Sun Nov 17 14:54:43 2019	(r354791)
@@ -63,7 +63,9 @@ struct ControlFeatures {
 
 static struct ControlFeatures featurelist[] = {
 	{ "aslr",	NT_FREEBSD_FCTL_ASLR_DISABLE,	"Disable ASLR" },
-	{ "protmax",	NT_FREEBSD_FCTL_PROTMAX_DISABLE,"Disable implicit PROT_MAX" },
+	{ "protmax",	NT_FREEBSD_FCTL_PROTMAX_DISABLE,
+	    "Disable implicit PROT_MAX" },
+	{ "stackgap",	NT_FREEBSD_FCTL_STKGAP_DISABLE, "Disable stack gap" },
 };
 
 static struct option long_opts[] = {


More information about the svn-src-all mailing list