svn commit: r275987 - in stable/10/sys: compat/freebsd32 kern sys

Dmitry Chagin dchagin at FreeBSD.org
Sun Dec 21 08:00:42 UTC 2014


Author: dchagin
Date: Sun Dec 21 08:00:38 2014
New Revision: 275987
URL: https://svnweb.freebsd.org/changeset/base/275987

Log:
  Regen for r275986 (ppoll).

Modified:
  stable/10/sys/compat/freebsd32/freebsd32_proto.h
  stable/10/sys/compat/freebsd32/freebsd32_syscall.h
  stable/10/sys/compat/freebsd32/freebsd32_syscalls.c
  stable/10/sys/compat/freebsd32/freebsd32_sysent.c
  stable/10/sys/compat/freebsd32/freebsd32_systrace_args.c
  stable/10/sys/kern/init_sysent.c
  stable/10/sys/kern/syscalls.c
  stable/10/sys/kern/systrace_args.c
  stable/10/sys/sys/syscall.h
  stable/10/sys/sys/syscall.mk
  stable/10/sys/sys/sysproto.h

Modified: stable/10/sys/compat/freebsd32/freebsd32_proto.h
==============================================================================
--- stable/10/sys/compat/freebsd32/freebsd32_proto.h	Sun Dec 21 07:58:28 2014	(r275986)
+++ stable/10/sys/compat/freebsd32/freebsd32_proto.h	Sun Dec 21 08:00:38 2014	(r275987)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 271010 2014-09-03 09:05:16Z kib 
+ * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 275986 2014-12-21 07:58:28Z dchagin 
  */
 
 #ifndef _FREEBSD32_SYSPROTO_H_
@@ -693,6 +693,12 @@ struct freebsd32_procctl_args {
 	char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 };
 #endif
+struct freebsd32_ppoll_args {
+	char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)];
+	char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)];
+	char ts_l_[PADL_(const struct timespec32 *)]; const struct timespec32 * ts; char ts_r_[PADR_(const struct timespec32 *)];
+	char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
+};
 #if !defined(PAD64_REQUIRED) && (defined(__powerpc__) || defined(__mips__))
 #define PAD64_REQUIRED
 #endif
@@ -826,6 +832,7 @@ int	freebsd32_procctl(struct thread *, s
 #else
 int	freebsd32_procctl(struct thread *, struct freebsd32_procctl_args *);
 #endif
+int	freebsd32_ppoll(struct thread *, struct freebsd32_ppoll_args *);
 
 #ifdef COMPAT_43
 
@@ -1242,6 +1249,7 @@ int	freebsd7_freebsd32_shmctl(struct thr
 #define	FREEBSD32_SYS_AUE_freebsd32_aio_mlock	AUE_NULL
 #define	FREEBSD32_SYS_AUE_freebsd32_procctl	AUE_NULL
 #define	FREEBSD32_SYS_AUE_freebsd32_procctl	AUE_NULL
+#define	FREEBSD32_SYS_AUE_freebsd32_ppoll	AUE_POLL
 
 #undef PAD_
 #undef PADL_

Modified: stable/10/sys/compat/freebsd32/freebsd32_syscall.h
==============================================================================
--- stable/10/sys/compat/freebsd32/freebsd32_syscall.h	Sun Dec 21 07:58:28 2014	(r275986)
+++ stable/10/sys/compat/freebsd32/freebsd32_syscall.h	Sun Dec 21 08:00:38 2014	(r275987)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 271010 2014-09-03 09:05:16Z kib 
+ * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 275986 2014-12-21 07:58:28Z dchagin 
  */
 
 #define	FREEBSD32_SYS_syscall	0
@@ -454,4 +454,5 @@
 #define	FREEBSD32_SYS_freebsd32_aio_mlock	543
 #define	FREEBSD32_SYS_freebsd32_procctl	544
 #define	FREEBSD32_SYS_freebsd32_procctl	544
-#define	FREEBSD32_SYS_MAXSYSCALL	545
+#define	FREEBSD32_SYS_freebsd32_ppoll	545
+#define	FREEBSD32_SYS_MAXSYSCALL	546

Modified: stable/10/sys/compat/freebsd32/freebsd32_syscalls.c
==============================================================================
--- stable/10/sys/compat/freebsd32/freebsd32_syscalls.c	Sun Dec 21 07:58:28 2014	(r275986)
+++ stable/10/sys/compat/freebsd32/freebsd32_syscalls.c	Sun Dec 21 08:00:38 2014	(r275987)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 271010 2014-09-03 09:05:16Z kib 
+ * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 275986 2014-12-21 07:58:28Z dchagin 
  */
 
 const char *freebsd32_syscallnames[] = {
@@ -578,4 +578,5 @@ const char *freebsd32_syscallnames[] = {
 #else
 	"freebsd32_procctl",			/* 544 = freebsd32_procctl */
 #endif
+	"freebsd32_ppoll",			/* 545 = freebsd32_ppoll */
 };

Modified: stable/10/sys/compat/freebsd32/freebsd32_sysent.c
==============================================================================
--- stable/10/sys/compat/freebsd32/freebsd32_sysent.c	Sun Dec 21 07:58:28 2014	(r275986)
+++ stable/10/sys/compat/freebsd32/freebsd32_sysent.c	Sun Dec 21 08:00:38 2014	(r275987)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 271010 2014-09-03 09:05:16Z kib 
+ * created from FreeBSD: stable/10/sys/compat/freebsd32/syscalls.master 275986 2014-12-21 07:58:28Z dchagin 
  */
 
 #include "opt_compat.h"
@@ -615,4 +615,5 @@ struct sysent freebsd32_sysent[] = {
 #else
 	{ AS(freebsd32_procctl_args), (sy_call_t *)freebsd32_procctl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 544 = freebsd32_procctl */
 #endif
+	{ AS(freebsd32_ppoll_args), (sy_call_t *)freebsd32_ppoll, AUE_POLL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 545 = freebsd32_ppoll */
 };

Modified: stable/10/sys/compat/freebsd32/freebsd32_systrace_args.c
==============================================================================
--- stable/10/sys/compat/freebsd32/freebsd32_systrace_args.c	Sun Dec 21 07:58:28 2014	(r275986)
+++ stable/10/sys/compat/freebsd32/freebsd32_systrace_args.c	Sun Dec 21 08:00:38 2014	(r275987)
@@ -3313,6 +3313,16 @@ systrace_args(int sysnum, void *params, 
 		break;
 	}
 #endif
+	/* freebsd32_ppoll */
+	case 545: {
+		struct freebsd32_ppoll_args *p = params;
+		uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
+		uarg[1] = p->nfds; /* u_int */
+		uarg[2] = (intptr_t) p->ts; /* const struct timespec32 * */
+		uarg[3] = (intptr_t) p->set; /* const sigset_t * */
+		*n_args = 4;
+		break;
+	}
 	default:
 		*n_args = 0;
 		break;
@@ -8878,6 +8888,25 @@ systrace_entry_setargdesc(int sysnum, in
 		};
 		break;
 #endif
+	/* freebsd32_ppoll */
+	case 545:
+		switch(ndx) {
+		case 0:
+			p = "struct pollfd *";
+			break;
+		case 1:
+			p = "u_int";
+			break;
+		case 2:
+			p = "const struct timespec32 *";
+			break;
+		case 3:
+			p = "const sigset_t *";
+			break;
+		default:
+			break;
+		};
+		break;
 	default:
 		break;
 	};
@@ -10761,6 +10790,11 @@ systrace_return_setargdesc(int sysnum, i
 			p = "int";
 		break;
 #endif
+	/* freebsd32_ppoll */
+	case 545:
+		if (ndx == 0 || ndx == 1)
+			p = "int";
+		break;
 	default:
 		break;
 	};

Modified: stable/10/sys/kern/init_sysent.c
==============================================================================
--- stable/10/sys/kern/init_sysent.c	Sun Dec 21 07:58:28 2014	(r275986)
+++ stable/10/sys/kern/init_sysent.c	Sun Dec 21 08:00:38 2014	(r275987)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/kern/syscalls.master 255708 2013-09-19 18:53:42Z jhb 
+ * created from FreeBSD: stable/10/sys/kern/syscalls.master 275986 2014-12-21 07:58:28Z dchagin 
  */
 
 #include "opt_compat.h"
@@ -579,4 +579,5 @@ struct sysent sysent[] = {
 	{ AS(pipe2_args), (sy_call_t *)sys_pipe2, AUE_PIPE, NULL, 0, 0, SYF_CAPENABLED, SY_THR_STATIC },	/* 542 = pipe2 */
 	{ AS(aio_mlock_args), (sy_call_t *)lkmressys, AUE_NULL, NULL, 0, 0, 0, SY_THR_ABSENT },	/* 543 = aio_mlock */
 	{ AS(procctl_args), (sy_call_t *)sys_procctl, AUE_NULL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 544 = procctl */
+	{ AS(ppoll_args), (sy_call_t *)sys_ppoll, AUE_POLL, NULL, 0, 0, 0, SY_THR_STATIC },	/* 545 = ppoll */
 };

Modified: stable/10/sys/kern/syscalls.c
==============================================================================
--- stable/10/sys/kern/syscalls.c	Sun Dec 21 07:58:28 2014	(r275986)
+++ stable/10/sys/kern/syscalls.c	Sun Dec 21 08:00:38 2014	(r275987)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/kern/syscalls.master 255708 2013-09-19 18:53:42Z jhb 
+ * created from FreeBSD: stable/10/sys/kern/syscalls.master 275986 2014-12-21 07:58:28Z dchagin 
  */
 
 const char *syscallnames[] = {
@@ -552,4 +552,5 @@ const char *syscallnames[] = {
 	"pipe2",			/* 542 = pipe2 */
 	"aio_mlock",			/* 543 = aio_mlock */
 	"procctl",			/* 544 = procctl */
+	"ppoll",			/* 545 = ppoll */
 };

Modified: stable/10/sys/kern/systrace_args.c
==============================================================================
--- stable/10/sys/kern/systrace_args.c	Sun Dec 21 07:58:28 2014	(r275986)
+++ stable/10/sys/kern/systrace_args.c	Sun Dec 21 08:00:38 2014	(r275987)
@@ -3386,6 +3386,16 @@ systrace_args(int sysnum, void *params, 
 		*n_args = 4;
 		break;
 	}
+	/* ppoll */
+	case 545: {
+		struct ppoll_args *p = params;
+		uarg[0] = (intptr_t) p->fds; /* struct pollfd * */
+		uarg[1] = p->nfds; /* u_int */
+		uarg[2] = (intptr_t) p->ts; /* const struct timespec * */
+		uarg[3] = (intptr_t) p->set; /* const sigset_t * */
+		*n_args = 4;
+		break;
+	}
 	default:
 		*n_args = 0;
 		break;
@@ -9024,6 +9034,25 @@ systrace_entry_setargdesc(int sysnum, in
 			break;
 		};
 		break;
+	/* ppoll */
+	case 545:
+		switch(ndx) {
+		case 0:
+			p = "struct pollfd *";
+			break;
+		case 1:
+			p = "u_int";
+			break;
+		case 2:
+			p = "const struct timespec *";
+			break;
+		case 3:
+			p = "const sigset_t *";
+			break;
+		default:
+			break;
+		};
+		break;
 	default:
 		break;
 	};
@@ -10972,6 +11001,11 @@ systrace_return_setargdesc(int sysnum, i
 		if (ndx == 0 || ndx == 1)
 			p = "int";
 		break;
+	/* ppoll */
+	case 545:
+		if (ndx == 0 || ndx == 1)
+			p = "int";
+		break;
 	default:
 		break;
 	};

Modified: stable/10/sys/sys/syscall.h
==============================================================================
--- stable/10/sys/sys/syscall.h	Sun Dec 21 07:58:28 2014	(r275986)
+++ stable/10/sys/sys/syscall.h	Sun Dec 21 08:00:38 2014	(r275987)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/kern/syscalls.master 255708 2013-09-19 18:53:42Z jhb 
+ * created from FreeBSD: stable/10/sys/kern/syscalls.master 275986 2014-12-21 07:58:28Z dchagin 
  */
 
 #define	SYS_syscall	0
@@ -464,4 +464,5 @@
 #define	SYS_pipe2	542
 #define	SYS_aio_mlock	543
 #define	SYS_procctl	544
-#define	SYS_MAXSYSCALL	545
+#define	SYS_ppoll	545
+#define	SYS_MAXSYSCALL	546

Modified: stable/10/sys/sys/syscall.mk
==============================================================================
--- stable/10/sys/sys/syscall.mk	Sun Dec 21 07:58:28 2014	(r275986)
+++ stable/10/sys/sys/syscall.mk	Sun Dec 21 08:00:38 2014	(r275987)
@@ -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 255708 2013-09-19 18:53:42Z jhb 
+# created from FreeBSD: stable/10/sys/kern/syscalls.master 275986 2014-12-21 07:58:28Z dchagin 
 MIASM =  \
 	syscall.o \
 	exit.o \
@@ -411,4 +411,5 @@ MIASM =  \
 	accept4.o \
 	pipe2.o \
 	aio_mlock.o \
-	procctl.o
+	procctl.o \
+	ppoll.o

Modified: stable/10/sys/sys/sysproto.h
==============================================================================
--- stable/10/sys/sys/sysproto.h	Sun Dec 21 07:58:28 2014	(r275986)
+++ stable/10/sys/sys/sysproto.h	Sun Dec 21 08:00:38 2014	(r275987)
@@ -3,7 +3,7 @@
  *
  * DO NOT EDIT-- this file is automatically generated.
  * $FreeBSD$
- * created from FreeBSD: head/sys/kern/syscalls.master 255708 2013-09-19 18:53:42Z jhb 
+ * created from FreeBSD: stable/10/sys/kern/syscalls.master 275986 2014-12-21 07:58:28Z dchagin 
  */
 
 #ifndef _SYS_SYSPROTO_H_
@@ -1819,6 +1819,12 @@ struct procctl_args {
 	char com_l_[PADL_(int)]; int com; char com_r_[PADR_(int)];
 	char data_l_[PADL_(void *)]; void * data; char data_r_[PADR_(void *)];
 };
+struct ppoll_args {
+	char fds_l_[PADL_(struct pollfd *)]; struct pollfd * fds; char fds_r_[PADR_(struct pollfd *)];
+	char nfds_l_[PADL_(u_int)]; u_int nfds; char nfds_r_[PADR_(u_int)];
+	char ts_l_[PADL_(const struct timespec *)]; const struct timespec * ts; char ts_r_[PADR_(const struct timespec *)];
+	char set_l_[PADL_(const sigset_t *)]; const sigset_t * set; char set_r_[PADR_(const sigset_t *)];
+};
 int	nosys(struct thread *, struct nosys_args *);
 void	sys_sys_exit(struct thread *, struct sys_exit_args *);
 int	sys_fork(struct thread *, struct fork_args *);
@@ -2212,6 +2218,7 @@ int	sys_accept4(struct thread *, struct 
 int	sys_pipe2(struct thread *, struct pipe2_args *);
 int	sys_aio_mlock(struct thread *, struct aio_mlock_args *);
 int	sys_procctl(struct thread *, struct procctl_args *);
+int	sys_ppoll(struct thread *, struct ppoll_args *);
 
 #ifdef COMPAT_43
 
@@ -2919,6 +2926,7 @@ int	freebsd7_shmctl(struct thread *, str
 #define	SYS_AUE_pipe2	AUE_PIPE
 #define	SYS_AUE_aio_mlock	AUE_NULL
 #define	SYS_AUE_procctl	AUE_NULL
+#define	SYS_AUE_ppoll	AUE_POLL
 
 #undef PAD_
 #undef PADL_


More information about the svn-src-all mailing list