Op wo 7 nov. 2018 om 19:32 schreef John Baldwin <j...@freebsd.org>:
> Modified: head/sys/kern/imgact_elf.c
> ==============================================================================
> --- head/sys/kern/imgact_elf.c  Wed Nov  7 18:29:54 2018        (r340230)
> +++ head/sys/kern/imgact_elf.c  Wed Nov  7 18:32:02 2018        (r340231)
> @@ -120,7 +120,8 @@ SYSCTL_INT(_debug, OID_AUTO, __elfN(legacy_coredump),
>
>  int __elfN(nxstack) =
>  #if defined(__amd64__) || defined(__powerpc64__) /* both 64 and 32 bit */ || 
> \
> -    (defined(__arm__) && __ARM_ARCH >= 7) || defined(__aarch64__)
> +    (defined(__arm__) && __ARM_ARCH >= 7) || defined(__aarch64__) || \
> +    defined(__riscv)
>         1;
>  #else
>         0;

Are we getting to the point that it might make sense to invert this
logic, i.e., just list the architectures that require executable
stacks?


-- 
Ed Schouten <e...@nuxi.nl>
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to