summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>2008-03-26 15:24:02 +0000
committerdfr <dfr@FreeBSD.org>2008-03-26 15:24:02 +0000
commit1c5a20ad6636bc94593d66def619d69804afb6f7 (patch)
treeb4bd9451f97719bf675d4b55ae8bb07ea5166f20 /sys/kern
parent79d2dfdaa69db38c43daed9744a6dbd0568189b5 (diff)
downloadFreeBSD-src-1c5a20ad6636bc94593d66def619d69804afb6f7.zip
FreeBSD-src-1c5a20ad6636bc94593d66def619d69804afb6f7.tar.gz
Regen.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/init_sysent.c4
-rw-r--r--sys/kern/syscalls.c4
-rw-r--r--sys/kern/systrace_args.c10
3 files changed, 14 insertions, 4 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 0c61e1c..acec6d1 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.240 2008/03/25 09:11:53 ru Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.241 2008/03/26 15:23:09 dfr Exp
*/
#include "opt_compat.h"
@@ -182,7 +182,7 @@ struct sysent sysent[] = {
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 151 = sem_lock */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 152 = sem_wakeup */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 153 = asyncdaemon */
- { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 154 = nosys */
+ { AS(nlm_syscall_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 154 = nlm_syscall */
{ AS(nfssvc_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0 }, /* 155 = nfssvc */
{ compat(AS(ogetdirentries_args),getdirentries), AUE_GETDIRENTRIES, NULL, 0, 0 }, /* 156 = old getdirentries */
{ compat4(AS(freebsd4_statfs_args),statfs), AUE_STATFS, NULL, 0, 0 }, /* 157 = old statfs */
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index 0180d9e..483b94d 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.240 2008/03/25 09:11:53 ru Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.241 2008/03/26 15:23:09 dfr Exp
*/
const char *syscallnames[] = {
@@ -161,7 +161,7 @@ const char *syscallnames[] = {
"#151", /* 151 = sem_lock */
"#152", /* 152 = sem_wakeup */
"#153", /* 153 = asyncdaemon */
- "#154", /* 154 = nosys */
+ "nlm_syscall", /* 154 = nlm_syscall */
"nfssvc", /* 155 = nfssvc */
"compat.getdirentries", /* 156 = old getdirentries */
"compat4.statfs", /* 157 = old statfs */
diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c
index 7dc7996..c4eb13b 100644
--- a/sys/kern/systrace_args.c
+++ b/sys/kern/systrace_args.c
@@ -830,6 +830,16 @@ systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args)
*n_args = 4;
break;
}
+ /* nlm_syscall */
+ case 154: {
+ struct nlm_syscall_args *p = params;
+ iarg[0] = p->debug_level; /* int */
+ iarg[1] = p->grace_period; /* int */
+ iarg[2] = p->addr_count; /* int */
+ uarg[3] = (intptr_t) p->addrs; /* char ** */
+ *n_args = 4;
+ break;
+ }
/* nfssvc */
case 155: {
struct nfssvc_args *p = params;
OpenPOWER on IntegriCloud