Regenerate after r254447.

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
pjd 2013-08-17 14:18:41 +00:00
parent b3f1c95907
commit 8919b4e852
5 changed files with 93 additions and 12 deletions

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 253530 2013-07-21 19:43:52Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 254447 2013-08-17 14:17:13Z pjd
*/
#ifndef _FREEBSD32_SYSPROTO_H_

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 253530 2013-07-21 19:43:52Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 254447 2013-08-17 14:17:13Z pjd
*/
#define FREEBSD32_SYS_syscall 0
@ -424,6 +424,9 @@
#define FREEBSD32_SYS_cap_rights_get 515
#define FREEBSD32_SYS_cap_enter 516
#define FREEBSD32_SYS_cap_getmode 517
#define FREEBSD32_SYS_pdfork 518
#define FREEBSD32_SYS_pdkill 519
#define FREEBSD32_SYS_pdgetpid 520
#define FREEBSD32_SYS_freebsd32_pselect 522
#define FREEBSD32_SYS_getloginclass 523
#define FREEBSD32_SYS_setloginclass 524

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 253530 2013-07-21 19:43:52Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 254447 2013-08-17 14:17:13Z pjd
*/
const char *freebsd32_syscallnames[] = {
@ -541,10 +541,10 @@ const char *freebsd32_syscallnames[] = {
"cap_rights_get", /* 515 = cap_rights_get */
"cap_enter", /* 516 = cap_enter */
"cap_getmode", /* 517 = cap_getmode */
"#518", /* 518 = pdfork */
"#519", /* 519 = pdkill */
"#520", /* 520 = pdgetpid */
"#521", /* 521 = pdwait */
"pdfork", /* 518 = pdfork */
"pdkill", /* 519 = pdkill */
"pdgetpid", /* 520 = pdgetpid */
"#521", /* 521 = pdwait4 */
"freebsd32_pselect", /* 522 = freebsd32_pselect */
"getloginclass", /* 523 = getloginclass */
"setloginclass", /* 524 = setloginclass */

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 253530 2013-07-21 19:43:52Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 254447 2013-08-17 14:17:13Z pjd
*/
#include "opt_compat.h"
@ -578,10 +578,10 @@ struct sysent freebsd32_sysent[] = {
{ AS(cap_rights_get_args), (sy_call_t *)sys_cap_rights_get, AUE_CAP_RIGHTS_GET, NULL, 0, 0, 0, SY_THR_STATIC }, /* 515 = cap_rights_get */
{ 0, (sy_call_t *)sys_cap_enter, AUE_CAP_ENTER, NULL, 0, 0, 0, SY_THR_STATIC }, /* 516 = cap_enter */
{ AS(cap_getmode_args), (sy_call_t *)sys_cap_getmode, AUE_CAP_GETMODE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 517 = cap_getmode */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 518 = pdfork */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 519 = pdkill */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 520 = pdgetpid */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 521 = pdwait */
{ AS(pdfork_args), (sy_call_t *)sys_pdfork, AUE_PDFORK, NULL, 0, 0, 0, SY_THR_STATIC }, /* 518 = pdfork */
{ AS(pdkill_args), (sy_call_t *)sys_pdkill, AUE_PDKILL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 519 = pdkill */
{ AS(pdgetpid_args), (sy_call_t *)sys_pdgetpid, AUE_PDGETPID, NULL, 0, 0, 0, SY_THR_STATIC }, /* 520 = pdgetpid */
{ 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 521 = pdwait4 */
{ AS(freebsd32_pselect_args), (sy_call_t *)freebsd32_pselect, AUE_SELECT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 522 = freebsd32_pselect */
{ AS(getloginclass_args), (sy_call_t *)sys_getloginclass, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 523 = getloginclass */
{ AS(setloginclass_args), (sy_call_t *)sys_setloginclass, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 524 = setloginclass */

View File

@ -3018,6 +3018,30 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 1;
break;
}
/* pdfork */
case 518: {
struct pdfork_args *p = params;
uarg[0] = (intptr_t) p->fdp; /* int * */
iarg[1] = p->flags; /* int */
*n_args = 2;
break;
}
/* pdkill */
case 519: {
struct pdkill_args *p = params;
iarg[0] = p->fd; /* int */
iarg[1] = p->signum; /* int */
*n_args = 2;
break;
}
/* pdgetpid */
case 520: {
struct pdgetpid_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = (intptr_t) p->pidp; /* pid_t * */
*n_args = 2;
break;
}
/* freebsd32_pselect */
case 522: {
struct freebsd32_pselect_args *p = params;
@ -8281,6 +8305,45 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* pdfork */
case 518:
switch(ndx) {
case 0:
p = "int *";
break;
case 1:
p = "int";
break;
default:
break;
};
break;
/* pdkill */
case 519:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "int";
break;
default:
break;
};
break;
/* pdgetpid */
case 520:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "pid_t *";
break;
default:
break;
};
break;
/* freebsd32_pselect */
case 522:
switch(ndx) {
@ -10488,6 +10551,21 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* pdfork */
case 518:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* pdkill */
case 519:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* pdgetpid */
case 520:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* freebsd32_pselect */
case 522:
if (ndx == 0 || ndx == 1)