Regenerate

This commit is contained in:
Konstantin Belousov 2009-10-27 11:01:15 +00:00
parent 6de630f925
commit 17c974499c
3 changed files with 41 additions and 2 deletions

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 197636 2009-09-30 08:46:01Z rwatson
* created from FreeBSD: head/sys/kern/syscalls.master 198508 2009-10-27 10:55:34Z kib
*/
#include "opt_compat.h"
@ -556,4 +556,5 @@ struct sysent sysent[] = {
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 519 = pdkill */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 520 = pdgetpid */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0 }, /* 521 = pdwait */
{ AS(pselect_args), (sy_call_t *)pselect, AUE_SELECT, NULL, 0, 0, 0 }, /* 522 = pselect */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 197636 2009-09-30 08:46:01Z rwatson
* created from FreeBSD: head/sys/kern/syscalls.master 198508 2009-10-27 10:55:34Z kib
*/
const char *syscallnames[] = {
@ -529,4 +529,5 @@ const char *syscallnames[] = {
"#519", /* 519 = pdkill */
"#520", /* 520 = pdgetpid */
"#521", /* 521 = pdwait */
"pselect", /* 522 = pselect */
};

View File

@ -3072,6 +3072,18 @@ systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args)
*n_args = 2;
break;
}
/* pselect */
case 522: {
struct pselect_args *p = params;
iarg[0] = p->nd; /* int */
uarg[1] = (intptr_t) p->in; /* fd_set * */
uarg[2] = (intptr_t) p->ou; /* fd_set * */
uarg[3] = (intptr_t) p->ex; /* fd_set * */
uarg[4] = (intptr_t) p->ts; /* const struct timespec * */
uarg[5] = (intptr_t) p->sm; /* const sigset_t * */
*n_args = 6;
break;
}
default:
*n_args = 0;
break;
@ -8154,6 +8166,31 @@ systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* pselect */
case 522:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "fd_set *";
break;
case 2:
p = "fd_set *";
break;
case 3:
p = "fd_set *";
break;
case 4:
p = "const struct timespec *";
break;
case 5:
p = "const sigset_t *";
break;
default:
break;
};
break;
default:
break;
};