Regenerate.

This commit is contained in:
trasz 2011-03-30 17:59:54 +00:00
parent 2f99052d80
commit 3adbd8337d
11 changed files with 377 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 220158 2011-03-30 14:46:12Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 220163 2011-03-30 17:48:15Z trasz
*/
#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 220158 2011-03-30 14:46:12Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 220163 2011-03-30 17:48:15Z trasz
*/
#define FREEBSD32_SYS_syscall 0
@ -414,4 +414,9 @@
#define FREEBSD32_SYS_freebsd32_pselect 522
#define FREEBSD32_SYS_getloginclass 523
#define FREEBSD32_SYS_setloginclass 524
#define FREEBSD32_SYS_MAXSYSCALL 525
#define FREEBSD32_SYS_rctl_get_racct 525
#define FREEBSD32_SYS_rctl_get_rules 526
#define FREEBSD32_SYS_rctl_get_limits 527
#define FREEBSD32_SYS_rctl_add_rule 528
#define FREEBSD32_SYS_rctl_remove_rule 529
#define FREEBSD32_SYS_MAXSYSCALL 530

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 220158 2011-03-30 14:46:12Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 220163 2011-03-30 17:48:15Z trasz
*/
const char *freebsd32_syscallnames[] = {
@ -548,4 +548,9 @@ const char *freebsd32_syscallnames[] = {
"freebsd32_pselect", /* 522 = freebsd32_pselect */
"getloginclass", /* 523 = getloginclass */
"setloginclass", /* 524 = setloginclass */
"rctl_get_racct", /* 525 = rctl_get_racct */
"rctl_get_rules", /* 526 = rctl_get_rules */
"rctl_get_limits", /* 527 = rctl_get_limits */
"rctl_add_rule", /* 528 = rctl_add_rule */
"rctl_remove_rule", /* 529 = rctl_remove_rule */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 220158 2011-03-30 14:46:12Z kib
* created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 220163 2011-03-30 17:48:15Z trasz
*/
#include "opt_compat.h"
@ -585,4 +585,9 @@ struct sysent freebsd32_sysent[] = {
{ 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 *)getloginclass, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 523 = getloginclass */
{ AS(setloginclass_args), (sy_call_t *)setloginclass, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 524 = setloginclass */
{ AS(rctl_get_racct_args), (sy_call_t *)rctl_get_racct, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 525 = rctl_get_racct */
{ AS(rctl_get_rules_args), (sy_call_t *)rctl_get_rules, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 526 = rctl_get_rules */
{ AS(rctl_get_limits_args), (sy_call_t *)rctl_get_limits, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 527 = rctl_get_limits */
{ AS(rctl_add_rule_args), (sy_call_t *)rctl_add_rule, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 528 = rctl_add_rule */
{ AS(rctl_remove_rule_args), (sy_call_t *)rctl_remove_rule, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 529 = rctl_remove_rule */
};

View File

@ -2957,6 +2957,56 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 1;
break;
}
/* rctl_get_racct */
case 525: {
struct rctl_get_racct_args *p = params;
uarg[0] = (intptr_t) p->inbufp; /* const void * */
uarg[1] = p->inbuflen; /* size_t */
uarg[2] = (intptr_t) p->outbufp; /* void * */
uarg[3] = p->outbuflen; /* size_t */
*n_args = 4;
break;
}
/* rctl_get_rules */
case 526: {
struct rctl_get_rules_args *p = params;
uarg[0] = (intptr_t) p->inbufp; /* const void * */
uarg[1] = p->inbuflen; /* size_t */
uarg[2] = (intptr_t) p->outbufp; /* void * */
uarg[3] = p->outbuflen; /* size_t */
*n_args = 4;
break;
}
/* rctl_get_limits */
case 527: {
struct rctl_get_limits_args *p = params;
uarg[0] = (intptr_t) p->inbufp; /* const void * */
uarg[1] = p->inbuflen; /* size_t */
uarg[2] = (intptr_t) p->outbufp; /* void * */
uarg[3] = p->outbuflen; /* size_t */
*n_args = 4;
break;
}
/* rctl_add_rule */
case 528: {
struct rctl_add_rule_args *p = params;
uarg[0] = (intptr_t) p->inbufp; /* const void * */
uarg[1] = p->inbuflen; /* size_t */
uarg[2] = (intptr_t) p->outbufp; /* void * */
uarg[3] = p->outbuflen; /* size_t */
*n_args = 4;
break;
}
/* rctl_remove_rule */
case 529: {
struct rctl_remove_rule_args *p = params;
uarg[0] = (intptr_t) p->inbufp; /* const void * */
uarg[1] = p->inbuflen; /* size_t */
uarg[2] = (intptr_t) p->outbufp; /* void * */
uarg[3] = p->outbuflen; /* size_t */
*n_args = 4;
break;
}
default:
*n_args = 0;
break;
@ -7873,6 +7923,101 @@ systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* rctl_get_racct */
case 525:
switch(ndx) {
case 0:
p = "const void *";
break;
case 1:
p = "size_t";
break;
case 2:
p = "void *";
break;
case 3:
p = "size_t";
break;
default:
break;
};
break;
/* rctl_get_rules */
case 526:
switch(ndx) {
case 0:
p = "const void *";
break;
case 1:
p = "size_t";
break;
case 2:
p = "void *";
break;
case 3:
p = "size_t";
break;
default:
break;
};
break;
/* rctl_get_limits */
case 527:
switch(ndx) {
case 0:
p = "const void *";
break;
case 1:
p = "size_t";
break;
case 2:
p = "void *";
break;
case 3:
p = "size_t";
break;
default:
break;
};
break;
/* rctl_add_rule */
case 528:
switch(ndx) {
case 0:
p = "const void *";
break;
case 1:
p = "size_t";
break;
case 2:
p = "void *";
break;
case 3:
p = "size_t";
break;
default:
break;
};
break;
/* rctl_remove_rule */
case 529:
switch(ndx) {
case 0:
p = "const void *";
break;
case 1:
p = "size_t";
break;
case 2:
p = "void *";
break;
case 3:
p = "size_t";
break;
default:
break;
};
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 219304 2011-03-05 12:40:35Z trasz
* created from FreeBSD: head/sys/kern/syscalls.master 220163 2011-03-30 17:48:15Z trasz
*/
#include "opt_compat.h"
@ -559,4 +559,9 @@ struct sysent sysent[] = {
{ AS(pselect_args), (sy_call_t *)pselect, AUE_SELECT, NULL, 0, 0, 0, SY_THR_STATIC }, /* 522 = pselect */
{ AS(getloginclass_args), (sy_call_t *)getloginclass, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 523 = getloginclass */
{ AS(setloginclass_args), (sy_call_t *)setloginclass, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 524 = setloginclass */
{ AS(rctl_get_racct_args), (sy_call_t *)rctl_get_racct, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 525 = rctl_get_racct */
{ AS(rctl_get_rules_args), (sy_call_t *)rctl_get_rules, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 526 = rctl_get_rules */
{ AS(rctl_get_limits_args), (sy_call_t *)rctl_get_limits, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 527 = rctl_get_limits */
{ AS(rctl_add_rule_args), (sy_call_t *)rctl_add_rule, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 528 = rctl_add_rule */
{ AS(rctl_remove_rule_args), (sy_call_t *)rctl_remove_rule, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC }, /* 529 = rctl_remove_rule */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 219304 2011-03-05 12:40:35Z trasz
* created from FreeBSD: head/sys/kern/syscalls.master 220163 2011-03-30 17:48:15Z trasz
*/
const char *syscallnames[] = {
@ -532,4 +532,9 @@ const char *syscallnames[] = {
"pselect", /* 522 = pselect */
"getloginclass", /* 523 = getloginclass */
"setloginclass", /* 524 = setloginclass */
"rctl_get_racct", /* 525 = rctl_get_racct */
"rctl_get_rules", /* 526 = rctl_get_rules */
"rctl_get_limits", /* 527 = rctl_get_limits */
"rctl_add_rule", /* 528 = rctl_add_rule */
"rctl_remove_rule", /* 529 = rctl_remove_rule */
};

View File

@ -3135,6 +3135,56 @@ systrace_args(int sysnum, void *params, uint64_t *uarg, int *n_args)
*n_args = 1;
break;
}
/* rctl_get_racct */
case 525: {
struct rctl_get_racct_args *p = params;
uarg[0] = (intptr_t) p->inbufp; /* const void * */
uarg[1] = p->inbuflen; /* size_t */
uarg[2] = (intptr_t) p->outbufp; /* void * */
uarg[3] = p->outbuflen; /* size_t */
*n_args = 4;
break;
}
/* rctl_get_rules */
case 526: {
struct rctl_get_rules_args *p = params;
uarg[0] = (intptr_t) p->inbufp; /* const void * */
uarg[1] = p->inbuflen; /* size_t */
uarg[2] = (intptr_t) p->outbufp; /* void * */
uarg[3] = p->outbuflen; /* size_t */
*n_args = 4;
break;
}
/* rctl_get_limits */
case 527: {
struct rctl_get_limits_args *p = params;
uarg[0] = (intptr_t) p->inbufp; /* const void * */
uarg[1] = p->inbuflen; /* size_t */
uarg[2] = (intptr_t) p->outbufp; /* void * */
uarg[3] = p->outbuflen; /* size_t */
*n_args = 4;
break;
}
/* rctl_add_rule */
case 528: {
struct rctl_add_rule_args *p = params;
uarg[0] = (intptr_t) p->inbufp; /* const void * */
uarg[1] = p->inbuflen; /* size_t */
uarg[2] = (intptr_t) p->outbufp; /* void * */
uarg[3] = p->outbuflen; /* size_t */
*n_args = 4;
break;
}
/* rctl_remove_rule */
case 529: {
struct rctl_remove_rule_args *p = params;
uarg[0] = (intptr_t) p->inbufp; /* const void * */
uarg[1] = p->inbuflen; /* size_t */
uarg[2] = (intptr_t) p->outbufp; /* void * */
uarg[3] = p->outbuflen; /* size_t */
*n_args = 4;
break;
}
default:
*n_args = 0;
break;
@ -8328,6 +8378,101 @@ systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* rctl_get_racct */
case 525:
switch(ndx) {
case 0:
p = "const void *";
break;
case 1:
p = "size_t";
break;
case 2:
p = "void *";
break;
case 3:
p = "size_t";
break;
default:
break;
};
break;
/* rctl_get_rules */
case 526:
switch(ndx) {
case 0:
p = "const void *";
break;
case 1:
p = "size_t";
break;
case 2:
p = "void *";
break;
case 3:
p = "size_t";
break;
default:
break;
};
break;
/* rctl_get_limits */
case 527:
switch(ndx) {
case 0:
p = "const void *";
break;
case 1:
p = "size_t";
break;
case 2:
p = "void *";
break;
case 3:
p = "size_t";
break;
default:
break;
};
break;
/* rctl_add_rule */
case 528:
switch(ndx) {
case 0:
p = "const void *";
break;
case 1:
p = "size_t";
break;
case 2:
p = "void *";
break;
case 3:
p = "size_t";
break;
default:
break;
};
break;
/* rctl_remove_rule */
case 529:
switch(ndx) {
case 0:
p = "const void *";
break;
case 1:
p = "size_t";
break;
case 2:
p = "void *";
break;
case 3:
p = "size_t";
break;
default:
break;
};
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 219304 2011-03-05 12:40:35Z trasz
* created from FreeBSD: head/sys/kern/syscalls.master 220163 2011-03-30 17:48:15Z trasz
*/
#define SYS_syscall 0
@ -435,4 +435,9 @@
#define SYS_pselect 522
#define SYS_getloginclass 523
#define SYS_setloginclass 524
#define SYS_MAXSYSCALL 525
#define SYS_rctl_get_racct 525
#define SYS_rctl_get_rules 526
#define SYS_rctl_get_limits 527
#define SYS_rctl_add_rule 528
#define SYS_rctl_remove_rule 529
#define SYS_MAXSYSCALL 530

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 219304 2011-03-05 12:40:35Z trasz
# created from FreeBSD: head/sys/kern/syscalls.master 220163 2011-03-30 17:48:15Z trasz
MIASM = \
syscall.o \
exit.o \
@ -383,4 +383,9 @@ MIASM = \
cap_getmode.o \
pselect.o \
getloginclass.o \
setloginclass.o
setloginclass.o \
rctl_get_racct.o \
rctl_get_rules.o \
rctl_get_limits.o \
rctl_add_rule.o \
rctl_remove_rule.o

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 219304 2011-03-05 12:40:35Z trasz
* created from FreeBSD: head/sys/kern/syscalls.master 220163 2011-03-30 17:48:15Z trasz
*/
#ifndef _SYS_SYSPROTO_H_
@ -1678,6 +1678,36 @@ struct getloginclass_args {
struct setloginclass_args {
char namebuf_l_[PADL_(const char *)]; const char * namebuf; char namebuf_r_[PADR_(const char *)];
};
struct rctl_get_racct_args {
char inbufp_l_[PADL_(const void *)]; const void * inbufp; char inbufp_r_[PADR_(const void *)];
char inbuflen_l_[PADL_(size_t)]; size_t inbuflen; char inbuflen_r_[PADR_(size_t)];
char outbufp_l_[PADL_(void *)]; void * outbufp; char outbufp_r_[PADR_(void *)];
char outbuflen_l_[PADL_(size_t)]; size_t outbuflen; char outbuflen_r_[PADR_(size_t)];
};
struct rctl_get_rules_args {
char inbufp_l_[PADL_(const void *)]; const void * inbufp; char inbufp_r_[PADR_(const void *)];
char inbuflen_l_[PADL_(size_t)]; size_t inbuflen; char inbuflen_r_[PADR_(size_t)];
char outbufp_l_[PADL_(void *)]; void * outbufp; char outbufp_r_[PADR_(void *)];
char outbuflen_l_[PADL_(size_t)]; size_t outbuflen; char outbuflen_r_[PADR_(size_t)];
};
struct rctl_get_limits_args {
char inbufp_l_[PADL_(const void *)]; const void * inbufp; char inbufp_r_[PADR_(const void *)];
char inbuflen_l_[PADL_(size_t)]; size_t inbuflen; char inbuflen_r_[PADR_(size_t)];
char outbufp_l_[PADL_(void *)]; void * outbufp; char outbufp_r_[PADR_(void *)];
char outbuflen_l_[PADL_(size_t)]; size_t outbuflen; char outbuflen_r_[PADR_(size_t)];
};
struct rctl_add_rule_args {
char inbufp_l_[PADL_(const void *)]; const void * inbufp; char inbufp_r_[PADR_(const void *)];
char inbuflen_l_[PADL_(size_t)]; size_t inbuflen; char inbuflen_r_[PADR_(size_t)];
char outbufp_l_[PADL_(void *)]; void * outbufp; char outbufp_r_[PADR_(void *)];
char outbuflen_l_[PADL_(size_t)]; size_t outbuflen; char outbuflen_r_[PADR_(size_t)];
};
struct rctl_remove_rule_args {
char inbufp_l_[PADL_(const void *)]; const void * inbufp; char inbufp_r_[PADR_(const void *)];
char inbuflen_l_[PADL_(size_t)]; size_t inbuflen; char inbuflen_r_[PADR_(size_t)];
char outbufp_l_[PADL_(void *)]; void * outbufp; char outbufp_r_[PADR_(void *)];
char outbuflen_l_[PADL_(size_t)]; size_t outbuflen; char outbuflen_r_[PADR_(size_t)];
};
int nosys(struct thread *, struct nosys_args *);
void sys_exit(struct thread *, struct sys_exit_args *);
int fork(struct thread *, struct fork_args *);
@ -2043,6 +2073,11 @@ int cap_getmode(struct thread *, struct cap_getmode_args *);
int pselect(struct thread *, struct pselect_args *);
int getloginclass(struct thread *, struct getloginclass_args *);
int setloginclass(struct thread *, struct setloginclass_args *);
int rctl_get_racct(struct thread *, struct rctl_get_racct_args *);
int rctl_get_rules(struct thread *, struct rctl_get_rules_args *);
int rctl_get_limits(struct thread *, struct rctl_get_limits_args *);
int rctl_add_rule(struct thread *, struct rctl_add_rule_args *);
int rctl_remove_rule(struct thread *, struct rctl_remove_rule_args *);
#ifdef COMPAT_43
@ -2722,6 +2757,11 @@ int freebsd7_shmctl(struct thread *, struct freebsd7_shmctl_args *);
#define SYS_AUE_pselect AUE_SELECT
#define SYS_AUE_getloginclass AUE_NULL
#define SYS_AUE_setloginclass AUE_NULL
#define SYS_AUE_rctl_get_racct AUE_NULL
#define SYS_AUE_rctl_get_rules AUE_NULL
#define SYS_AUE_rctl_get_limits AUE_NULL
#define SYS_AUE_rctl_add_rule AUE_NULL
#define SYS_AUE_rctl_remove_rule AUE_NULL
#undef PAD_
#undef PADL_