diff options
author | Robert Collins <rbtcollins@hotmail.com> | 2002-03-05 12:58:24 +0000 |
---|---|---|
committer | Robert Collins <rbtcollins@hotmail.com> | 2002-03-05 12:58:24 +0000 |
commit | 241a7c5a8c8662623c04163c5132ecbf5b417b3b (patch) | |
tree | bc9947c17f541e7561485b081e19e944032b26aa /winsup/cygwin/include/sys/ipc.h | |
parent | ad2864f4c8dd5157dad2011483c4076416a80f4c (diff) | |
download | cygnal-241a7c5a8c8662623c04163c5132ecbf5b417b3b.tar.gz cygnal-241a7c5a8c8662623c04163c5132ecbf5b417b3b.tar.bz2 cygnal-241a7c5a8c8662623c04163c5132ecbf5b417b3b.zip |
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.
Diffstat (limited to 'winsup/cygwin/include/sys/ipc.h')
-rw-r--r-- | winsup/cygwin/include/sys/ipc.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/winsup/cygwin/include/sys/ipc.h b/winsup/cygwin/include/sys/ipc.h index 8ddec6d50..c718a173a 100644 --- a/winsup/cygwin/include/sys/ipc.h +++ b/winsup/cygwin/include/sys/ipc.h @@ -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); |