diff options
author | Doug Rabson <dfr@FreeBSD.org> | 2008-03-26 15:24:02 +0000 |
---|---|---|
committer | Doug Rabson <dfr@FreeBSD.org> | 2008-03-26 15:24:02 +0000 |
commit | a7ac0db6cbe1b4635df0395414c275fa5bd656d7 (patch) | |
tree | b4bd9451f97719bf675d4b55ae8bb07ea5166f20 | |
parent | dfdcada31e7924c832024404c6a09a2db04e397e (diff) | |
download | src-a7ac0db6cbe1b4635df0395414c275fa5bd656d7.tar.gz src-a7ac0db6cbe1b4635df0395414c275fa5bd656d7.zip |
Regen.
Notes
Notes:
svn path=/head/; revision=177634
-rw-r--r-- | sys/compat/freebsd32/freebsd32_proto.h | 2 | ||||
-rw-r--r-- | sys/compat/freebsd32/freebsd32_syscall.h | 2 | ||||
-rw-r--r-- | sys/compat/freebsd32/freebsd32_syscalls.c | 4 | ||||
-rw-r--r-- | sys/compat/freebsd32/freebsd32_sysent.c | 4 | ||||
-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 | 10 | ||||
-rw-r--r-- | sys/sys/syscall.h | 3 | ||||
-rw-r--r-- | sys/sys/syscall.mk | 3 | ||||
-rw-r--r-- | sys/sys/sysproto.h | 10 |
10 files changed, 33 insertions, 13 deletions
diff --git a/sys/compat/freebsd32/freebsd32_proto.h b/sys/compat/freebsd32/freebsd32_proto.h index 3530825663c2..da66affd4f9a 100644 --- a/sys/compat/freebsd32/freebsd32_proto.h +++ b/sys/compat/freebsd32/freebsd32_proto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.98 2008/03/25 19:34:47 jhb Exp + * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.99 2008/03/26 15:23:07 dfr Exp */ #ifndef _FREEBSD32_SYSPROTO_H_ diff --git a/sys/compat/freebsd32/freebsd32_syscall.h b/sys/compat/freebsd32/freebsd32_syscall.h index 67a0ac2cb174..6520022ed1a0 100644 --- a/sys/compat/freebsd32/freebsd32_syscall.h +++ b/sys/compat/freebsd32/freebsd32_syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.98 2008/03/25 19:34:47 jhb Exp + * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.99 2008/03/26 15:23:07 dfr Exp */ #define FREEBSD32_SYS_syscall 0 diff --git a/sys/compat/freebsd32/freebsd32_syscalls.c b/sys/compat/freebsd32/freebsd32_syscalls.c index f9488ad6b5fe..82212cdd0cd4 100644 --- a/sys/compat/freebsd32/freebsd32_syscalls.c +++ b/sys/compat/freebsd32/freebsd32_syscalls.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.98 2008/03/25 19:34:47 jhb Exp + * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.99 2008/03/26 15:23:07 dfr Exp */ const char *freebsd32_syscallnames[] = { @@ -161,7 +161,7 @@ const char *freebsd32_syscallnames[] = { "#151", /* 151 = sem_lock */ "#152", /* 152 = sem_wakeup */ "#153", /* 153 = asyncdaemon */ - "#154", /* 154 = nosys */ + "#154", /* 154 = nlm_syscall */ "#155", /* 155 = nfssvc */ "obs_ogetdirentries", /* 156 = obsolete ogetdirentries */ "compat4.freebsd32_statfs", /* 157 = old freebsd32_statfs */ diff --git a/sys/compat/freebsd32/freebsd32_sysent.c b/sys/compat/freebsd32/freebsd32_sysent.c index fe95c790b721..3d328197814c 100644 --- a/sys/compat/freebsd32/freebsd32_sysent.c +++ b/sys/compat/freebsd32/freebsd32_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.98 2008/03/25 19:34:47 jhb Exp + * created from FreeBSD: src/sys/compat/freebsd32/syscalls.master,v 1.99 2008/03/26 15:23:07 dfr Exp */ #include "opt_compat.h" @@ -192,7 +192,7 @@ struct sysent freebsd32_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 */ + { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 154 = nlm_syscall */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 155 = nfssvc */ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 156 = obsolete ogetdirentries */ { compat4(AS(freebsd4_freebsd32_statfs_args),freebsd32_statfs), AUE_STATFS, NULL, 0, 0 }, /* 157 = old freebsd32_statfs */ diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 0c61e1cb5db9..acec6d1f7d1f 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 0180d9e33e98..483b94d85ed2 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 7dc7996beff5..c4eb13be56b9 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; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 6166ae04c42f..ed5e245b2cda 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -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 */ #define SYS_syscall 0 @@ -154,6 +154,7 @@ #define SYS_quotactl 148 /* 149 is old quota */ /* 150 is old getsockname */ +#define SYS_nlm_syscall 154 #define SYS_nfssvc 155 /* 156 is old getdirentries */ #define SYS_freebsd4_statfs 157 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index 60bf11e38541..68998d44d2ec 100644 --- a/sys/sys/syscall.mk +++ b/sys/sys/syscall.mk @@ -1,7 +1,7 @@ # FreeBSD system call names. # 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 MIASM = \ syscall.o \ exit.o \ @@ -107,6 +107,7 @@ MIASM = \ adjtime.o \ setsid.o \ quotactl.o \ + nlm_syscall.o \ nfssvc.o \ freebsd4_statfs.o \ freebsd4_fstatfs.o \ diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index e5145dd78698..1daf613c8fec 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -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 */ #ifndef _SYS_SYSPROTO_H_ @@ -482,6 +482,12 @@ struct quotactl_args { struct oquota_args { register_t dummy; }; +struct nlm_syscall_args { + char debug_level_l_[PADL_(int)]; int debug_level; char debug_level_r_[PADR_(int)]; + char grace_period_l_[PADL_(int)]; int grace_period; char grace_period_r_[PADR_(int)]; + char addr_count_l_[PADL_(int)]; int addr_count; char addr_count_r_[PADR_(int)]; + char addrs_l_[PADL_(char **)]; char ** addrs; char addrs_r_[PADR_(char **)]; +}; struct nfssvc_args { char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)]; char argp_l_[PADL_(caddr_t)]; caddr_t argp; char argp_r_[PADR_(caddr_t)]; @@ -1638,6 +1644,7 @@ int utimes(struct thread *, struct utimes_args *); int adjtime(struct thread *, struct adjtime_args *); int setsid(struct thread *, struct setsid_args *); int quotactl(struct thread *, struct quotactl_args *); +int nlm_syscall(struct thread *, struct nlm_syscall_args *); int nfssvc(struct thread *, struct nfssvc_args *); int lgetfh(struct thread *, struct lgetfh_args *); int getfh(struct thread *, struct getfh_args *); @@ -2203,6 +2210,7 @@ int freebsd4_sigreturn(struct thread *, struct freebsd4_sigreturn_args *); #define SYS_AUE_adjtime AUE_ADJTIME #define SYS_AUE_setsid AUE_SETSID #define SYS_AUE_quotactl AUE_QUOTACTL +#define SYS_AUE_nlm_syscall AUE_NULL #define SYS_AUE_nfssvc AUE_NFS_SVC #define SYS_AUE_lgetfh AUE_LGETFH #define SYS_AUE_getfh AUE_NFS_GETFH |