Date: Wed, 8 Jul 2009 15:25:27 +0000 (UTC) From: Edward Tomasz Napierala <trasz@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r195459 - in head/sys: kern sys Message-ID: <200907081525.n68FPR0U055120@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: trasz Date: Wed Jul 8 15:25:27 2009 New Revision: 195459 URL: http://svn.freebsd.org/changeset/base/195459 Log: Regenerate after lpathconf(2) addition. Approved by: re (kib) Modified: head/sys/kern/init_sysent.c head/sys/kern/syscalls.c head/sys/kern/systrace_args.c head/sys/sys/syscall.h head/sys/sys/syscall.mk head/sys/sys/sysproto.h Modified: head/sys/kern/init_sysent.c ============================================================================== --- head/sys/kern/init_sysent.c Wed Jul 8 15:23:18 2009 (r195458) +++ head/sys/kern/init_sysent.c Wed Jul 8 15:25:27 2009 (r195459) @@ -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 */ }; Modified: head/sys/kern/syscalls.c ============================================================================== --- head/sys/kern/syscalls.c Wed Jul 8 15:23:18 2009 (r195458) +++ head/sys/kern/syscalls.c Wed Jul 8 15:25:27 2009 (r195459) @@ -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 */ }; Modified: head/sys/kern/systrace_args.c ============================================================================== --- head/sys/kern/systrace_args.c Wed Jul 8 15:23:18 2009 (r195458) +++ head/sys/kern/systrace_args.c Wed Jul 8 15:25:27 2009 (r195459) @@ -3064,6 +3064,14 @@ systrace_args(int sysnum, void *params, *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, break; }; break; + /* lpathconf */ + case 513: + switch(ndx) { + case 0: + p = "char *"; + break; + case 1: + p = "int"; + break; + default: + break; + }; + break; default: break; }; Modified: head/sys/sys/syscall.h ============================================================================== --- head/sys/sys/syscall.h Wed Jul 8 15:23:18 2009 (r195458) +++ head/sys/sys/syscall.h Wed Jul 8 15:25:27 2009 (r195459) @@ -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 Modified: head/sys/sys/syscall.mk ============================================================================== --- head/sys/sys/syscall.mk Wed Jul 8 15:23:18 2009 (r195458) +++ head/sys/sys/syscall.mk Wed Jul 8 15:25:27 2009 (r195459) @@ -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 Modified: head/sys/sys/sysproto.h ============================================================================== --- head/sys/sys/sysproto.h Wed Jul 8 15:23:18 2009 (r195458) +++ head/sys/sys/sysproto.h Wed Jul 8 15:25:27 2009 (r195459) @@ -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 cl 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 *, str #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_
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907081525.n68FPR0U055120>