Displaying 9 results from an estimated 9 matches for "semun".
Did you mean:
semn
1999 Aug 06
2
Solaris 7 5/99 and samba-2.0.5a (PR#19508)
...@@ -528,6 +528,7 @@
/*******************************************************************
open the shared memory
******************************************************************/
+
struct shmem_ops *sysv_shm_open(int ronly)
{
BOOL other_processes;
@@ -536,6 +537,8 @@
union semun su;
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) {
-...
1998 Sep 04
0
Linux SMB Mount utils patch
...on. I
have two boxes, one Linux with libc5, and another with Linux and Glibc2
(aka libc6). The Samba package itself compiles and runs fine on the libc5
box (although it was necessary to turn off optimization to compile with
gcc 2.7.2.3). The glibc2 box was able to compile after adding
"-DNO_SEMUN" to the compiler flags, since newer glibc2 includes don't
define it as older ones did. This is also fixed in the included patch.
The main problem is that the mount utilities will only compile
properly on libc5. Since glibc2 now includes magic numbers for mount, it
is no longer necessary (...
2009 May 28
1
App fails writing file but zero length file on Samba server
...good/source/includes.h
--- samba-1.9.18p10/source/includes.h 1998-08-20 07:41:46.000000000 +0800
+++ samba-1.9.18p10_good/source/includes.h 2008-01-11
10:39:49.000000000 +0900
@@ -1176,7 +1177,7 @@
#include <sys/ipc.h>
#include <sys/sem.h>
#include <sys/shm.h>
-#ifdef NO_SEMUN
+#ifdef _SEM_SEMUN_UNDEFINED
union semun {
int val;
struct semid_ds *buf;
---
As I'm trying to streamline the building of these servers, I thought
I'd try upgrading Samba to a reasonably current version. I'm trying
with latest version of Samba shipped by RedHat (3.0.3...
1999 Jan 15
6
locking Problem 2.0.0 on SGI
Hi,
after having upgraded from 2.0.0beta2 to 2.0.0 there are happening strange
things:
1) After startup of smbd I find the following message in log.smb
smbd version 2.0.0 started.
Copyright Andrew Tridgell 1992-1998
[1999/01/15 17:38:09, 1] smbd/files.c:file_init(219)
file_init: Information only: requested 10000 open files, 2490 are
available.
2) doing a smbclient -L <hostname>
2010 Aug 10
1
semget() failed
...ulates POSIX semaphores with SysV ones. I have
tested this library on several Unix systems without any trouble.
On OS/2, semget() always returns -1 and I don't understand my mistake.
int
sem_init_SysV(sem_t *semaphore, int shared, unsigned int valeur)
{
int ios;
union semun argument;
if (shared != 0)
{
return(ENOSYS);
}
(*semaphore) = semget(IPC_PRIVATE, 1, IPC_CREAT | IPC_EXCL | SEM_R
| SEM_A);
if ((*semaphore) == -1)
{
// Always true with OS/2 (libc 0.6.3)
return(EINVAL);
}
argument.val = valeur;...
1999 Aug 14
1
HPUX shared memory creates error (PR#19573)
...gt; ERROR: Failed to initialise share modes!
Phillip,
Can you please try this patch to see if it addresses
the problem ?
Regards,
Jeremy Allison,
Samba Team.
--- shmem_sysv.c Tue Aug 10 16:10:18 1999
+++ shmem_sysv.c.fixed Tue Aug 10 16:08:16 1999
@@ -536,6 +536,8 @@
union semun su;
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) {
-...
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
1999 Oct 26
0
Solaris 7 not compiling HEAD code
...in -lsecurity... no
checking for getprpwnam... no
checking for getprpwnam... (cached) no
checking whether gcc accepts -fpic... yes
checking for long long... yes
checking for 64 bit off_t... no
checking for off64_t... yes
checking for 64 bit ino_t... no
checking for ino64_t... yes
checking for union semun... no
checking for unsigned char... no
checking for sin_len in sock... no
checking whether seekdir returns void... yes
checking for __FILE__ macro... yes
checking for __FUNCTION__ macro... yes
checking if gettimeofday takes tz argument... yes
checking for broken readdir... no
checking for utimbuf.....
2003 Dec 01
0
No subject
...c... no
checking whether cc accepts -KPIC... no
checking for long long... no
checking for LL suffix on long long integers... no
checking for 64 bit off_t... no
checking for off64_t... no
checking for 64 bit ino_t... no
checking for ino64_t... no
checking for struct dirent64... no
checking for union semun... no
checking for unsigned char... no
checking for sin_len in sock... no
checking whether seekdir returns void... yes
checking for __FILE__ macro... yes
checking for __FUNCTION__ macro... no
checking if gettimeofday takes tz argument... yes
checking for broken readdir... no
checking for utimbuf......