Hi all! I think, it's the time to enable the nxstack feature. Any comments, pros, cons?
From 2641987c35b025fa92adba402535a71aa1a4f7ce Mon Sep 17 00:00:00 2001 From: Oliver Pinter <opn@opn.(none)> Date: Mon, 17 Oct 2011 21:14:58 +0200 Subject: [PATCH] enable nxstack by default
Signed-off-by: Oliver Pinter <oliver.p...@gmail.com> diff --git a/sys/kern/imgact_elf.c b/sys/kern/imgact_elf.c index 45f6d64..507b4de 100644 --- a/sys/kern/imgact_elf.c +++ b/sys/kern/imgact_elf.c @@ -118,7 +118,7 @@ static int elf_legacy_coredump = 0; SYSCTL_INT(_debug, OID_AUTO, __elfN(legacy_coredump), CTLFLAG_RW, &elf_legacy_coredump, 0, ""); -static int __elfN(nxstack) = 0; +static int __elfN(nxstack) = 1; SYSCTL_INT(__CONCAT(_kern_elf, __ELF_WORD_SIZE), OID_AUTO, nxstack, CTLFLAG_RW, &__elfN(nxstack), 0, __XSTRING(__CONCAT(ELF, __ELF_WORD_SIZE)) ": enable non-executable stack");
_______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"