nixpkgs/pkgs/development
Ruud van Asseldonk 8b6a9202e7 libressl: build libcrypto with noexecstack
For some reasons, libcrypto would be built with the executable stack
flag set. I found out about this when Nginx failed to load the shared
library, because I was running it with MemoryDenyWriteExecute=true,
which does not permit executable stacks.

I am not sure why the stack ends up executable; the other shared
libraries which are part of LibreSSL do not have this flag set. You can
verify this with 'execstack -q'. Non-executable stacks should be the
default, and from checking some other files, that does appear to be the
case. The LibreSSL sources do not contain the string "execstack", so
I am not sure what causes the default to be overridden.

Adding '-z noexecstack' to the linker flags makes the linker unset the
flag. Now my Nginx can load the library, and so far I have not run into
other issues.
2019-08-10 22:21:57 +02:00
..
androidndk-pkgs
arduino
beam-modules
bower-modules/generic
compilers Merge pull request #66031 from r-ryantm/auto-update/pony-stable 2019-08-10 04:32:22 -05:00
coq-modules elpi: 1.4.1 -> 1.6.0, and coq-elpi 2019-08-09 08:47:52 +00:00
dhall-modules
dotnet-modules/patches
em-modules/generic
go-modules
go-packages
guile-modules
haskell-modules
idris-modules add options for build idris package (#65666) 2019-08-07 13:37:36 +02:00
interpreters Merge #65846: Update php packages 2019-08-10 14:42:37 +02:00
java-modules
libraries libressl: build libcrypto with noexecstack 2019-08-10 22:21:57 +02:00
lisp-modules
lua-modules
misc
mobile
node-packages
ocaml-modules ocamlPackages.pgocaml: 2.3 -> 3.2 2019-08-10 14:19:18 +00:00
perl-modules
pharo
pure-modules
python-modules Merge pull request #62515 from r-ryantm/auto-update/python3.7-azure-mgmt-resource 2019-08-10 15:57:06 +02:00
r-modules Merge pull request #66204 from jabranham/r-pkgs 2019-08-07 10:24:37 +02:00
ruby-modules solargraph: 0.35.1 -> 0.35.2 2019-08-08 13:16:05 +02:00
tools Merge pull request #62377 from r-ryantm/auto-update/cli11 2019-08-10 15:54:58 +02:00
web Merge pull request #66000 from r-ryantm/auto-update/now-cli 2019-08-10 04:39:25 -05:00