Enhance promiscuous mode #77
Conversation
|
Was there a discussion about this pull request? I definitely like the first patch about audio reservation. I'm less sure about the 2nd, I feel the implementation could be easier. |
|
I've merged the first commit. |
|
This PR no longer cleanly applies. If you still care about it, please rebase and ping the thread so that we can merge promptly. |
…mode If the value of the JACK_PROMISCOUS_SERVER environment variable is set to the name or gid of a valid UNIX group for the current user, then all filesystem objects (e.g. sockets, semaphores and shared memory segments) will be created with this group as owner, and the permissions will be set to 0660. If not, the permissions will be set to 0666. This remove the requirement to use a way too permissive umask for promiscuous mode to work properly. For that purpose, a new jack_group2gid helper function has been introduced in its own obj file so it can be called from both C and C++ code.
|
The PR has been rebased onto current master. |
|
Please note that latest git no longer uses JackPosixSemaphore.cpp/h in linux builds. |
|
Thanks for the heads up. I'll look into this asap. |
|
I don't think some of that code will compile under OSX, specially sysconf stuff... |
|
Closing this one. See #257 for a reworked version. |
No description provided.