search for: sem_perm

Displaying 3 results from an estimated 3 matches for "sem_perm".

Did you mean: kvm_perm
1999 Aug 06
2
Solaris 7 5/99 and samba-2.0.5a (PR#19508)
...int i; pid_t pid; + struct passwd *root_pwd = sys_getpwuid((uid_t)0); + gid_t root_gid = root_pwd ? root_pwd->pw_gid : (gid_t)0; read_only = ronly; @@ -593,7 +596,7 @@ hash_size = sem_ds.sem_nsems-1; if (!read_only) { - if (sem_ds.sem_perm.cuid != 0 || sem_ds.sem_perm.cgid != 0) { + if (sem_ds.sem_perm.cuid != 0 || sem_ds.sem_perm.cgid != root_gid) { DEBUG(0,("ERROR: root did not create the semaphore\n")); return NULL; } @@ -684,7 +687,7 @@...
1999 Aug 14
1
HPUX shared memory creates error (PR#19573)
...int i; pid_t pid; + struct passwd *root_pwd = sys_getpwuid((uid_t)0); + gid_t root_gid = root_pwd ? root_pwd->pw_gid : (gid_t)0; read_only = ronly; @@ -593,8 +595,8 @@ hash_size = sem_ds.sem_nsems-1; if (!read_only) { - if (sem_ds.sem_perm.cuid != 0 || sem_ds.sem_perm.cgid != 0) { - DEBUG(0,("ERROR: root did not create the semaphore\n")); + if (sem_ds.sem_perm.cuid != 0 || ((sem_ds.sem_perm.cgid != root_gid) && (sem_ds.sem_perm.cgid != 0))) { + DEBUG(0,(&quot...
1999 Oct 23
3
semaphores and Solaris 7 8/99
I just installed the 8/99 release of Solaris 7 on three Sun Ultra 10's and it seems to have broken Samba. I am running Samba 2.0.5a and it works fine on an Ultra 10 running the 5/99 release of Solaris 7. All of the Ultra 10's are using the 64 bit kernel. This is the errors that I am getting. [1999/10/22 21:09:56, 0] locking/shmem_sysv.c:sysv_shm_open(597) ERROR: root did not create the