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>
31 int do_shmget(message
*);
32 int do_shmat(message
*);
33 int do_shmdt(message
*);
34 int do_shmctl(message
*);
35 int check_perm(struct ipc_perm
*, endpoint_t
, int);
36 void update_refcount_and_destroy(void);
37 int do_semget(message
*);
38 int do_semctl(message
*);
39 int do_semop(message
*);
42 void sem_process_vm_notify(void);
44 EXTERN
int identifier
;
45 EXTERN endpoint_t who_e
;
47 EXTERN endpoint_t SELF_E
;