Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Nov 2018 22:01:04 +0100
From:      Ed Schouten <ed@nuxi.nl>
To:        John Baldwin <jhb@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r340231 - head/sys/kern
Message-ID:  <CABh_MKm_g%2BZ6m2LQWjEDcQZdki6JeVLJ%2BZ-q3Y=EaxaJm7DHjQ@mail.gmail.com>
In-Reply-To: <201811071832.wA7IW3VI045865@repo.freebsd.org>
References:  <201811071832.wA7IW3VI045865@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Op wo 7 nov. 2018 om 19:32 schreef John Baldwin <jhb@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 <ed@nuxi.nl>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABh_MKm_g%2BZ6m2LQWjEDcQZdki6JeVLJ%2BZ-q3Y=EaxaJm7DHjQ>