Skip to content
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

fchmod does not work for shared memory in Mac OS #156

Open
2 tasks
elfenpiff opened this issue Mar 12, 2024 · 0 comments
Open
2 tasks

fchmod does not work for shared memory in Mac OS #156

elfenpiff opened this issue Mar 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@elfenpiff
Copy link
Contributor

elfenpiff commented Mar 12, 2024

Required information

Operating system:

  • Mac OS Big Sur 11.0.1

Observed result or behaviour:
Calling fchmod with a file descriptor belonging to a shared memory always results in (errno == 2 (EINVAL)) since shared memory file descriptors are not supported?!

ToDo:

  • Remove all quick fixes from mac os platform. (shm_open and fchmod)
  • Introduce a fd translator like in windows and apply rights to trampoline file instead
@elfenpiff elfenpiff added the bug Something isn't working label Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant