From 73eb5e845be651bef261c1f4ffc09e1c8c431f09 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Sat, 16 Jun 2007 20:00:37 +0000 Subject: [PATCH] Regenerate system callsa (add uuidgen()). --- sys/kern/init_sysent.c | 6 +++--- sys/kern/syscalls.c | 6 +++--- sys/kern/syscalls.master | 4 ++-- sys/sys/syscall-hide.h | 5 +++-- sys/sys/syscall.h | 5 +++-- sys/sys/syscall.mk | 5 +++-- sys/sys/sysproto.h | 12 ++++++++++-- sys/sys/sysunion.h | 5 +++-- 8 files changed, 30 insertions(+), 18 deletions(-) diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index fd36934799..8f596117c6 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -2,8 +2,8 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * $DragonFly: src/sys/kern/init_sysent.c,v 1.57 2007/05/03 23:04:31 dillon Exp $ - * created from DragonFly: src/sys/kern/syscalls.master,v 1.54 2007/04/22 00:59:25 dillon Exp + * $DragonFly: src/sys/kern/init_sysent.c,v 1.58 2007/06/16 20:00:37 dillon Exp $ + * created from DragonFly: src/sys/kern/syscalls.master,v 1.55 2007/05/03 23:04:31 dillon Exp */ #include "opt_compat.h" @@ -426,7 +426,7 @@ struct sysent sysent[] = { { 0, (sy_call_t *)sys_nosys }, /* 389 = nosys */ { 0, (sy_call_t *)sys_nosys }, /* 390 = nosys */ { 0, (sy_call_t *)sys_nosys }, /* 391 = nosys */ - { 0, (sy_call_t *)sys_nosys }, /* 392 = nosys */ + { AS(uuidgen_args), (sy_call_t *)sys_uuidgen }, /* 392 = uuidgen */ { AS(sendfile_args), (sy_call_t *)sys_sendfile }, /* 393 = sendfile */ { 0, (sy_call_t *)sys_nosys }, /* 394 = nosys */ { 0, (sy_call_t *)sys_nosys }, /* 395 = nosys */ diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index aedae740cc..535d7ba233 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -2,8 +2,8 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * $DragonFly: src/sys/kern/syscalls.c,v 1.56 2007/05/03 23:04:31 dillon Exp $ - * created from DragonFly: src/sys/kern/syscalls.master,v 1.54 2007/04/22 00:59:25 dillon Exp + * $DragonFly: src/sys/kern/syscalls.c,v 1.57 2007/06/16 20:00:37 dillon Exp $ + * created from DragonFly: src/sys/kern/syscalls.master,v 1.55 2007/05/03 23:04:31 dillon Exp */ char *syscallnames[] = { @@ -401,7 +401,7 @@ char *syscallnames[] = { "#389", /* 389 = nosys */ "#390", /* 390 = nosys */ "#391", /* 391 = nosys */ - "#392", /* 392 = nosys */ + "uuidgen", /* 392 = uuidgen */ "sendfile", /* 393 = sendfile */ "#394", /* 394 = nosys */ "#395", /* 395 = nosys */ diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 17e1071b18..fa2dc24d9f 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ - $DragonFly: src/sys/kern/syscalls.master,v 1.55 2007/05/03 23:04:31 dillon Exp $ + $DragonFly: src/sys/kern/syscalls.master,v 1.56 2007/06/16 20:00:37 dillon Exp $ ; @(#)syscalls.master 8.2 (Berkeley) 1/13/94 ; $FreeBSD: src/sys/kern/syscalls.master,v 1.72.2.10 2002/07/12 08:22:46 alfred Exp $ @@ -560,7 +560,7 @@ 389 UNIMPL NOHIDE nosys 390 UNIMPL NOHIDE nosys 391 UNIMPL NOHIDE nosys -392 UNIMPL NOHIDE nosys +392 STD BSD { int uuidgen(struct uuid *store, int count); } 393 STD BSD { int sendfile(int fd, int s, off_t offset, size_t nbytes, \ struct sf_hdtr *hdtr, off_t *sbytes, int flags); } ; 394-439 used by FreeBSD-current diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h index 448dc62543..b8e38e0f26 100644 --- a/sys/sys/syscall-hide.h +++ b/sys/sys/syscall-hide.h @@ -2,8 +2,8 @@ * System call hiders. * * DO NOT EDIT-- this file is automatically generated. - * $DragonFly: src/sys/sys/syscall-hide.h,v 1.57 2007/05/03 23:04:36 dillon Exp $ - * created from DragonFly: src/sys/kern/syscalls.master,v 1.54 2007/04/22 00:59:25 dillon Exp + * $DragonFly: src/sys/sys/syscall-hide.h,v 1.58 2007/06/16 20:00:36 dillon Exp $ + * created from DragonFly: src/sys/kern/syscalls.master,v 1.55 2007/05/03 23:04:31 dillon Exp */ #ifdef COMPAT_43 @@ -279,6 +279,7 @@ HIDE_BSD(getresgid) HIDE_BSD(kqueue) HIDE_BSD(kevent) HIDE_BSD(sctp_peeloff) +HIDE_BSD(uuidgen) HIDE_BSD(sendfile) HIDE_BSD(varsym_set) HIDE_BSD(varsym_get) diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index b78caa441b..7981f3f1d8 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -2,8 +2,8 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * $DragonFly: src/sys/sys/syscall.h,v 1.57 2007/05/03 23:04:36 dillon Exp $ - * created from DragonFly: src/sys/kern/syscalls.master,v 1.54 2007/04/22 00:59:25 dillon Exp + * $DragonFly: src/sys/sys/syscall.h,v 1.58 2007/06/16 20:00:36 dillon Exp $ + * created from DragonFly: src/sys/kern/syscalls.master,v 1.55 2007/05/03 23:04:31 dillon Exp */ #define SYS_syscall 0 @@ -290,6 +290,7 @@ #define SYS_kqueue 362 #define SYS_kevent 363 #define SYS_sctp_peeloff 364 +#define SYS_uuidgen 392 #define SYS_sendfile 393 #define SYS_varsym_set 450 #define SYS_varsym_get 451 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index 91fa1ef179..0b927bee36 100644 --- a/sys/sys/syscall.mk +++ b/sys/sys/syscall.mk @@ -1,7 +1,7 @@ # DragonFly system call names. # DO NOT EDIT-- this file is automatically generated. -# $DragonFly: src/sys/sys/syscall.mk,v 1.57 2007/05/03 23:04:36 dillon Exp $ -# created from DragonFly: src/sys/kern/syscalls.master,v 1.54 2007/04/22 00:59:25 dillon Exp +# $DragonFly: src/sys/sys/syscall.mk,v 1.58 2007/06/16 20:00:36 dillon Exp $ +# created from DragonFly: src/sys/kern/syscalls.master,v 1.55 2007/05/03 23:04:31 dillon Exp MIASM = \ syscall.o \ exit.o \ @@ -231,6 +231,7 @@ MIASM = \ kqueue.o \ kevent.o \ sctp_peeloff.o \ + uuidgen.o \ sendfile.o \ varsym_set.o \ varsym_get.o \ diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index d2b38de2ae..7c1f511de2 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -2,8 +2,8 @@ * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. - * $DragonFly: src/sys/sys/sysproto.h,v 1.57 2007/05/03 23:04:36 dillon Exp $ - * created from DragonFly: src/sys/kern/syscalls.master,v 1.54 2007/04/22 00:59:25 dillon Exp + * $DragonFly: src/sys/sys/sysproto.h,v 1.58 2007/06/16 20:00:36 dillon Exp $ + * created from DragonFly: src/sys/kern/syscalls.master,v 1.55 2007/05/03 23:04:31 dillon Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -1690,6 +1690,13 @@ struct sctp_peeloff_args { int sd; char sd_[PAD_(int)]; caddr_t name; char name_[PAD_(caddr_t)]; }; +struct uuidgen_args { +#ifdef _KERNEL + struct sysmsg sysmsg; +#endif + struct uuid * store; char store_[PAD_(struct uuid *)]; + int count; char count_[PAD_(int)]; +}; struct sendfile_args { #ifdef _KERNEL struct sysmsg sysmsg; @@ -2633,6 +2640,7 @@ int sys_getresgid (struct getresgid_args *); int sys_kqueue (struct kqueue_args *); int sys_kevent (struct kevent_args *); int sys_sctp_peeloff (struct sctp_peeloff_args *); +int sys_uuidgen (struct uuidgen_args *); int sys_sendfile (struct sendfile_args *); int sys_varsym_set (struct varsym_set_args *); int sys_varsym_get (struct varsym_get_args *); diff --git a/sys/sys/sysunion.h b/sys/sys/sysunion.h index c73bca964b..020518d54c 100644 --- a/sys/sys/sysunion.h +++ b/sys/sys/sysunion.h @@ -2,8 +2,8 @@ * Union of syscall args for messaging. * * DO NOT EDIT-- this file is automatically generated. - * $DragonFly: src/sys/sys/sysunion.h,v 1.54 2007/05/03 23:04:36 dillon Exp $ - * created from DragonFly: src/sys/kern/syscalls.master,v 1.54 2007/04/22 00:59:25 dillon Exp + * $DragonFly: src/sys/sys/sysunion.h,v 1.55 2007/06/16 20:00:36 dillon Exp $ + * created from DragonFly: src/sys/kern/syscalls.master,v 1.55 2007/05/03 23:04:31 dillon Exp */ union sysunion { @@ -335,6 +335,7 @@ union sysunion { struct kqueue_args kqueue; struct kevent_args kevent; struct sctp_peeloff_args sctp_peeloff; + struct uuidgen_args uuidgen; struct sendfile_args sendfile; struct varsym_set_args varsym_set; struct varsym_get_args varsym_get; -- 2.11.4.GIT