sysv_msg.c (69644) | sysv_msg.c (71038) |
---|---|
1/* $FreeBSD: head/sys/kern/sysv_msg.c 69644 2000-12-05 23:05:45Z alfred $ */ | 1/* $FreeBSD: head/sys/kern/sysv_msg.c 71038 2001-01-14 18:04:30Z des $ */ |
2 3/* 4 * Implementation of SVID messages 5 * 6 * Author: Daniel Boulet 7 * 8 * Copyright 1993 Daniel Boulet and RTMX Inc. 9 * --- 230 unchanged lines hidden (view full) --- 240 break; 241 default: 242 error = EINVAL; 243 break; 244 } 245 return (error); 246} 247 | 2 3/* 4 * Implementation of SVID messages 5 * 6 * Author: Daniel Boulet 7 * 8 * Copyright 1993 Daniel Boulet and RTMX Inc. 9 * --- 230 unchanged lines hidden (view full) --- 240 break; 241 default: 242 error = EINVAL; 243 break; 244 } 245 return (error); 246} 247 |
248static moduledata_t sysvmsg_moduledata = { 249 "sysvmsg_mod", | 248static moduledata_t sysvmsg_mod = { 249 "sysvmsg", |
250 &sysvmsg_modload, 251 NULL 252}; 253 254SYSCALL_MODULE_HELPER(msgsys, 6); 255SYSCALL_MODULE_HELPER(msgctl, 3); 256SYSCALL_MODULE_HELPER(msgget, 2); 257SYSCALL_MODULE_HELPER(msgsnd, 4); 258SYSCALL_MODULE_HELPER(msgrcv, 5); 259 | 250 &sysvmsg_modload, 251 NULL 252}; 253 254SYSCALL_MODULE_HELPER(msgsys, 6); 255SYSCALL_MODULE_HELPER(msgctl, 3); 256SYSCALL_MODULE_HELPER(msgget, 2); 257SYSCALL_MODULE_HELPER(msgsnd, 4); 258SYSCALL_MODULE_HELPER(msgrcv, 5); 259 |
260DECLARE_MODULE(sysvmsg_mod, sysvmsg_moduledata, | 260DECLARE_MODULE(sysvmsg, sysvmsg_mod, |
261 SI_SUB_SYSV_MSG, SI_ORDER_FIRST); | 261 SI_SUB_SYSV_MSG, SI_ORDER_FIRST); |
262MODULE_VERSION(sysvmsg, 1); |
|
262 263/* 264 * Entry point for all MSG calls 265 */ 266int 267msgsys(p, uap) 268 struct proc *p; 269 /* XXX actually varargs. */ --- 898 unchanged lines hidden --- | 263 264/* 265 * Entry point for all MSG calls 266 */ 267int 268msgsys(p, uap) 269 struct proc *p; 270 /* XXX actually varargs. */ --- 898 unchanged lines hidden --- |