Bug 254899 - shells/bash-static Aborts if kern.elf64.allow_wx is enabled
Summary: shells/bash-static Aborts if kern.elf64.allow_wx is enabled
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Some People
Assignee: Emanuel Haupt
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-09 01:10 UTC by sseekamp
Modified: 2021-04-18 12:00 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (ehaupt)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sseekamp 2021-04-09 01:10:36 UTC
Attempting to run bash or rbash from the bash-static port (bash-static-5.1.4) results in:

exec_new_vmspace: mapping stack size 0x20000000 prot 0x7 failed mach error 2 errno 13
Abort

if kern.elf64.allow_wx is enabled.

FreeBSD: 13.0-RC5/Generic
Comment 1 Emanuel Haupt freebsd_committer 2021-04-09 14:18:52 UTC
Can't confirm:

# sysctl kern.elf64.allow_wx 
kern.elf64.allow_wx: 1
# bash