Regen after r247602.

This commit is contained in:
Pawel Jakub Dawidek 2013-03-02 00:55:09 +00:00
parent 2609222ab4
commit 1dc31587bf
11 changed files with 374 additions and 31 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 242958 2012-11-13 12:52:31Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 247602 2013-03-02 00:53:12Z 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 242958 2012-11-13 12:52:31Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 247602 2013-03-02 00:53:12Z pjd
*/
#define FREEBSD32_SYS_syscall 0
@ -416,7 +416,7 @@
#define FREEBSD32_SYS_freebsd32_shmctl 512
#define FREEBSD32_SYS_lpathconf 513
#define FREEBSD32_SYS_cap_new 514
#define FREEBSD32_SYS_cap_getrights 515
#define FREEBSD32_SYS_cap_rights_get 515
#define FREEBSD32_SYS_cap_enter 516
#define FREEBSD32_SYS_cap_getmode 517
#define FREEBSD32_SYS_freebsd32_pselect 522
@ -430,4 +430,9 @@
#define FREEBSD32_SYS_freebsd32_posix_fallocate 530
#define FREEBSD32_SYS_freebsd32_posix_fadvise 531
#define FREEBSD32_SYS_freebsd32_wait6 532
#define FREEBSD32_SYS_MAXSYSCALL 533
#define FREEBSD32_SYS_cap_rights_limit 533
#define FREEBSD32_SYS_cap_ioctls_limit 534
#define FREEBSD32_SYS_cap_ioctls_get 535
#define FREEBSD32_SYS_cap_fcntls_limit 536
#define FREEBSD32_SYS_cap_fcntls_get 537
#define FREEBSD32_SYS_MAXSYSCALL 538

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 242958 2012-11-13 12:52:31Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 247602 2013-03-02 00:53:12Z pjd
*/
const char *freebsd32_syscallnames[] = {
@ -538,7 +538,7 @@ const char *freebsd32_syscallnames[] = {
"freebsd32_shmctl", /* 512 = freebsd32_shmctl */
"lpathconf", /* 513 = lpathconf */
"cap_new", /* 514 = cap_new */
"cap_getrights", /* 515 = cap_getrights */
"cap_rights_get", /* 515 = cap_rights_get */
"cap_enter", /* 516 = cap_enter */
"cap_getmode", /* 517 = cap_getmode */
"#518", /* 518 = pdfork */
@ -556,4 +556,9 @@ const char *freebsd32_syscallnames[] = {
"freebsd32_posix_fallocate", /* 530 = freebsd32_posix_fallocate */
"freebsd32_posix_fadvise", /* 531 = freebsd32_posix_fadvise */
"freebsd32_wait6", /* 532 = freebsd32_wait6 */
"cap_rights_limit", /* 533 = cap_rights_limit */
"cap_ioctls_limit", /* 534 = cap_ioctls_limit */
"cap_ioctls_get", /* 535 = cap_ioctls_get */
"cap_fcntls_limit", /* 536 = cap_fcntls_limit */
"cap_fcntls_get", /* 537 = cap_fcntls_get */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 242958 2012-11-13 12:52:31Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 247602 2013-03-02 00:53:12Z pjd
*/
#include "opt_compat.h"
@ -575,7 +575,7 @@ struct sysent freebsd32_sysent[] = {
{ AS(freebsd32_shmctl_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 512 = freebsd32_shmctl */
{ AS(lpathconf_args), (sy_call_t *)sys_lpathconf, AUE_LPATHCONF, NULL, 0, 0, 0, SY_THR_STATIC }, /* 513 = lpathconf */
{ AS(cap_new_args), (sy_call_t *)sys_cap_new, AUE_CAP_NEW, NULL, 0, 0, 0, SY_THR_STATIC }, /* 514 = cap_new */
{ AS(cap_getrights_args), (sy_call_t *)sys_cap_getrights, AUE_CAP_GETRIGHTS, NULL, 0, 0, 0, SY_THR_STATIC }, /* 515 = cap_getrights */
{ 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 */
@ -593,4 +593,9 @@ struct sysent freebsd32_sysent[] = {
{ AS(freebsd32_posix_fallocate_args), (sy_call_t *)freebsd32_posix_fallocate, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 530 = freebsd32_posix_fallocate */
{ AS(freebsd32_posix_fadvise_args), (sy_call_t *)freebsd32_posix_fadvise, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 531 = freebsd32_posix_fadvise */
{ AS(freebsd32_wait6_args), (sy_call_t *)freebsd32_wait6, AUE_WAIT6, NULL, 0, 0, 0, SY_THR_STATIC }, /* 532 = freebsd32_wait6 */
{ AS(cap_rights_limit_args), (sy_call_t *)sys_cap_rights_limit, AUE_CAP_RIGHTS_LIMIT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 533 = cap_rights_limit */
{ AS(cap_ioctls_limit_args), (sy_call_t *)sys_cap_ioctls_limit, AUE_CAP_IOCTLS_LIMIT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 534 = cap_ioctls_limit */
{ AS(cap_ioctls_get_args), (sy_call_t *)sys_cap_ioctls_get, AUE_CAP_IOCTLS_GET, NULL, 0, 0, 0, SY_THR_STATIC }, /* 535 = cap_ioctls_get */
{ AS(cap_fcntls_limit_args), (sy_call_t *)sys_cap_fcntls_limit, AUE_CAP_FCNTLS_LIMIT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 536 = cap_fcntls_limit */
{ AS(cap_fcntls_get_args), (sy_call_t *)sys_cap_fcntls_get, AUE_CAP_FCNTLS_GET, NULL, 0, 0, 0, SY_THR_STATIC }, /* 537 = cap_fcntls_get */
};

View File

@ -2956,9 +2956,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 2;
break;
}
/* cap_getrights */
/* cap_rights_get */
case 515: {
struct cap_getrights_args *p = params;
struct cap_rights_get_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = (intptr_t) p->rightsp; /* uint64_t * */
*n_args = 2;
@ -3088,6 +3088,48 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 6;
break;
}
/* cap_rights_limit */
case 533: {
struct cap_rights_limit_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = p->rights; /* uint64_t */
*n_args = 2;
break;
}
/* cap_ioctls_limit */
case 534: {
struct cap_ioctls_limit_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = (intptr_t) p->cmds; /* const u_long * */
uarg[2] = p->ncmds; /* size_t */
*n_args = 3;
break;
}
/* cap_ioctls_get */
case 535: {
struct cap_ioctls_get_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = (intptr_t) p->cmds; /* u_long * */
uarg[2] = p->maxcmds; /* size_t */
*n_args = 3;
break;
}
/* cap_fcntls_limit */
case 536: {
struct cap_fcntls_limit_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = p->fcntlrights; /* uint32_t */
*n_args = 2;
break;
}
/* cap_fcntls_get */
case 537: {
struct cap_fcntls_get_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
*n_args = 2;
break;
}
default:
*n_args = 0;
break;
@ -8002,7 +8044,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* cap_getrights */
/* cap_rights_get */
case 515:
switch(ndx) {
case 0:
@ -8243,6 +8285,77 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* cap_rights_limit */
case 533:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "uint64_t";
break;
default:
break;
};
break;
/* cap_ioctls_limit */
case 534:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "const u_long *";
break;
case 2:
p = "size_t";
break;
default:
break;
};
break;
/* cap_ioctls_get */
case 535:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "u_long *";
break;
case 2:
p = "size_t";
break;
default:
break;
};
break;
/* cap_fcntls_limit */
case 536:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "uint32_t";
break;
default:
break;
};
break;
/* cap_fcntls_get */
case 537:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "uint32_t *";
break;
default:
break;
};
break;
default:
break;
};
@ -9938,7 +10051,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* cap_getrights */
/* cap_rights_get */
case 515:
if (ndx == 0 || ndx == 1)
p = "int";
@ -10005,6 +10118,31 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* cap_rights_limit */
case 533:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* cap_ioctls_limit */
case 534:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* cap_ioctls_get */
case 535:
if (ndx == 0 || ndx == 1)
p = "ssize_t";
break;
/* cap_fcntls_limit */
case 536:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* cap_fcntls_get */
case 537:
if (ndx == 0 || ndx == 1)
p = "int";
break;
default:
break;
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 242958 2012-11-13 12:52:31Z kib
* created from FreeBSD: head/sys/kern/syscalls.master 247602 2013-03-02 00:53:12Z pjd
*/
#include "opt_compat.h"
@ -88,7 +88,7 @@ struct sysent sysent[] = {
{ AS(acct_args), (sy_call_t *)sys_acct, AUE_ACCT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 51 = acct */
{ compat(0,sigpending), AUE_SIGPENDING, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 52 = old sigpending */
{ AS(sigaltstack_args), (sy_call_t *)sys_sigaltstack, AUE_SIGALTSTACK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 53 = sigaltstack */
{ AS(ioctl_args), (sy_call_t *)sys_ioctl, AUE_IOCTL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 54 = ioctl */
{ AS(ioctl_args), (sy_call_t *)sys_ioctl, AUE_IOCTL, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 54 = ioctl */
{ AS(reboot_args), (sy_call_t *)sys_reboot, AUE_REBOOT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 55 = reboot */
{ AS(revoke_args), (sy_call_t *)sys_revoke, AUE_REVOKE, NULL, 0, 0, 0, SY_THR_STATIC }, /* 56 = revoke */
{ AS(symlink_args), (sy_call_t *)sys_symlink, AUE_SYMLINK, NULL, 0, 0, 0, SY_THR_STATIC }, /* 57 = symlink */
@ -549,7 +549,7 @@ struct sysent sysent[] = {
{ AS(shmctl_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT }, /* 512 = shmctl */
{ AS(lpathconf_args), (sy_call_t *)sys_lpathconf, AUE_LPATHCONF, NULL, 0, 0, 0, SY_THR_STATIC }, /* 513 = lpathconf */
{ AS(cap_new_args), (sy_call_t *)sys_cap_new, AUE_CAP_NEW, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 514 = cap_new */
{ AS(cap_getrights_args), (sy_call_t *)sys_cap_getrights, AUE_CAP_GETRIGHTS, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 515 = cap_getrights */
{ AS(cap_rights_get_args), (sy_call_t *)sys_cap_rights_get, AUE_CAP_RIGHTS_GET, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 515 = cap_rights_get */
{ 0, (sy_call_t *)sys_cap_enter, AUE_CAP_ENTER, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 516 = cap_enter */
{ AS(cap_getmode_args), (sy_call_t *)sys_cap_getmode, AUE_CAP_GETMODE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 517 = cap_getmode */
{ AS(pdfork_args), (sy_call_t *)sys_pdfork, AUE_PDFORK, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 518 = pdfork */
@ -567,4 +567,9 @@ struct sysent sysent[] = {
{ AS(posix_fallocate_args), (sy_call_t *)sys_posix_fallocate, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 530 = posix_fallocate */
{ AS(posix_fadvise_args), (sy_call_t *)sys_posix_fadvise, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 531 = posix_fadvise */
{ AS(wait6_args), (sy_call_t *)sys_wait6, AUE_WAIT6, NULL, 0, 0, 0, SY_THR_STATIC }, /* 532 = wait6 */
{ AS(cap_rights_limit_args), (sy_call_t *)sys_cap_rights_limit, AUE_CAP_RIGHTS_LIMIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 533 = cap_rights_limit */
{ AS(cap_ioctls_limit_args), (sy_call_t *)sys_cap_ioctls_limit, AUE_CAP_IOCTLS_LIMIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 534 = cap_ioctls_limit */
{ AS(cap_ioctls_get_args), (sy_call_t *)sys_cap_ioctls_get, AUE_CAP_IOCTLS_GET, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 535 = cap_ioctls_get */
{ AS(cap_fcntls_limit_args), (sy_call_t *)sys_cap_fcntls_limit, AUE_CAP_FCNTLS_LIMIT, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 536 = cap_fcntls_limit */
{ AS(cap_fcntls_get_args), (sy_call_t *)sys_cap_fcntls_get, AUE_CAP_FCNTLS_GET, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC }, /* 537 = cap_fcntls_get */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 242958 2012-11-13 12:52:31Z kib
* created from FreeBSD: head/sys/kern/syscalls.master 247602 2013-03-02 00:53:12Z pjd
*/
const char *syscallnames[] = {
@ -522,7 +522,7 @@ const char *syscallnames[] = {
"shmctl", /* 512 = shmctl */
"lpathconf", /* 513 = lpathconf */
"cap_new", /* 514 = cap_new */
"cap_getrights", /* 515 = cap_getrights */
"cap_rights_get", /* 515 = cap_rights_get */
"cap_enter", /* 516 = cap_enter */
"cap_getmode", /* 517 = cap_getmode */
"pdfork", /* 518 = pdfork */
@ -540,4 +540,9 @@ const char *syscallnames[] = {
"posix_fallocate", /* 530 = posix_fallocate */
"posix_fadvise", /* 531 = posix_fadvise */
"wait6", /* 532 = wait6 */
"cap_rights_limit", /* 533 = cap_rights_limit */
"cap_ioctls_limit", /* 534 = cap_ioctls_limit */
"cap_ioctls_get", /* 535 = cap_ioctls_get */
"cap_fcntls_limit", /* 536 = cap_fcntls_limit */
"cap_fcntls_get", /* 537 = cap_fcntls_get */
};

View File

@ -3134,9 +3134,9 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 2;
break;
}
/* cap_getrights */
/* cap_rights_get */
case 515: {
struct cap_getrights_args *p = params;
struct cap_rights_get_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = (intptr_t) p->rightsp; /* uint64_t * */
*n_args = 2;
@ -3286,6 +3286,48 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 6;
break;
}
/* cap_rights_limit */
case 533: {
struct cap_rights_limit_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = p->rights; /* uint64_t */
*n_args = 2;
break;
}
/* cap_ioctls_limit */
case 534: {
struct cap_ioctls_limit_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = (intptr_t) p->cmds; /* const u_long * */
uarg[2] = p->ncmds; /* size_t */
*n_args = 3;
break;
}
/* cap_ioctls_get */
case 535: {
struct cap_ioctls_get_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = (intptr_t) p->cmds; /* u_long * */
uarg[2] = p->maxcmds; /* size_t */
*n_args = 3;
break;
}
/* cap_fcntls_limit */
case 536: {
struct cap_fcntls_limit_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = p->fcntlrights; /* uint32_t */
*n_args = 2;
break;
}
/* cap_fcntls_get */
case 537: {
struct cap_fcntls_get_args *p = params;
iarg[0] = p->fd; /* int */
uarg[1] = (intptr_t) p->fcntlrightsp; /* uint32_t * */
*n_args = 2;
break;
}
default:
*n_args = 0;
break;
@ -8477,7 +8519,7 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* cap_getrights */
/* cap_rights_get */
case 515:
switch(ndx) {
case 0:
@ -8745,6 +8787,77 @@ systrace_entry_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* cap_rights_limit */
case 533:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "uint64_t";
break;
default:
break;
};
break;
/* cap_ioctls_limit */
case 534:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "const u_long *";
break;
case 2:
p = "size_t";
break;
default:
break;
};
break;
/* cap_ioctls_get */
case 535:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "u_long *";
break;
case 2:
p = "size_t";
break;
default:
break;
};
break;
/* cap_fcntls_limit */
case 536:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "uint32_t";
break;
default:
break;
};
break;
/* cap_fcntls_get */
case 537:
switch(ndx) {
case 0:
p = "int";
break;
case 1:
p = "uint32_t *";
break;
default:
break;
};
break;
default:
break;
};
@ -10556,7 +10669,7 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* cap_getrights */
/* cap_rights_get */
case 515:
if (ndx == 0 || ndx == 1)
p = "int";
@ -10638,6 +10751,31 @@ systrace_return_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* cap_rights_limit */
case 533:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* cap_ioctls_limit */
case 534:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* cap_ioctls_get */
case 535:
if (ndx == 0 || ndx == 1)
p = "ssize_t";
break;
/* cap_fcntls_limit */
case 536:
if (ndx == 0 || ndx == 1)
p = "int";
break;
/* cap_fcntls_get */
case 537:
if (ndx == 0 || ndx == 1)
p = "int";
break;
default:
break;
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 242958 2012-11-13 12:52:31Z kib
* created from FreeBSD: head/sys/kern/syscalls.master 247602 2013-03-02 00:53:12Z pjd
*/
#define SYS_syscall 0
@ -435,7 +435,7 @@
#define SYS_shmctl 512
#define SYS_lpathconf 513
#define SYS_cap_new 514
#define SYS_cap_getrights 515
#define SYS_cap_rights_get 515
#define SYS_cap_enter 516
#define SYS_cap_getmode 517
#define SYS_pdfork 518
@ -452,4 +452,9 @@
#define SYS_posix_fallocate 530
#define SYS_posix_fadvise 531
#define SYS_wait6 532
#define SYS_MAXSYSCALL 533
#define SYS_cap_rights_limit 533
#define SYS_cap_ioctls_limit 534
#define SYS_cap_ioctls_get 535
#define SYS_cap_fcntls_limit 536
#define SYS_cap_fcntls_get 537
#define SYS_MAXSYSCALL 538

View File

@ -1,7 +1,7 @@
# FreeBSD system call names.
# DO NOT EDIT-- this file is automatically generated.
# $FreeBSD$
# created from FreeBSD: head/sys/kern/syscalls.master 242958 2012-11-13 12:52:31Z kib
# created from FreeBSD: head/sys/kern/syscalls.master 247602 2013-03-02 00:53:12Z pjd
MIASM = \
syscall.o \
exit.o \
@ -384,7 +384,7 @@ MIASM = \
shmctl.o \
lpathconf.o \
cap_new.o \
cap_getrights.o \
cap_rights_get.o \
cap_enter.o \
cap_getmode.o \
pdfork.o \
@ -400,4 +400,9 @@ MIASM = \
rctl_remove_rule.o \
posix_fallocate.o \
posix_fadvise.o \
wait6.o
wait6.o \
cap_rights_limit.o \
cap_ioctls_limit.o \
cap_ioctls_get.o \
cap_fcntls_limit.o \
cap_fcntls_get.o

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 242958 2012-11-13 12:52:31Z kib
* created from FreeBSD: head/sys/kern/syscalls.master 247602 2013-03-02 00:53:12Z pjd
*/
#ifndef _SYS_SYSPROTO_H_
@ -1676,7 +1676,7 @@ struct cap_new_args {
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
char rights_l_[PADL_(uint64_t)]; uint64_t rights; char rights_r_[PADR_(uint64_t)];
};
struct cap_getrights_args {
struct cap_rights_get_args {
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
char rightsp_l_[PADL_(uint64_t *)]; uint64_t * rightsp; char rightsp_r_[PADR_(uint64_t *)];
};
@ -1762,6 +1762,28 @@ struct wait6_args {
char wrusage_l_[PADL_(struct __wrusage *)]; struct __wrusage * wrusage; char wrusage_r_[PADR_(struct __wrusage *)];
char info_l_[PADL_(siginfo_t *)]; siginfo_t * info; char info_r_[PADR_(siginfo_t *)];
};
struct cap_rights_limit_args {
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
char rights_l_[PADL_(uint64_t)]; uint64_t rights; char rights_r_[PADR_(uint64_t)];
};
struct cap_ioctls_limit_args {
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
char cmds_l_[PADL_(const u_long *)]; const u_long * cmds; char cmds_r_[PADR_(const u_long *)];
char ncmds_l_[PADL_(size_t)]; size_t ncmds; char ncmds_r_[PADR_(size_t)];
};
struct cap_ioctls_get_args {
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
char cmds_l_[PADL_(u_long *)]; u_long * cmds; char cmds_r_[PADR_(u_long *)];
char maxcmds_l_[PADL_(size_t)]; size_t maxcmds; char maxcmds_r_[PADR_(size_t)];
};
struct cap_fcntls_limit_args {
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
char fcntlrights_l_[PADL_(uint32_t)]; uint32_t fcntlrights; char fcntlrights_r_[PADR_(uint32_t)];
};
struct cap_fcntls_get_args {
char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)];
char fcntlrightsp_l_[PADL_(uint32_t *)]; uint32_t * fcntlrightsp; char fcntlrightsp_r_[PADR_(uint32_t *)];
};
int nosys(struct thread *, struct nosys_args *);
void sys_sys_exit(struct thread *, struct sys_exit_args *);
int sys_fork(struct thread *, struct fork_args *);
@ -2127,7 +2149,7 @@ int sys_msgctl(struct thread *, struct msgctl_args *);
int sys_shmctl(struct thread *, struct shmctl_args *);
int sys_lpathconf(struct thread *, struct lpathconf_args *);
int sys_cap_new(struct thread *, struct cap_new_args *);
int sys_cap_getrights(struct thread *, struct cap_getrights_args *);
int sys_cap_rights_get(struct thread *, struct cap_rights_get_args *);
int sys_cap_enter(struct thread *, struct cap_enter_args *);
int sys_cap_getmode(struct thread *, struct cap_getmode_args *);
int sys_pdfork(struct thread *, struct pdfork_args *);
@ -2144,6 +2166,11 @@ int sys_rctl_remove_rule(struct thread *, struct rctl_remove_rule_args *);
int sys_posix_fallocate(struct thread *, struct posix_fallocate_args *);
int sys_posix_fadvise(struct thread *, struct posix_fadvise_args *);
int sys_wait6(struct thread *, struct wait6_args *);
int sys_cap_rights_limit(struct thread *, struct cap_rights_limit_args *);
int sys_cap_ioctls_limit(struct thread *, struct cap_ioctls_limit_args *);
int sys_cap_ioctls_get(struct thread *, struct cap_ioctls_get_args *);
int sys_cap_fcntls_limit(struct thread *, struct cap_fcntls_limit_args *);
int sys_cap_fcntls_get(struct thread *, struct cap_fcntls_get_args *);
#ifdef COMPAT_43
@ -2823,7 +2850,7 @@ int freebsd7_shmctl(struct thread *, struct freebsd7_shmctl_args *);
#define SYS_AUE_shmctl AUE_SHMCTL
#define SYS_AUE_lpathconf AUE_LPATHCONF
#define SYS_AUE_cap_new AUE_CAP_NEW
#define SYS_AUE_cap_getrights AUE_CAP_GETRIGHTS
#define SYS_AUE_cap_rights_get AUE_CAP_RIGHTS_GET
#define SYS_AUE_cap_enter AUE_CAP_ENTER
#define SYS_AUE_cap_getmode AUE_CAP_GETMODE
#define SYS_AUE_pdfork AUE_PDFORK
@ -2840,6 +2867,11 @@ int freebsd7_shmctl(struct thread *, struct freebsd7_shmctl_args *);
#define SYS_AUE_posix_fallocate AUE_NULL
#define SYS_AUE_posix_fadvise AUE_NULL
#define SYS_AUE_wait6 AUE_WAIT6
#define SYS_AUE_cap_rights_limit AUE_CAP_RIGHTS_LIMIT
#define SYS_AUE_cap_ioctls_limit AUE_CAP_IOCTLS_LIMIT
#define SYS_AUE_cap_ioctls_get AUE_CAP_IOCTLS_GET
#define SYS_AUE_cap_fcntls_limit AUE_CAP_FCNTLS_LIMIT
#define SYS_AUE_cap_fcntls_get AUE_CAP_FCNTLS_GET
#undef PAD_
#undef PADL_