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
This commit is contained in:
Konstantin Belousov 2019-11-17 14:54:43 +00:00
parent 156e865494
commit 0857931660
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=354791

View File

@ -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[] = {