1 #define _POSIX_SOURCE 1 /* tell headers to include POSIX stuff */
2 #define _MINIX 1 /* tell headers to include MINIX stuff */
3 #define _SYSTEM 1 /* get OK and negative error codes */
5 #include <minix/callnr.h>
7 #include <minix/config.h>
9 #include <minix/endpoint.h>
10 #include <minix/sysutil.h>
11 #include <minix/const.h>
12 #include <minix/type.h>
13 #include <minix/syslib.h>
15 #include <sys/types.h>
20 #include <machine/vm.h>
21 #include <machine/vmparam.h>
32 int do_shmget(message
*);
33 int do_shmat(message
*);
34 int do_shmdt(message
*);
35 int do_shmctl(message
*);
36 int check_perm(struct ipc_perm
*, endpoint_t
, int);
37 void update_refcount_and_destroy(void);
38 int do_semget(message
*);
39 int do_semctl(message
*);
40 int do_semop(message
*);
43 void sem_process_vm_notify(void);
45 EXTERN
int identifier
;
46 EXTERN endpoint_t who_e
;
48 EXTERN endpoint_t SELF_E
;