Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2009 20:40:24 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194263 - in head/sys: compat/freebsd32 kern sys
Message-ID:  <200906152040.n5FKeOEC001113@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Mon Jun 15 20:40:23 2009
New Revision: 194263
URL: http://svn.freebsd.org/changeset/base/194263

Log:
  Regen.

Modified:
  head/sys/compat/freebsd32/freebsd32_proto.h
  head/sys/compat/freebsd32/freebsd32_syscall.h
  head/sys/compat/freebsd32/freebsd32_syscalls.c
  head/sys/compat/freebsd32/freebsd32_sysent.c
  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/compat/freebsd32/freebsd32_proto.h
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_proto.h	Mon Jun 15 20:38:55 2009	(r194262)
+++ head/sys/compat/freebsd32/freebsd32_proto.h	Mon Jun 15 20:40:23 2009	(r194263)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 193916 2009-06-10 13:48:13Z kib 
+ * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 194262 2009-06-15 20:38:55Z jhb 
  */
 
 #ifndef _FREEBSD32_SYSPROTO_H_

Modified: head/sys/compat/freebsd32/freebsd32_syscall.h
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_syscall.h	Mon Jun 15 20:38:55 2009	(r194262)
+++ head/sys/compat/freebsd32/freebsd32_syscall.h	Mon Jun 15 20:40:23 2009	(r194263)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 193916 2009-06-10 13:48:13Z kib 
+ * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 194262 2009-06-15 20:38:55Z jhb 
  */
 
 #define	FREEBSD32_SYS_syscall	0
@@ -377,4 +377,5 @@
 #define	FREEBSD32_SYS_freebsd32_jail_get	506
 #define	FREEBSD32_SYS_freebsd32_jail_set	507
 #define	FREEBSD32_SYS_jail_remove	508
-#define	FREEBSD32_SYS_MAXSYSCALL	509
+#define	FREEBSD32_SYS_closefrom	509
+#define	FREEBSD32_SYS_MAXSYSCALL	510

Modified: head/sys/compat/freebsd32/freebsd32_syscalls.c
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_syscalls.c	Mon Jun 15 20:38:55 2009	(r194262)
+++ head/sys/compat/freebsd32/freebsd32_syscalls.c	Mon Jun 15 20:40:23 2009	(r194263)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 193916 2009-06-10 13:48:13Z kib 
+ * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 194262 2009-06-15 20:38:55Z jhb 
  */
 
 const char *freebsd32_syscallnames[] = {
@@ -516,4 +516,5 @@ const char *freebsd32_syscallnames[] = {
 	"freebsd32_jail_get",			/* 506 = freebsd32_jail_get */
 	"freebsd32_jail_set",			/* 507 = freebsd32_jail_set */
 	"jail_remove",			/* 508 = jail_remove */
+	"closefrom",			/* 509 = closefrom */
 };

Modified: head/sys/compat/freebsd32/freebsd32_sysent.c
==============================================================================
--- head/sys/compat/freebsd32/freebsd32_sysent.c	Mon Jun 15 20:38:55 2009	(r194262)
+++ head/sys/compat/freebsd32/freebsd32_sysent.c	Mon Jun 15 20:40:23 2009	(r194263)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 193916 2009-06-10 13:48:13Z kib 
+ * created from FreeBSD: head/sys/compat/freebsd32/syscalls.master 194262 2009-06-15 20:38:55Z jhb 
  */
 
 #include "opt_compat.h"
@@ -547,4 +547,5 @@ struct sysent freebsd32_sysent[] = {
 	{ AS(freebsd32_jail_get_args), (sy_call_t *)freebsd32_jail_get, AUE_NULL, NULL, 0, 0, 0 },	/* 506 = freebsd32_jail_get */
 	{ AS(freebsd32_jail_set_args), (sy_call_t *)freebsd32_jail_set, AUE_NULL, NULL, 0, 0, 0 },	/* 507 = freebsd32_jail_set */
 	{ AS(jail_remove_args), (sy_call_t *)jail_remove, AUE_NULL, NULL, 0, 0, 0 },	/* 508 = jail_remove */
+	{ AS(closefrom_args), (sy_call_t *)closefrom, AUE_CLOSEFROM, NULL, 0, 0, 0 },	/* 509 = closefrom */
 };

Modified: head/sys/kern/init_sysent.c
==============================================================================
--- head/sys/kern/init_sysent.c	Mon Jun 15 20:38:55 2009	(r194262)
+++ head/sys/kern/init_sysent.c	Mon Jun 15 20:40:23 2009	(r194263)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/kern/syscalls.master 191673 2009-04-29 21:14:15Z jamie 
+ * created from FreeBSD: head/sys/kern/syscalls.master 194262 2009-06-15 20:38:55Z jhb 
  */
 
 #include "opt_compat.h"
@@ -537,4 +537,5 @@ struct sysent sysent[] = {
 	{ AS(jail_get_args), (sy_call_t *)jail_get, AUE_NULL, NULL, 0, 0, 0 },	/* 506 = jail_get */
 	{ AS(jail_set_args), (sy_call_t *)jail_set, AUE_NULL, NULL, 0, 0, 0 },	/* 507 = jail_set */
 	{ AS(jail_remove_args), (sy_call_t *)jail_remove, AUE_NULL, NULL, 0, 0, 0 },	/* 508 = jail_remove */
+	{ AS(closefrom_args), (sy_call_t *)closefrom, AUE_CLOSEFROM, NULL, 0, 0, 0 },	/* 509 = closefrom */
 };

Modified: head/sys/kern/syscalls.c
==============================================================================
--- head/sys/kern/syscalls.c	Mon Jun 15 20:38:55 2009	(r194262)
+++ head/sys/kern/syscalls.c	Mon Jun 15 20:40:23 2009	(r194263)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/kern/syscalls.master 191673 2009-04-29 21:14:15Z jamie 
+ * created from FreeBSD: head/sys/kern/syscalls.master 194262 2009-06-15 20:38:55Z jhb 
  */
 
 const char *syscallnames[] = {
@@ -516,4 +516,5 @@ const char *syscallnames[] = {
 	"jail_get",			/* 506 = jail_get */
 	"jail_set",			/* 507 = jail_set */
 	"jail_remove",			/* 508 = jail_remove */
+	"closefrom",			/* 509 = closefrom */
 };

Modified: head/sys/kern/systrace_args.c
==============================================================================
--- head/sys/kern/systrace_args.c	Mon Jun 15 20:38:55 2009	(r194262)
+++ head/sys/kern/systrace_args.c	Mon Jun 15 20:40:23 2009	(r194263)
@@ -3065,6 +3065,13 @@ systrace_args(int sysnum, void *params, 
 		*n_args = 1;
 		break;
 	}
+	/* closefrom */
+	case 509: {
+		struct closefrom_args *p = params;
+		iarg[0] = p->lowfd; /* int */
+		*n_args = 1;
+		break;
+	}
 	default:
 		*n_args = 0;
 		break;
@@ -8137,6 +8144,16 @@ systrace_setargdesc(int sysnum, int ndx,
 			break;
 		};
 		break;
+	/* closefrom */
+	case 509:
+		switch(ndx) {
+		case 0:
+			p = "int";
+			break;
+		default:
+			break;
+		};
+		break;
 	default:
 		break;
 	};

Modified: head/sys/sys/syscall.h
==============================================================================
--- head/sys/sys/syscall.h	Mon Jun 15 20:38:55 2009	(r194262)
+++ head/sys/sys/syscall.h	Mon Jun 15 20:40:23 2009	(r194263)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/kern/syscalls.master 191673 2009-04-29 21:14:15Z jamie 
+ * created from FreeBSD: head/sys/kern/syscalls.master 194262 2009-06-15 20:38:55Z jhb 
  */
 
 #define	SYS_syscall	0
@@ -424,4 +424,5 @@
 #define	SYS_jail_get	506
 #define	SYS_jail_set	507
 #define	SYS_jail_remove	508
-#define	SYS_MAXSYSCALL	509
+#define	SYS_closefrom	509
+#define	SYS_MAXSYSCALL	510

Modified: head/sys/sys/syscall.mk
==============================================================================
--- head/sys/sys/syscall.mk	Mon Jun 15 20:38:55 2009	(r194262)
+++ head/sys/sys/syscall.mk	Mon Jun 15 20:40:23 2009	(r194263)
@@ -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 191673 2009-04-29 21:14:15Z jamie 
+# created from FreeBSD: head/sys/kern/syscalls.master 194262 2009-06-15 20:38:55Z jhb 
 MIASM =  \
 	syscall.o \
 	exit.o \
@@ -372,4 +372,5 @@ MIASM =  \
 	gssd_syscall.o \
 	jail_get.o \
 	jail_set.o \
-	jail_remove.o
+	jail_remove.o \
+	closefrom.o

Modified: head/sys/sys/sysproto.h
==============================================================================
--- head/sys/sys/sysproto.h	Mon Jun 15 20:38:55 2009	(r194262)
+++ head/sys/sys/sysproto.h	Mon Jun 15 20:40:23 2009	(r194263)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/kern/syscalls.master 191673 2009-04-29 21:14:15Z jamie 
+ * created from FreeBSD: head/sys/kern/syscalls.master 194262 2009-06-15 20:38:55Z jhb 
  */
 
 #ifndef _SYS_SYSPROTO_H_
@@ -1638,6 +1638,9 @@ struct jail_set_args {
 struct jail_remove_args {
 	char jid_l_[PADL_(int)]; int jid; char jid_r_[PADR_(int)];
 };
+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 *);
@@ -1995,6 +1998,7 @@ int	gssd_syscall(struct thread *, struct
 int	jail_get(struct thread *, struct jail_get_args *);
 int	jail_set(struct thread *, struct jail_set_args *);
 int	jail_remove(struct thread *, struct jail_remove_args *);
+int	closefrom(struct thread *, struct closefrom_args *);
 
 #ifdef COMPAT_43
 
@@ -2591,6 +2595,7 @@ int	freebsd4_sigreturn(struct thread *, 
 #define	SYS_AUE_jail_get	AUE_NULL
 #define	SYS_AUE_jail_set	AUE_NULL
 #define	SYS_AUE_jail_remove	AUE_NULL
+#define	SYS_AUE_closefrom	AUE_CLOSEFROM
 
 #undef PAD_
 #undef PADL_



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906152040.n5FKeOEC001113>