1 $NetBSD: syscalls.master,v 1.36 2008/04/23 14:07:49 ad Exp $
2
3 ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
4
5 ; NetBSD system call name/number "master" file.
6 ; (See syscalls.conf to see what it is processed into.)
7 ;
8 ; Fields: number type [type-dependent ...]
9 ; number system call number, must be in order
10 ; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
11 ; the compatibility options defined in syscalls.conf.
12 ;
13 ; types:
14 ; STD always included
15 ; OBSOL obsolete, not included in system
16 ; UNIMPL unimplemented, not included in system
17 ; NODEF included, but don't define the syscall number
18 ; NOARGS included, but don't define the syscall args structure
19 ;
20 ; The compat options are defined in the syscalls.conf file, and the
21 ; compat option name is prefixed to the syscall name. Other than
22 ; that, they're like NODEF (for 'compat' options), or STD (for
23 ; 'libcompat' options).
24 ;
25 ; The type-dependent arguments are as follows:
26 ; For STD, NODEF, NOARGS, and compat syscalls:
27 ; { pseudo-proto } [alias]
28 ; For other syscalls:
29 ; [comment]
30 ;
31 ; #ifdef's, etc. may be included, and are copied to the output files.
32 ; #include's are copied to the syscall names and switch definition files only.
33 ;
34 ; NB: A lot of system calls are used from FreeBSD emulation, because theses
35 ; system calls are just native NetBSD plus a check in /emul/<e_name>.
36
37 #include "opt_ktrace.h"
38 #include "opt_nfsserver.h"
39 #include "opt_ntp.h"
40 #include "opt_compat_netbsd.h"
41 #include "opt_sysv.h"
42 #include "opt_compat_43.h"
43
44 #include "fs_lfs.h"
45 #include "fs_nfs.h"
46
47 #include <sys/param.h>
48 #include <sys/systm.h>
49 #include <sys/signal.h>
50 #include <sys/mount.h>
51 #include <sys/syscallargs.h>
52
53 #include <compat/sys/signal.h>
54
55 #include <compat/mach/mach_types.h>
56 #include <compat/mach/mach_vm.h>
57
58 #include <compat/darwin/darwin_signal.h>
59 #include <compat/darwin/darwin_audit.h>
60 #include <compat/darwin/darwin_syscallargs.h>
61
62 %%
63
64 0 NOARGS INDIR { int sys_syscall(int code, \
65 ... register_t args[DARWIN_SYS_MAXSYSARGS]); }
66 1 NOARGS { void sys_exit(int rval); }
67 2 STD { int darwin_sys_fork(void); }
68 3 NOARGS { ssize_t sys_read(int fd, void *buf, size_t nbyte); }
69 4 NOARGS { ssize_t sys_write(int fd, const void *buf, \
70 size_t nbyte); }
71 5 NOARGS { int sys_open(const char *path, \
72 int flags, ... mode_t mode); }
73 6 NOARGS { int sys_close(int fd); }
74 7 NOARGS { int sys_wait4(int pid, int *status, int options, \
75 struct rusage *rusage); }
76 8 NOARGS { int compat_43_sys_creat(const char *path, \
77 mode_t mode); } ocreat
78 9 NOARGS { int sys_link(const char *path, \
79 const char *link); }
80 10 NOARGS { int sys_unlink(const char *path); }
81 11 UNIMPL execv
82 12 NOARGS { int sys_chdir(const char *path); }
83 13 NOARGS { int sys_fchdir(int fd); }
84 14 STD { int darwin_sys_mknod(const char *path, \
85 mode_t mode, dev_t dev); }
86 15 NOARGS { int sys_chmod(const char *path, mode_t mode); }
87 16 NOARGS { int sys_chown(const char *path, uid_t uid, \
88 gid_t gid); }
89 17 NOARGS { int sys_obreak(char *nsize); } break
90 18 STD { int darwin_sys_getfsstat(struct darwin_statfs *buf, \
91 long bufsize, int flags); }
92 19 NOARGS { long compat_43_sys_lseek(int fd, long offset, \
93 int whence); } olseek
94 20 STD { pid_t darwin_sys_getpid(void); }
95 21 NOARGS { int compat_40_sys_mount(const char *type, \
96 const char *path, int flags, void *data); }
97 22 NOARGS { int sys_unmount(const char *path, int flags); }
98 23 NOARGS { int sys_setuid(uid_t uid); }
99 #ifdef COMPAT_43
100 24 NOARGS { uid_t sys_getuid_with_euid(void); } getuid
101 #else
102 24 NOARGS { uid_t sys_getuid(void); }
103 #endif
104 25 NOARGS { uid_t sys_geteuid(void); }
105 26 STD { int darwin_sys_ptrace(int req, pid_t pid, \
106 void *addr, int data); }
107 27 NOARGS { ssize_t sys_recvmsg(int s, struct msghdr *msg, \
108 int flags); }
109 28 NOARGS { ssize_t sys_sendmsg(int s, \
110 const struct msghdr *msg, int flags); }
111 29 STD { ssize_t darwin_sys_recvfrom(int s, void *buf, \
112 size_t len, int flags, struct sockaddr *from, \
113 unsigned int *fromlenaddr); }
114 30 STD { int darwin_sys_accept(int s, struct sockaddr *name, \
115 unsigned int *anamelen); }
116 31 STD { int darwin_sys_getpeername(int fdes, \
117 struct sockaddr *asa, unsigned int *alen); }
118 32 STD { int darwin_sys_getsockname(int fdes, \
119 struct sockaddr *asa, unsigned int *alen); }
120 33 NOARGS { int sys_access(const char *path, \
121 int flags); }
122 34 NOARGS { int sys_chflags(const char *path, \
123 u_long flags); }
124 35 NOARGS { int sys_fchflags(int fd, u_long flags); }
125 36 NOARGS { void sys_sync(void); }
126 37 NOARGS { int sys_kill(int pid, int signum); }
127 38 NOARGS { int compat_43_sys_stat(const char *path, \
128 struct stat43 *ub); } stat43
129 39 NOARGS { pid_t sys_getppid(void); }
130 40 NOARGS { int compat_43_sys_lstat(const char *path, \
131 struct stat43 *ub); } lstat43
132 41 NOARGS { int sys_dup(int fd); }
133 42 NOARGS { int sys_pipe(void); }
134 43 NOARGS { gid_t sys_getegid(void); }
135 44 NOARGS { int sys_profil(void *samples, size_t size, \
136 u_long offset, u_int scale); }
137 #if defined(KTRACE) || !defined(_KERNEL)
138 45 NOARGS { int sys_ktrace(const char *fname, int ops, \
139 int facs, int pid); }
140 #else
141 45 EXCL ktrace
142 #endif
143 46 STD { int darwin_sys_sigaction(int signum, \
144 struct darwin___sigaction *nsa, \
145 struct sigaction13 *osa); }
146 #ifdef COMPAT_43
147 47 NOARGS { gid_t sys_getgid_with_egid(void); } getgid
148 #else
149 47 NOARGS { gid_t sys_getgid(void); }
150 #endif
151 48 STD { int darwin_sys_sigprocmask(int how, \
152 sigset13_t *set, sigset13_t *oset); }
153 49 NOARGS { int sys___getlogin(char *namebuf, size_t namelen); }
154 50 NOARGS { int sys___setlogin(const char *namebuf); }
155 51 NOARGS { int sys_acct(const char *path); }
156 52 NOARGS { int compat_13_sys_sigpending(void); } sigpending13
157 53 NOARGS { int compat_13_sys_sigaltstack( \
158 const struct sigaltstack13 *nss, \
159 struct sigaltstack13 *oss); } sigaltstack13
160 54 STD { int darwin_sys_ioctl(int fd, \
161 u_long com, ... void *data); }
162 55 NOARGS { int sys_reboot(int opt); } oreboot
163 56 NOARGS { int sys_revoke(const char *path); }
164 57 NOARGS { int sys_symlink(const char *path, \
165 const char *link); }
166 58 NOARGS { int sys_readlink(const char *path, \
167 char *buf, size_t count); }
168 59 NOARGS { int sys_execve(const char *path, \
169 char * const *argp, char * const *envp); }
170 60 NOARGS { mode_t sys_umask(mode_t newmask); }
171 61 NOARGS { int sys_chroot(const char *path); }
172 62 NOARGS { int compat_43_sys_fstat(int fd, \
173 struct stat43 *sb); } fstat43
174 63 UNIMPL
175 64 NOARGS { int compat_43_sys_getpagesize(void); } ogetpagesize
176 65 NOARGS { int compat_12_sys_msync(void *addr, size_t len); }
177 66 STD { int darwin_sys_vfork(void); }
178 67 OBSOL vread
179 68 OBSOL vwrite
180 69 NOARGS { int sys_sbrk(intptr_t incr); }
181 70 NOARGS { int sys_sstk(int incr); }
182 71 NOARGS { int sys_mmap(void *addr, size_t len, int prot, \
183 int flags, int fd, long pos); } ommap
184 72 NOARGS { int sys_ovadvise(int anom); } vadvise
185 73 NOARGS { int sys_munmap(void *addr, size_t len); }
186 74 NOARGS { int sys_mprotect(void *addr, size_t len, \
187 int prot); }
188 75 NOARGS { int sys_madvise(void *addr, size_t len, \
189 int behav); }
190 76 UNIMPL
191 77 UNIMPL
192 78 NOARGS { int sys_mincore(void *addr, size_t len, \
193 char *vec); }
194 79 NOARGS { int sys_getgroups(int gidsetsize, \
195 gid_t *gidset); }
196 80 NOARGS { int sys_setgroups(int gidsetsize, \
197 const gid_t *gidset); }
198 81 NOARGS { int sys_getpgrp(void); }
199 82 NOARGS { int sys_setpgid(int pid, int pgid); }
200 83 NOARGS { int sys_setitimer(int which, \
201 const struct itimerval *itv, \
202 struct itimerval *oitv); }
203 84 NOARGS { int compat_43_sys_wait(void); } owait
204 85 NOARGS { int compat_12_sys_swapon(const char *name); }
205 86 NOARGS { int sys_getitimer(int which, \
206 struct itimerval *itv); }
207 87 NOARGS { int compat_43_sys_gethostname(char *hostname, \
208 u_int len); } ogethostname
209 88 NOARGS { int compat_43_sys_sethostname(char *hostname, \
210 u_int len); } osethostname
211 89 NOARGS { int compat_43_sys_getdtablesize(void); } \
212 ogetdtablesize
213 90 NOARGS { int sys_dup2(int from, int to); }
214 91 UNIMPL
215 92 NOARGS { int sys_fcntl(int fd, int cmd, ... void *arg); }
216 93 NOARGS { int sys_select(int nd, fd_set *in, fd_set *ou, \
217 fd_set *ex, struct timeval *tv); }
218 94 UNIMPL
219 95 NOARGS { int sys_fsync(int fd); }
220 96 NOARGS { int sys_setpriority(int which, int who, int prio); }
221 97 STD { int darwin_sys_socket(int domain, \
222 int type, int protocol); }
223 98 STD { int darwin_sys_connect(int s, \
224 const struct sockaddr *name, \
225 unsigned int namelen); }
226 99 NOARGS { int compat_43_sys_accept(int s, void *name, \
227 int *anamelen); } oaccept
228 100 NOARGS { int sys_getpriority(int which, int who); }
229 101 NOARGS { int compat_43_sys_send(int s, void *buf, int len, \
230 int flags); } osend
231 102 NOARGS { int compat_43_sys_recv(int s, void *buf, int len, \
232 int flags); } orecv
233 103 STD { int darwin_sys_sigreturn_x2(struct \
234 darwin_ucontext *uctx); }
235 104 STD { int darwin_sys_bind(int s, \
236 const struct sockaddr *name, \
237 unsigned int namelen); }
238 105 NOARGS { int sys_setsockopt(int s, int level, int name, \
239 const void *val, unsigned int valsize); }
240 106 NOARGS { int sys_listen(int s, int backlog); }
241 107 UNIMPL
242 108 NOARGS { int compat_43_sys_sigvec(int signum, \
243 struct sigvec *nsv, struct sigvec *osv); } osigvec
244 109 NOARGS { int compat_43_sys_sigblock(int mask); } osigblock
245 110 NOARGS { int compat_43_sys_sigsetmask(int mask); } osigsetmask
246 111 NOARGS { int compat_13_sys_sigsuspend(int mask); } \
247 sigsuspend13
248 112 NOARGS { int compat_43_sys_sigstack(struct sigstack *nss, \
249 struct sigstack *oss); } osigstack
250 113 NOARGS { int compat_43_sys_recvmsg(int s, \
251 struct omsghdr *msg, int flags); } orecvmsg
252 114 NOARGS { int compat_43_sys_sendmsg(int s, void *msg, \
253 int flags); } osendmsg
254 115 UNIMPL
255 116 NOARGS { int sys_gettimeofday(struct timeval *tp, \
256 struct timezone *tzp); }
257 117 NOARGS { int sys_getrusage(int who, struct rusage *rusage); }
258 118 NOARGS { int sys_getsockopt(int s, int level, int name, \
259 void *val, unsigned int *avalsize); }
260 119 UNIMPL
261 120 NOARGS { ssize_t sys_readv(int fd, \
262 const struct iovec *iovp, int iovcnt); }
263 121 NOARGS { ssize_t sys_writev(int fd, \
264 const struct iovec *iovp, int iovcnt); }
265 122 NOARGS { int sys_settimeofday(const struct timeval *tv, \
266 const struct timezone *tzp); }
267 123 NOARGS { int sys_fchown(int fd, uid_t uid, gid_t gid); }
268 124 NOARGS { int sys_fchmod(int fd, mode_t mode); }
269 125 NOARGS { int compat_43_sys_recvfrom(int s, void *buf, \
270 size_t len, int flags, void *from, \
271 int *fromlenaddr); } orecvfrom
272 126 NOARGS { int sys_setreuid(uid_t ruid, uid_t euid); }
273 127 NOARGS { int sys_setregid(gid_t rgid, gid_t egid); }
274 128 NOARGS { int sys_rename(const char *from, \
275 const char *to); }
276 129 NOARGS { int compat_43_sys_truncate(const \
277 char *path, long length); } \
278 otruncate
279 130 NOARGS { int compat_43_sys_ftruncate(int fd, \
280 long length); } oftruncate
281 131 NOARGS { int sys_flock(int fd, int how); }
282 132 NOARGS { int sys_mkfifo(const char *path, \
283 mode_t mode); }
284 133 STD { ssize_t darwin_sys_sendto(int s, const void *buf, \
285 size_t len, int flags, const struct sockaddr *to, \
286 unsigned int tolen); }
287 134 NOARGS { int sys_shutdown(int s, int how); }
288 135 NOARGS { int sys_socketpair(int domain, int type, \
289 int protocol, int *rsv); }
290 136 NOARGS { int sys_mkdir(const char *path, mode_t mode); }
291 137 NOARGS { int sys_rmdir(const char *path); }
292 138 NOARGS { int sys_utimes(const char *path, \
293 const struct timeval *tptr); }
294 139 UNIMPL futimes
295 140 NOARGS { int sys_adjtime(const struct timeval *delta, \
296 struct timeval *olddelta); }
297 141 NOARGS { int compat_43_sys_getpeername(int fdes, \
298 void *asa, int *alen); } ogetpeername
299 142 NOARGS { int32_t compat_43_sys_gethostid(void); } ogethostid
300 143 UNIMPL
301 144 NOARGS { int compat_43_sys_getrlimit(int which, \
302 struct orlimit *rlp); } ogetrlimit
303 145 NOARGS { int compat_43_sys_setrlimit(int which, \
304 const struct orlimit *rlp); } osetrlimit
305 146 NOARGS { int compat_43_sys_killpg(int pgid, int signum); } \
306 okillpg
307 147 NOARGS { int sys_setsid(void); }
308 148 UNIMPL
309 149 UNIMPL
310 150 NOARGS { int compat_43_sys_getsockname(int fdec, \
311 void *asa, int *alen); } ogetsockname
312 151 UNIMPL getpgid
313 152 UNIMPL setprivexec
314 153 UNIMPL pread
315 154 UNIMPL pwrite
316 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
317 155 NOARGS { int sys_nfssvc(int flag, void *argp); }
318 #else
319 155 EXCL nfssvc
320 #endif
321 156 NOARGS { int compat_43_sys_getdirentries(int fd, char *buf, \
322 u_int count, long *basep); } ogetdirentries
323 157 STD { int darwin_sys_statfs(const char *path, \
324 struct darwin_statfs *buf); }
325 158 STD { int darwin_sys_fstatfs(int fd, \
326 struct darwin_statfs *buf); }
327 159 UNIMPL unmount
328 160 UNIMPL
329 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL)
330 161 NOARGS { int compat_30_sys_getfh(const char *fname, \
331 fhandle_t *fhp); }
332 #else
333 161 EXCL getfh
334 #endif
335 162 NOARGS { int compat_09_sys_getdomainname(char *domainname, \
336 int len); } ogetdomainname
337 163 NOARGS { int compat_09_sys_setdomainname(char *domainname, \
338 int len); } osetdomainname
339 164 UNIMPL
340 165 UNIMPL quotactl
341 166 UNIMPL
342 167 UNIMPL mount
343 168 UNIMPL
344 169 UNIMPL
345 170 UNIMPL
346 171 UNIMPL wait3
347 172 UNIMPL
348 173 UNIMPL
349 174 UNIMPL
350 175 UNIMPL
351 176 UNIMPL add_profil
352 177 UNIMPL
353 178 UNIMPL
354 179 UNIMPL
355 180 STD { int darwin_sys_kdebug_trace(int debugid, int arg1, \
356 int arg2, int arg3, int arg4, int arg5); }
357 181 NOARGS { int sys_setgid(gid_t gid); }
358 182 NOARGS { int sys_setegid(gid_t egid); }
359 183 NOARGS { int sys_seteuid(uid_t euid); }
360 184 STD { int darwin_sys_sigreturn(struct \
361 darwin_ucontext *uctx, int ucvers); }
362 185 UNIMPL
363 186 UNIMPL
364 187 UNIMPL
365 188 STD { int darwin_sys_stat(const char *path, \
366 struct stat12 *ub); } stat12
367 189 STD { int darwin_sys_fstat(int fd, \
368 struct stat12 *sb); }
369 190 STD { int darwin_sys_lstat(const char *path, \
370 struct stat12 *ub); } lstat12
371 191 NOARGS { long sys_pathconf(const char *path, \
372 int name); }
373 192 NOARGS { long sys_fpathconf(int fd, int name); }
374 193 UNIMPL getfsstat
375 194 NOARGS { int sys_getrlimit(int which, \
376 struct rlimit *rlp); }
377 195 NOARGS { int sys_setrlimit(int which, \
378 const struct rlimit *rlp); }
379 196 NOARGS { int compat_12_sys_getdirentries(int fd, char *buf, \
380 u_int count, long *basep); }
381 197 NOARGS { void *sys_mmap(void *addr, size_t len, int prot, \
382 int flags, int fd, long pad, off_t pos); }
383 198 UNIMPL
384 199 STD { off_t darwin_sys_lseek(int fd, long off1, \
385 long off2, int whence); }
386 200 NOARGS { int sys_truncate(const char *path, \
387 int pad, off_t length); }
388 201 NOARGS { int sys_ftruncate(int fd, int pad, off_t length); }
389 202 STD { int darwin_sys___sysctl(int *name, u_int namelen, \
390 void *oldp, size_t *oldlenp, void *newp, \
391 size_t newlen); }
392 203 NOARGS { int sys_mlock(const void *addr, size_t len); }
393 204 NOARGS { int sys_munlock(const void *addr, size_t len); }
394 205 NOARGS { int sys_undelete(const char *path); }
395 206 UNIMPL atsocket
396 207 UNIMPL atgetmsg
397 208 UNIMPL atputmsg
398 209 UNIMPL atpsndreq
399 210 UNIMPL atpsndrsp
400 211 UNIMPL atpgetreq
401 212 UNIMPL atpgetrsp
402 213 UNIMPL
403 214 UNIMPL
404 215 UNIMPL
405 216 UNIMPL
406 217 UNIMPL
407 218 UNIMPL
408 219 UNIMPL
409 220 STD { int darwin_sys_getattrlist(const char *path, \
410 struct darwin_attrlist *alist, void *attributes, \
411 size_t buflen, unsigned long options); }
412 221 UNIMPL setattrlist
413 222 UNIMPL getdirentriesattr
414 223 UNIMPL exchangedata
415 224 UNIMPL checkuseraccess
416 225 UNIMPL searchfs
417 226 UNIMPL delete
418 227 UNIMPL copyfile
419 228 UNIMPL
420 229 UNIMPL
421 230 UNIMPL
422 231 UNIMPL watchevent
423 232 UNIMPL waitevent
424 233 UNIMPL modwatch
425 234 UNIMPL
426 235 UNIMPL
427 236 UNIMPL
428 237 UNIMPL
429 238 UNIMPL
430 239 UNIMPL
431 240 UNIMPL
432 241 UNIMPL
433 242 UNIMPL fsctl
434 243 UNIMPL
435 244 UNIMPL
436 245 UNIMPL
437 246 UNIMPL
438 247 UNIMPL
439 248 UNIMPL
440 249 UNIMPL
441 250 UNIMPL minherit
442 251 UNIMPL semsys
443 252 UNIMPL msgsys
444 253 UNIMPL semop
445 254 UNIMPL semctl
446 255 UNIMPL semget
447 256 UNIMPL semop
448 257 UNIMPL semconfig
449 258 UNIMPL msgctl
450 259 UNIMPL msgget
451 260 UNIMPL msgsnd
452 261 UNIMPL msgrcv
453 262 UNIMPL shmat
454 263 UNIMPL shmctl
455 264 UNIMPL shmdt
456 265 UNIMPL shmget
457 266 UNIMPL shm_open
458 267 UNIMPL shm_unlink
459 268 UNIMPL sem_open
460 269 UNIMPL sem_close
461 270 UNIMPL sem_unlink
462 271 UNIMPL sem_wait
463 272 UNIMPL sem_trywait
464 273 UNIMPL sem_post
465 274 UNIMPL sem_getvalue
466 275 UNIMPL sem_init
467 276 UNIMPL sem_destroy
468 277 UNIMPL
469 278 UNIMPL
470 279 UNIMPL
471 280 UNIMPL
472 281 UNIMPL
473 282 UNIMPL
474 283 UNIMPL
475 284 UNIMPL
476 285 UNIMPL
477 286 UNIMPL
478 287 UNIMPL
479 288 UNIMPL
480 289 UNIMPL
481 290 UNIMPL
482 291 UNIMPL
483 292 UNIMPL
484 293 UNIMPL
485 294 UNIMPL
486 295 UNIMPL
487 296 STD { int darwin_sys_load_shared_file(char *filename, \
488 void *addr, u_long len, void **base, \
489 int count, mach_sf_mapping_t *mappings, \
490 int *flags); }
491 297 UNIMPL reset_shared_file
492 298 UNIMPL new_system_shared_regions
493 299 UNIMPL
494 300 UNIMPL
495 301 UNIMPL
496 302 UNIMPL
497 303 UNIMPL
498 304 UNIMPL
499 305 UNIMPL
500 306 UNIMPL
501 307 UNIMPL
502 308 UNIMPL
503 309 UNIMPL
504 310 UNIMPL getsid
505 311 UNIMPL
506 312 UNIMPL
507 313 UNIMPL
508 314 UNIMPL
509 315 UNIMPL
510 316 UNIMPL
511 317 UNIMPL
512 318 UNIMPL
513 319 UNIMPL
514 320 UNIMPL
515 321 UNIMPL
516 322 UNIMPL
517 323 UNIMPL
518 324 UNIMPL mlockall
519 325 UNIMPL munlockall
520 326 UNIMPL
521 327 UNIMPL issetugid
522 328 UNIMPL __pthread_kill
523 329 UNIMPL pthread_sigmask
524 330 UNIMPL sigwait
525 331 STD { void darwin_sys_pthread_exit(void *value_ptr); }
526 332 UNIMPL
527 333 UNIMPL
528 334 UNIMPL
529 335 STD { int darwin_sys_utrace(void *addr, size_t len); }
530 336 UNIMPL
531 337 UNIMPL
532 338 UNIMPL
533 339 UNIMPL
534 340 UNIMPL
535 341 UNIMPL
536 342 UNIMPL
537 343 UNIMPL
538 344 UNIMPL
539 345 UNIMPL
540 346 UNIMPL
541 347 UNIMPL
542 348 UNIMPL
543 349 UNIMPL
544 350 STD { int darwin_sys_audit(void *record, int len); }
545 351 STD { int darwin_sys_auditon(int cmd, \
546 void *data, int len); }
547 352 UNIMPL
548 353 STD { int darwin_sys_getauid(darwin_au_id_t *auid); }
549 354 STD { int darwin_sys_setauid(darwin_au_id_t *auid); }
550 355 STD { int darwin_sys_getauditinfo(struct \
551 darwin_auditinfo *auditinfo); }
552 356 STD { int darwin_sys_setauditinfo(struct \
553 darwin_auditinfo *auditinfo); }
554 357 STD { int darwin_sys_getaudit_addr(struct \
555 darwin_auditinfo_addr *auditinfo_addr, int len); }
556 358 STD { int darwin_sys_setaudit_addr(struct \
557 darwin_auditinfo_addr *auditinfo_addr, int len); }
558 359 STD { int darwin_sys_auditctl(char *path); }
559 360 UNIMPL
560 361 UNIMPL
561 362 UNIMPL kqueue
562 363 UNIMPL kevent
Cache object: 759bdf97ca35a2a577f04b3e001bf5be
|