I'm sorry if this is not the place for feature requests but just want to leave the request for an 'open' function in the SysSemProcess library. That is to allow the opening of an already existing named semaphore without creating a new one.
Currently I have to run my other process as root because CODESYS Control has to run as root and thus creates the named semaphore with root as the owner. I believe this introduces some security issues into any application. By implementing this 'open' function the creation of the semaphores could be done by the other process which would create them with a regular user as the owner.
Thank you.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey, all.
I'm sorry if this is not the place for feature requests but just want to leave the request for an 'open' function in the SysSemProcess library. That is to allow the opening of an already existing named semaphore without creating a new one.
Currently I have to run my other process as root because CODESYS Control has to run as root and thus creates the named semaphore with root as the owner. I believe this introduces some security issues into any application. By implementing this 'open' function the creation of the semaphores could be done by the other process which would create them with a regular user as the owner.
Thank you.