2002-03-05 Robert Collins <rbtcollins@hotmail.com>

* cygserver_transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
        Always init - until static members work correctly.
        * shm.cc (shmget): Initialize the security descriptor - thanks Corinna!
        * include/sys/ipc.h: Make the ipc control constants partitioned off from the sem
        control constants.
This commit is contained in:
Robert Collins
2002-03-05 12:58:24 +00:00
parent ad2864f4c8
commit 241a7c5a8c
5 changed files with 26 additions and 5 deletions

View File

@ -39,9 +39,10 @@ struct ipc_perm {
/* this is a value that will _never_ be a valid key from ftok */
#define IPC_PRIVATE -2
#define IPC_RMID 0x0003
#define IPC_SET 0x0002
#define IPC_STAT 0x0001
/* ctl commands 1000-1fff is ipc reserved */
#define IPC_RMID 0x1003
#define IPC_SET 0x1002
#define IPC_STAT 0x1001
key_t ftok(const char *, int);