Subject: SysV ipc and namespace issues
To: None <tech-userlevel@netbsd.org>
From: Simon Burge <simonb@netbsd.org>
List: tech-userlevel
Date: 04/13/2000 02:45:29
I've done a cleanup of ipcs(1) so that it doesn't require defining
_KERNEL before including a bunch of system files. To achieve this,
I've exposed the following names to userland:
<sys/ipc.h>
_IXSEQ_TO_IPCID
<sys/msg.h>
struct msginfo { }
<sys/sem.h>
struct seminfo { }
_SEM_ALLOC
_SEM_DEST
SEM_CONFIG_FREEZE
SEM_CONFIG_THAW
<sys/shm.h>
struct shminfo { }
SEM_CONFIG_FREEZE and SEM_CONFIG_THAW are arguments to the semconfig()
system call so I haven't prefixed them with underscores. Are these
changes acceptable from a namespace polution POV?
Simon.