diff options
author | jhb <jhb@FreeBSD.org> | 2008-01-08 22:01:26 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-01-08 22:01:26 +0000 |
commit | 1975c095433557ab04b0b28101fb49a9320af637 (patch) | |
tree | d8658f5946c0fc83738a886aa8f2dfb77a5f3944 /sys/kern | |
parent | 8cd9437636744162d1427275b2fe66cf8ccef25c (diff) | |
download | FreeBSD-src-1975c095433557ab04b0b28101fb49a9320af637.zip FreeBSD-src-1975c095433557ab04b0b28101fb49a9320af637.tar.gz |
Regen for shm_open(2) and shm_unlink(2).
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_sysent.c | 4 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 4 | ||||
-rw-r--r-- | sys/kern/systrace_args.c | 16 |
3 files changed, 22 insertions, 2 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 551c257..cc629cd 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.232 2007/07/04 22:47:37 peter Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.235 2008/01/08 21:58:15 jhb Exp */ #include "opt_compat.h" @@ -511,4 +511,6 @@ struct sysent sysent[] = { { AS(truncate_args), (sy_call_t *)truncate, AUE_TRUNCATE, NULL, 0, 0 }, /* 479 = truncate */ { AS(ftruncate_args), (sy_call_t *)ftruncate, AUE_FTRUNCATE, NULL, 0, 0 }, /* 480 = ftruncate */ { AS(thr_kill2_args), (sy_call_t *)thr_kill2, AUE_KILL, NULL, 0, 0 }, /* 481 = thr_kill2 */ + { AS(shm_open_args), (sy_call_t *)shm_open, AUE_NULL, NULL, 0, 0 }, /* 482 = shm_open */ + { AS(shm_unlink_args), (sy_call_t *)shm_unlink, AUE_NULL, NULL, 0, 0 }, /* 483 = shm_unlink */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index ea43744..fcdc8d8 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.232 2007/07/04 22:47:37 peter Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.235 2008/01/08 21:58:15 jhb Exp */ const char *syscallnames[] = { @@ -489,4 +489,6 @@ const char *syscallnames[] = { "truncate", /* 479 = truncate */ "ftruncate", /* 480 = ftruncate */ "thr_kill2", /* 481 = thr_kill2 */ + "shm_open", /* 482 = shm_open */ + "shm_unlink", /* 483 = shm_unlink */ }; diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c index cc5f1b0..45a2056 100644 --- a/sys/kern/systrace_args.c +++ b/sys/kern/systrace_args.c @@ -2871,6 +2871,22 @@ systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args) *n_args = 3; break; } + /* shm_open */ + case 482: { + struct shm_open_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + iarg[1] = p->flags; /* int */ + iarg[2] = p->mode; /* mode_t */ + *n_args = 3; + break; + } + /* shm_unlink */ + case 483: { + struct shm_unlink_args *p = params; + uarg[0] = (intptr_t) p->path; /* const char * */ + *n_args = 1; + break; + } default: *n_args = 0; break; |