diff options
author | jilles <jilles@FreeBSD.org> | 2013-05-01 20:12:58 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2013-05-01 20:12:58 +0000 |
commit | 66a7a3379b040dcee448883bd3fc0129ef755b43 (patch) | |
tree | 183083e2c96dd3f484bd777ae423a63d666bb244 /sys/kern | |
parent | 299afd25fd6dead39bf5c78572782db885579911 (diff) | |
download | FreeBSD-src-66a7a3379b040dcee448883bd3fc0129ef755b43.zip FreeBSD-src-66a7a3379b040dcee448883bd3fc0129ef755b43.tar.gz |
Regenerate files for accept4().
Diffstat (limited to 'sys/kern')
-rw-r--r-- | sys/kern/init_sysent.c | 3 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 3 | ||||
-rw-r--r-- | sys/kern/systrace_args.c | 34 |
3 files changed, 38 insertions, 2 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 8de1fdb..285ff85 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 + * created from FreeBSD: head/sys/kern/syscalls.master 250154 2013-05-01 20:10:21Z jilles */ #include "opt_compat.h" @@ -575,4 +575,5 @@ struct sysent sysent[] = { { AS(bindat_args), (sy_call_t *)sys_bindat, AUE_BINDAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 538 = bindat */ { AS(connectat_args), (sy_call_t *)sys_connectat, AUE_CONNECTAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 539 = connectat */ { AS(chflagsat_args), (sy_call_t *)sys_chflagsat, AUE_CHFLAGSAT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 540 = chflagsat */ + { AS(accept4_args), (sy_call_t *)sys_accept4, AUE_ACCEPT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 541 = accept4 */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 9b40bb2..c2a3dd4 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 + * created from FreeBSD: head/sys/kern/syscalls.master 250154 2013-05-01 20:10:21Z jilles */ const char *syscallnames[] = { @@ -548,4 +548,5 @@ const char *syscallnames[] = { "bindat", /* 538 = bindat */ "connectat", /* 539 = connectat */ "chflagsat", /* 540 = chflagsat */ + "accept4", /* 541 = accept4 */ }; diff --git a/sys/kern/systrace_args.c b/sys/kern/systrace_args.c index f988e4c..4f4ffda 100644 --- a/sys/kern/systrace_args.c +++ b/sys/kern/systrace_args.c @@ -3358,6 +3358,16 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args) *n_args = 4; break; } + /* accept4 */ + case 541: { + struct accept4_args *p = params; + iarg[0] = p->s; /* int */ + uarg[1] = (intptr_t) p->name; /* struct sockaddr *__restrict */ + uarg[2] = (intptr_t) p->anamelen; /* __socklen_t *__restrict */ + iarg[3] = p->flags; /* int */ + *n_args = 4; + break; + } default: *n_args = 0; break; @@ -8945,6 +8955,25 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) break; }; break; + /* accept4 */ + case 541: + switch(ndx) { + case 0: + p = "int"; + break; + case 1: + p = "struct sockaddr *__restrict"; + break; + case 2: + p = "__socklen_t *__restrict"; + break; + case 3: + p = "int"; + break; + default: + break; + }; + break; default: break; }; @@ -10878,6 +10907,11 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz) if (ndx == 0 || ndx == 1) p = "int"; break; + /* accept4 */ + case 541: + if (ndx == 0 || ndx == 1) + p = "int"; + break; default: break; }; |