The effective user ID of the calling process must be that of the super-user or match the creator or owner of the semaphore set.
调用进程的有效用户ID必须是超级用户,或者可以与该信号量集的创建者或所有者匹配的用户。
Sem_perm.cuid and sem_perm.uid are set to the effective user id of the calling process.
sem_perm . cuid和sem_perm . uid被设置为调用进程的有效用户id。
Sem_perm.cgid and sem_perm.gid are set to the effective group id of the calling process.
sem_perm . cgid和sem_perm . gid被设置为调用进程的有效组id。
应用推荐