ipc_addid — add an IPC identifier
IPC identifier set
new IPC permission set
new size limit for the id array
Add an entry 'new' to the IPC arrays. The permissions object is initialised and the first free entry is set up and the id assigned is returned. The list is returned in a locked state on success. On failure the list is not locked and -1 is returned.
Called with ipc_ids.mutex held.