Regenerate after lpathconf(2) addition.

Approved by:	re (kib)
This commit is contained in:
trasz 2009-07-08 15:25:27 +00:00
parent 09784497a2
commit 1161d4e10f
6 changed files with 38 additions and 7 deletions

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 194910 2009-06-24 21:10:52Z jhb
* created from FreeBSD: head/sys/kern/syscalls.master 195458 2009-07-08 15:23:18Z trasz
*/
#include "opt_compat.h"
@ -547,4 +547,5 @@ struct sysent sysent[] = {
{ AS(__semctl_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 510 = __semctl */
{ AS(msgctl_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 511 = msgctl */
{ AS(shmctl_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0 }, /* 512 = shmctl */
{ AS(lpathconf_args), (sy_call_t *)lpathconf, AUE_LPATHCONF, NULL, 0, 0, 0 }, /* 513 = lpathconf */
};

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 194910 2009-06-24 21:10:52Z jhb
* created from FreeBSD: head/sys/kern/syscalls.master 195458 2009-07-08 15:23:18Z trasz
*/
const char *syscallnames[] = {
@ -520,4 +520,5 @@ const char *syscallnames[] = {
"__semctl", /* 510 = __semctl */
"msgctl", /* 511 = msgctl */
"shmctl", /* 512 = shmctl */
"lpathconf", /* 513 = lpathconf */
};

View File

@ -3064,6 +3064,14 @@ systrace_args(int sysnum, void *params, u_int64_t *uarg, int *n_args)
*n_args = 3;
break;
}
/* lpathconf */
case 513: {
struct lpathconf_args *p = params;
uarg[0] = (intptr_t) p->path; /* char * */
iarg[1] = p->name; /* int */
*n_args = 2;
break;
}
default:
*n_args = 0;
break;
@ -8133,6 +8141,19 @@ systrace_setargdesc(int sysnum, int ndx, char *desc, size_t descsz)
break;
};
break;
/* lpathconf */
case 513:
switch(ndx) {
case 0:
p = "char *";
break;
case 1:
p = "int";
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 194910 2009-06-24 21:10:52Z jhb
* created from FreeBSD: head/sys/kern/syscalls.master 195458 2009-07-08 15:23:18Z trasz
*/
#define SYS_syscall 0
@ -427,4 +427,5 @@
#define SYS___semctl 510
#define SYS_msgctl 511
#define SYS_shmctl 512
#define SYS_MAXSYSCALL 513
#define SYS_lpathconf 513
#define SYS_MAXSYSCALL 514

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 194910 2009-06-24 21:10:52Z jhb
# created from FreeBSD: head/sys/kern/syscalls.master 195458 2009-07-08 15:23:18Z trasz
MIASM = \
syscall.o \
exit.o \
@ -375,4 +375,5 @@ MIASM = \
closefrom.o \
__semctl.o \
msgctl.o \
shmctl.o
shmctl.o \
lpathconf.o

View File

@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
* created from FreeBSD: head/sys/kern/syscalls.master 194910 2009-06-24 21:10:52Z jhb
* created from FreeBSD: head/sys/kern/syscalls.master 195458 2009-07-08 15:23:18Z trasz
*/
#ifndef _SYS_SYSPROTO_H_
@ -1637,6 +1637,10 @@ struct shmctl_args {
char cmd_l_[PADL_(int)]; int cmd; char cmd_r_[PADR_(int)];
char buf_l_[PADL_(struct shmid_ds *)]; struct shmid_ds * buf; char buf_r_[PADR_(struct shmid_ds *)];
};
struct lpathconf_args {
char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)];
char name_l_[PADL_(int)]; int name; char name_r_[PADR_(int)];
};
int nosys(struct thread *, struct nosys_args *);
void sys_exit(struct thread *, struct sys_exit_args *);
int fork(struct thread *, struct fork_args *);
@ -1994,6 +1998,7 @@ int closefrom(struct thread *, struct closefrom_args *);
int __semctl(struct thread *, struct __semctl_args *);
int msgctl(struct thread *, struct msgctl_args *);
int shmctl(struct thread *, struct shmctl_args *);
int lpathconf(struct thread *, struct lpathconf_args *);
#ifdef COMPAT_43
@ -2665,6 +2670,7 @@ int freebsd7_shmctl(struct thread *, struct freebsd7_shmctl_args *);
#define SYS_AUE___semctl AUE_SEMCTL
#define SYS_AUE_msgctl AUE_MSGCTL
#define SYS_AUE_shmctl AUE_SHMCTL
#define SYS_AUE_lpathconf AUE_LPATHCONF
#undef PAD_
#undef PADL_