svn commit: r195695 - in stable/7/sys: compat/freebsd32 kern sys
John Baldwin
jhb at FreeBSD.org
Tue Jul 14 19:50:47 UTC 2009
Author: jhb
Date: Tue Jul 14 19:50:46 2009
New Revision: 195695
URL: http://svn.freebsd.org/changeset/base/195695
Log:
Regenerate after addition of closefrom().
Modified:
stable/7/sys/compat/freebsd32/freebsd32_proto.h
stable/7/sys/compat/freebsd32/freebsd32_syscall.h
stable/7/sys/compat/freebsd32/freebsd32_syscalls.c
stable/7/sys/compat/freebsd32/freebsd32_sysent.c
stable/7/sys/kern/init_sysent.c
stable/7/sys/kern/syscalls.c
stable/7/sys/kern/systrace_args.c
stable/7/sys/sys/syscall.h
stable/7/sys/sys/syscall.mk
stable/7/sys/sys/sysproto.h
Modified: stable/7/sys/compat/freebsd32/freebsd32_proto.h
==============================================================================
--- stable/7/sys/compat/freebsd32/freebsd32_proto.h Tue Jul 14 19:48:31 2009 (r195694)
+++ stable/7/sys/compat/freebsd32/freebsd32_proto.h Tue Jul 14 19:50:46 2009 (r195695)
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: stable/7/sys/compat/freebsd32/syscalls.master 194359 2009-06-17 13:12:43Z kib
+ * created from FreeBSD: stable/7/sys/compat/freebsd32/syscalls.master 195694 2009-07-14 19:48:31Z jhb
*/
#ifndef _FREEBSD32_SYSPROTO_H_
Modified: stable/7/sys/compat/freebsd32/freebsd32_syscall.h
==============================================================================
--- stable/7/sys/compat/freebsd32/freebsd32_syscall.h Tue Jul 14 19:48:31 2009 (r195694)
+++ stable/7/sys/compat/freebsd32/freebsd32_syscall.h Tue Jul 14 19:50:46 2009 (r195695)
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: stable/7/sys/compat/freebsd32/syscalls.master 194359 2009-06-17 13:12:43Z kib
+ * created from FreeBSD: stable/7/sys/compat/freebsd32/syscalls.master 195694 2009-07-14 19:48:31Z jhb
*/
#define FREEBSD32_SYS_syscall 0
@@ -361,4 +361,5 @@
#define FREEBSD32_SYS_freebsd32_cpuset_getid 486
#define FREEBSD32_SYS_freebsd32_cpuset_getaffinity 487
#define FREEBSD32_SYS_freebsd32_cpuset_setaffinity 488
-#define FREEBSD32_SYS_MAXSYSCALL 489
+#define FREEBSD32_SYS_closefrom 509
+#define FREEBSD32_SYS_MAXSYSCALL 510
Modified: stable/7/sys/compat/freebsd32/freebsd32_syscalls.c
==============================================================================
--- stable/7/sys/compat/freebsd32/freebsd32_syscalls.c Tue Jul 14 19:48:31 2009 (r195694)
+++ stable/7/sys/compat/freebsd32/freebsd32_syscalls.c Tue Jul 14 19:50:46 2009 (r195695)
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: stable/7/sys/compat/freebsd32/syscalls.master 194359 2009-06-17 13:12:43Z kib
+ * created from FreeBSD: stable/7/sys/compat/freebsd32/syscalls.master 195694 2009-07-14 19:48:31Z jhb
*/
const char *freebsd32_syscallnames[] = {
@@ -496,4 +496,25 @@ const char *freebsd32_syscallnames[] = {
"freebsd32_cpuset_getid", /* 486 = freebsd32_cpuset_getid */
"freebsd32_cpuset_getaffinity", /* 487 = freebsd32_cpuset_getaffinity */
"freebsd32_cpuset_setaffinity", /* 488 = freebsd32_cpuset_setaffinity */
+ "#489", /* 489 = faccessat */
+ "#490", /* 490 = fchmodat */
+ "#491", /* 491 = fchownat */
+ "#492", /* 492 = freebsd32_fexecve */
+ "#493", /* 493 = freebsd32_fstatat */
+ "#494", /* 494 = freebsd32_futimesat */
+ "#495", /* 495 = linkat */
+ "#496", /* 496 = mkdirat */
+ "#497", /* 497 = mkfifoat */
+ "#498", /* 498 = mknodat */
+ "#499", /* 499 = openat */
+ "#500", /* 500 = readlinkat */
+ "#501", /* 501 = renameat */
+ "#502", /* 502 = symlinkat */
+ "#503", /* 503 = unlinkat */
+ "#504", /* 504 = posix_openpt */
+ "#505", /* 505 = gssd_syscall */
+ "#506", /* 506 = freebsd32_jail_get */
+ "#507", /* 507 = freebsd32_jail_set */
+ "#508", /* 508 = jail_remove */
+ "closefrom", /* 509 = closefrom */
};
Modified: stable/7/sys/compat/freebsd32/freebsd32_sysent.c
==============================================================================
--- stable/7/sys/compat/freebsd32/freebsd32_sysent.c Tue Jul 14 19:48:31 2009 (r195694)
+++ stable/7/sys/compat/freebsd32/freebsd32_sysent.c Tue Jul 14 19:50:46 2009 (r195695)
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: stable/7/sys/compat/freebsd32/syscalls.master 194359 2009-06-17 13:12:43Z kib
+ * created from FreeBSD: stable/7/sys/compat/freebsd32/syscalls.master 195694 2009-07-14 19:48:31Z jhb
*/
#include "opt_compat.h"
@@ -527,4 +527,25 @@ struct sysent freebsd32_sysent[] = {
{ AS(freebsd32_cpuset_getid_args), (sy_call_t *)freebsd32_cpuset_getid, AUE_NULL, NULL, 0, 0 }, /* 486 = freebsd32_cpuset_getid */
{ AS(freebsd32_cpuset_getaffinity_args), (sy_call_t *)freebsd32_cpuset_getaffinity, AUE_NULL, NULL, 0, 0 }, /* 487 = freebsd32_cpuset_getaffinity */
{ AS(freebsd32_cpuset_setaffinity_args), (sy_call_t *)freebsd32_cpuset_setaffinity, AUE_NULL, NULL, 0, 0 }, /* 488 = freebsd32_cpuset_setaffinity */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 489 = faccessat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 490 = fchmodat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 491 = fchownat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 492 = freebsd32_fexecve */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 493 = freebsd32_fstatat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 494 = freebsd32_futimesat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 495 = linkat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 496 = mkdirat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 497 = mkfifoat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 498 = mknodat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 499 = openat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 500 = readlinkat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 501 = renameat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 502 = symlinkat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 503 = unlinkat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 504 = posix_openpt */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 505 = gssd_syscall */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 506 = freebsd32_jail_get */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 507 = freebsd32_jail_set */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 508 = jail_remove */
+ { AS(closefrom_args), (sy_call_t *)closefrom, AUE_CLOSEFROM, NULL, 0, 0 }, /* 509 = closefrom */
};
Modified: stable/7/sys/kern/init_sysent.c
==============================================================================
--- stable/7/sys/kern/init_sysent.c Tue Jul 14 19:48:31 2009 (r195694)
+++ stable/7/sys/kern/init_sysent.c Tue Jul 14 19:50:46 2009 (r195695)
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: stable/7/sys/kern/syscalls.master 180808 2008-07-25 17:46:01Z jhb
+ * created from FreeBSD: stable/7/sys/kern/syscalls.master 195694 2009-07-14 19:48:31Z jhb
*/
#include "opt_compat.h"
@@ -517,4 +517,25 @@ struct sysent sysent[] = {
{ AS(cpuset_getid_args), (sy_call_t *)cpuset_getid, AUE_NULL, NULL, 0, 0 }, /* 486 = cpuset_getid */
{ AS(cpuset_getaffinity_args), (sy_call_t *)cpuset_getaffinity, AUE_NULL, NULL, 0, 0 }, /* 487 = cpuset_getaffinity */
{ AS(cpuset_setaffinity_args), (sy_call_t *)cpuset_setaffinity, AUE_NULL, NULL, 0, 0 }, /* 488 = cpuset_setaffinity */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 489 = faccessat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 490 = fchmodat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 491 = fchownat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 492 = fexecve */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 493 = fstatat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 494 = futimesat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 495 = linkat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 496 = mkdirat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 497 = mkfifoat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 498 = mknodat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 499 = openat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 500 = readlinkat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 501 = renameat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 502 = symlinkat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 503 = unlinkat */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 504 = posix_openpt */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 505 = gssd_syscall */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 506 = jail_get */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 507 = jail_set */
+ { 0, (sy_call_t *)nosys, AUE_NULL, NULL, 0, 0 }, /* 508 = jail_remove */
+ { AS(closefrom_args), (sy_call_t *)closefrom, AUE_CLOSEFROM, NULL, 0, 0 }, /* 509 = closefrom */
};
Modified: stable/7/sys/kern/syscalls.c
==============================================================================
--- stable/7/sys/kern/syscalls.c Tue Jul 14 19:48:31 2009 (r195694)
+++ stable/7/sys/kern/syscalls.c Tue Jul 14 19:50:46 2009 (r195695)
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: stable/7/sys/kern/syscalls.master 180808 2008-07-25 17:46:01Z jhb
+ * created from FreeBSD: stable/7/sys/kern/syscalls.master 195694 2009-07-14 19:48:31Z jhb
*/
const char *syscallnames[] = {
@@ -496,4 +496,25 @@ const char *syscallnames[] = {
"cpuset_getid", /* 486 = cpuset_getid */
"cpuset_getaffinity", /* 487 = cpuset_getaffinity */
"cpuset_setaffinity", /* 488 = cpuset_setaffinity */
+ "#489", /* 489 = faccessat */
+ "#490", /* 490 = fchmodat */
+ "#491", /* 491 = fchownat */
+ "#492", /* 492 = fexecve */
+ "#493", /* 493 = fstatat */
+ "#494", /* 494 = futimesat */
+ "#495", /* 495 = linkat */
+ "#496", /* 496 = mkdirat */
+ "#497", /* 497 = mkfifoat */
+ "#498", /* 498 = mknodat */
+ "#499", /* 499 = openat */
+ "#500", /* 500 = readlinkat */
+ "#501", /* 501 = renameat */
+ "#502", /* 502 = symlinkat */
+ "#503", /* 503 = unlinkat */
+ "#504", /* 504 = posix_openpt */
+ "#505", /* 505 = gssd_syscall */
+ "#506", /* 506 = jail_get */
+ "#507", /* 507 = jail_set */
+ "#508", /* 508 = jail_remove */
+ "closefrom", /* 509 = closefrom */
};
Modified: stable/7/sys/kern/systrace_args.c
==============================================================================
--- stable/7/sys/kern/systrace_args.c Tue Jul 14 19:48:31 2009 (r195694)
+++ stable/7/sys/kern/systrace_args.c Tue Jul 14 19:50:46 2009 (r195695)
@@ -2936,6 +2936,13 @@ systrace_args(int sysnum, void *params,
*n_args = 5;
break;
}
+ /* closefrom */
+ case 509: {
+ struct closefrom_args *p = params;
+ iarg[0] = p->lowfd; /* int */
+ *n_args = 1;
+ break;
+ }
default:
*n_args = 0;
break;
@@ -4489,6 +4496,16 @@ systrace_setargdesc(int sysnum, int ndx,
break;
};
break;
+ /* setfib */
+ case 175:
+ switch(ndx) {
+ case 0:
+ p = "int";
+ break;
+ default:
+ break;
+ };
+ break;
/* ntp_adjtime */
case 176:
switch(ndx) {
@@ -7652,6 +7669,105 @@ systrace_setargdesc(int sysnum, int ndx,
break;
};
break;
+ /* cpuset */
+ case 484:
+ switch(ndx) {
+ case 0:
+ p = "cpusetid_t *";
+ break;
+ default:
+ break;
+ };
+ break;
+ /* cpuset_setid */
+ case 485:
+ switch(ndx) {
+ case 0:
+ p = "cpuwhich_t";
+ break;
+ case 1:
+ p = "id_t";
+ break;
+ case 2:
+ p = "cpusetid_t";
+ break;
+ default:
+ break;
+ };
+ break;
+ /* cpuset_getid */
+ case 486:
+ switch(ndx) {
+ case 0:
+ p = "cpulevel_t";
+ break;
+ case 1:
+ p = "cpuwhich_t";
+ break;
+ case 2:
+ p = "id_t";
+ break;
+ case 3:
+ p = "cpusetid_t *";
+ break;
+ default:
+ break;
+ };
+ break;
+ /* cpuset_getaffinity */
+ case 487:
+ switch(ndx) {
+ case 0:
+ p = "cpulevel_t";
+ break;
+ case 1:
+ p = "cpuwhich_t";
+ break;
+ case 2:
+ p = "id_t";
+ break;
+ case 3:
+ p = "size_t";
+ break;
+ case 4:
+ p = "cpuset_t *";
+ break;
+ default:
+ break;
+ };
+ break;
+ /* cpuset_setaffinity */
+ case 488:
+ switch(ndx) {
+ case 0:
+ p = "cpulevel_t";
+ break;
+ case 1:
+ p = "cpuwhich_t";
+ break;
+ case 2:
+ p = "id_t";
+ break;
+ case 3:
+ p = "size_t";
+ break;
+ case 4:
+ p = "const cpuset_t *";
+ break;
+ default:
+ break;
+ };
+ break;
+ /* closefrom */
+ case 509:
+ switch(ndx) {
+ case 0:
+ p = "int";
+ break;
+ default:
+ break;
+ };
+ break;
default:
break;
};
Modified: stable/7/sys/sys/syscall.h
==============================================================================
--- stable/7/sys/sys/syscall.h Tue Jul 14 19:48:31 2009 (r195694)
+++ stable/7/sys/sys/syscall.h Tue Jul 14 19:50:46 2009 (r195695)
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: stable/7/sys/kern/syscalls.master 180808 2008-07-25 17:46:01Z jhb
+ * created from FreeBSD: stable/7/sys/kern/syscalls.master 195694 2009-07-14 19:48:31Z jhb
*/
#define SYS_syscall 0
@@ -408,4 +408,5 @@
#define SYS_cpuset_getid 486
#define SYS_cpuset_getaffinity 487
#define SYS_cpuset_setaffinity 488
-#define SYS_MAXSYSCALL 489
+#define SYS_closefrom 509
+#define SYS_MAXSYSCALL 510
Modified: stable/7/sys/sys/syscall.mk
==============================================================================
--- stable/7/sys/sys/syscall.mk Tue Jul 14 19:48:31 2009 (r195694)
+++ stable/7/sys/sys/syscall.mk Tue Jul 14 19:50:46 2009 (r195695)
@@ -1,7 +1,7 @@
# FreeBSD system call names.
# DO NOT EDIT-- this file is automatically generated.
# $FreeBSD$
-# created from FreeBSD: stable/7/sys/kern/syscalls.master 180808 2008-07-25 17:46:01Z jhb
+# created from FreeBSD: stable/7/sys/kern/syscalls.master 195694 2009-07-14 19:48:31Z jhb
MIASM = \
syscall.o \
exit.o \
@@ -356,4 +356,5 @@ MIASM = \
cpuset_setid.o \
cpuset_getid.o \
cpuset_getaffinity.o \
- cpuset_setaffinity.o
+ cpuset_setaffinity.o \
+ closefrom.o
Modified: stable/7/sys/sys/sysproto.h
==============================================================================
--- stable/7/sys/sys/sysproto.h Tue Jul 14 19:48:31 2009 (r195694)
+++ stable/7/sys/sys/sysproto.h Tue Jul 14 19:50:46 2009 (r195695)
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $FreeBSD$
- * created from FreeBSD: stable/7/sys/kern/syscalls.master 180808 2008-07-25 17:46:01Z jhb
+ * created from FreeBSD: stable/7/sys/kern/syscalls.master 195694 2009-07-14 19:48:31Z jhb
*/
#ifndef _SYS_SYSPROTO_H_
@@ -1558,6 +1558,9 @@ struct cpuset_setaffinity_args {
char cpusetsize_l_[PADL_(size_t)]; size_t cpusetsize; char cpusetsize_r_[PADR_(size_t)];
char mask_l_[PADL_(const cpuset_t *)]; const cpuset_t * mask; char mask_r_[PADR_(const cpuset_t *)];
};
+struct closefrom_args {
+ char lowfd_l_[PADL_(int)]; int lowfd; char lowfd_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 *);
@@ -1904,6 +1907,7 @@ int cpuset_setid(struct thread *, struct
int cpuset_getid(struct thread *, struct cpuset_getid_args *);
int cpuset_getaffinity(struct thread *, struct cpuset_getaffinity_args *);
int cpuset_setaffinity(struct thread *, struct cpuset_setaffinity_args *);
+int closefrom(struct thread *, struct closefrom_args *);
#ifdef COMPAT_43
@@ -2475,6 +2479,7 @@ int freebsd4_sigreturn(struct thread *,
#define SYS_AUE_cpuset_getid AUE_NULL
#define SYS_AUE_cpuset_getaffinity AUE_NULL
#define SYS_AUE_cpuset_setaffinity AUE_NULL
+#define SYS_AUE_closefrom AUE_CLOSEFROM
#undef PAD_
#undef PADL_
More information about the svn-src-stable-7
mailing list