Vote count:
0
I tried to allow other user's program to modify my semaphore ( Basically remove it) , but It is failing.
Below is my semaphore creation command:
if ((semID = semget(key, 2, IPC_CREAT | 0777)) == -1) {
perror("Sem Creation:");
exit(2);
}
Still programs which are run by other's users are unable to delete semaphore with error that " Not owner"
asked 38 secs ago
C - Semaphore Rights Issue
Aucun commentaire:
Enregistrer un commentaire