-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with APE on OpenBSD 7.5 (current) #1263
Comments
Here's what I see on OpenBSD 7.6 (-current):
|
I hope there's a workaround for the system call pinning thing in 7.5. As for the /bin/sh change (you are using /bin/sh right?) in 7.6 we're going to need to send them a patch that makes their zero byte check consistent with FreeBSD's per POSIX rules. |
Yup. Get the same thing in zsh too, fwiw. |
What version of zsh? I patched it in zsh 5.9 zsh-users/zsh@326d9c2 |
|
Could you check if the OpenBSD developers patched it? |
I think not? I'm no expert here, but I believe the official package is built from here (based on reading Solène's article), and none of those patches look like they undo your earlier work. I think I sent pea@ (listed as the package maintainer) an email asking for clarification. |
@jart Haven't heard back from pea@ yet about this, FYI. Anything else I can look to help debug this? |
pea@ isn't very active. bash and zsh start to execute this, but it fails quickly, either with SIGILL if on Intel 11th gen/newer (BTCFI is enabled by default in OpenBSD and there are no endbr64 landing pads), or SIGABRT if not (with pinsyscalls in 7.5 you need to call into libc for system calls as done in golang etc - direct calls are blocked). |
Maybe this an issue with APE on OpenBSD 7.5 (current) in general? I just tried running the latest RedBean server on my box and got a nearly identical error:
Originally posted by @neezer in #1250 (comment)
The text was updated successfully, but these errors were encountered: