aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2021-11-29 22:03:00 +0000
committerBrooks Davis <brooks@FreeBSD.org>2021-11-29 22:04:44 +0000
commit401eec3635856b8f5b6b7961ebf372d1dd1fb60f (patch)
tree7236653791ab3b34a1ca2cf2bebbb3e2205205ee
parenta8efd4d1b3b43a5762f87befe22dd6e1cda73373 (diff)
downloadsrc-401eec3635856b8f5b6b7961ebf372d1dd1fb60f.tar.gz
src-401eec3635856b8f5b6b7961ebf372d1dd1fb60f.zip
syscalls: regen
-rw-r--r--sys/compat/freebsd32/freebsd32_systrace_args.c12
-rw-r--r--sys/kern/systrace_args.c12
-rw-r--r--sys/sys/sysproto.h5
3 files changed, 12 insertions, 17 deletions
diff --git a/sys/compat/freebsd32/freebsd32_systrace_args.c b/sys/compat/freebsd32/freebsd32_systrace_args.c
index 3392bfe99813..b5035a3868f6 100644
--- a/sys/compat/freebsd32/freebsd32_systrace_args.c
+++ b/sys/compat/freebsd32/freebsd32_systrace_args.c
@@ -15,7 +15,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
int64_t *iarg = (int64_t *)uarg;
int a = 0;
switch (sysnum) {
- /* nosys */
+ /* syscall */
case 0: {
*n_args = 0;
break;
@@ -938,7 +938,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 2;
break;
}
- /* nosys */
+ /* __syscall */
case 198: {
*n_args = 0;
break;
@@ -3330,7 +3330,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
{
const char *p = NULL;
switch (sysnum) {
- /* nosys */
+ /* syscall */
case 0:
break;
/* exit */
@@ -4821,7 +4821,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
- /* nosys */
+ /* __syscall */
case 198:
break;
/* freebsd32___sysctl */
@@ -8971,7 +8971,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
{
const char *p = NULL;
switch (sysnum) {
- /* nosys */
+ /* syscall */
case 0:
/* exit */
case 1:
@@ -9507,7 +9507,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
- /* nosys */
+ /* __syscall */
case 198:
/* freebsd32___sysctl */
case 202:
diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c
index 22f84178cbfc..d39c39050408 100644
--- a/sys/kern/systrace_args.c
+++ b/sys/kern/systrace_args.c
@@ -12,7 +12,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
int64_t *iarg = (int64_t *)uarg;
int a = 0;
switch (sysnum) {
- /* nosys */
+ /* syscall */
case 0: {
*n_args = 0;
break;
@@ -961,7 +961,7 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 2;
break;
}
- /* nosys */
+ /* __syscall */
case 198: {
*n_args = 0;
break;
@@ -3426,7 +3426,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
{
const char *p = NULL;
switch (sysnum) {
- /* nosys */
+ /* syscall */
case 0:
break;
/* exit */
@@ -4962,7 +4962,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
- /* nosys */
+ /* __syscall */
case 198:
break;
/* __sysctl */
@@ -9141,7 +9141,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
{
const char *p = NULL;
switch (sysnum) {
- /* nosys */
+ /* syscall */
case 0:
/* exit */
case 1:
@@ -9692,7 +9692,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
- /* nosys */
+ /* __syscall */
case 198:
/* __sysctl */
case 202:
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index 96f8abce4e31..fc56afba1239 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -34,9 +34,6 @@ struct thread;
#define PADR_(t) 0
#endif
-struct nosys_args {
- register_t dummy;
-};
struct exit_args {
char rval_l_[PADL_(int)]; int rval; char rval_r_[PADR_(int)];
};
@@ -1857,7 +1854,6 @@ struct fspacectl_args {
struct sched_getcpu_args {
register_t dummy;
};
-int nosys(struct thread *, struct nosys_args *);
int sys_exit(struct thread *, struct exit_args *);
int sys_fork(struct thread *, struct fork_args *);
int sys_read(struct thread *, struct read_args *);
@@ -2734,7 +2730,6 @@ int freebsd12_closefrom(struct thread *, struct freebsd12_closefrom_args *);
#endif /* COMPAT_FREEBSD12 */
-#define SYS_AUE_syscall AUE_NULL
#define SYS_AUE_exit AUE_EXIT
#define SYS_AUE_fork AUE_FORK
#define SYS_AUE_read AUE_READ