Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 May 2002 16:46:43 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 11884 for review
Message-ID:  <200205252346.g4PNkh984650@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11884

Change 11884 by marcel@marcel_vaio on 2002/05/25 16:46:31

	Alternate change number: ddbcfc53-7038-11d6-f3bf-00022d09712b
	
	Implement syscall uuidgen() for generating UUIDs. The syscall
	takes a pointer P and a number N and stores N UUIDs in the
	buffer pointed to by P.
	
	XXX this syscall has no manpage yet.

Affected files ...

... //depot/projects/ia64/sys/conf/files#23 edit
... //depot/projects/ia64/sys/kern/init_sysent.c#8 edit
... //depot/projects/ia64/sys/kern/kern_uuid.c#1 add
... //depot/projects/ia64/sys/kern/syscalls.c#8 edit
... //depot/projects/ia64/sys/kern/syscalls.master#8 edit
... //depot/projects/ia64/sys/sys/syscall.h#8 edit
... //depot/projects/ia64/sys/sys/syscall.mk#8 edit
... //depot/projects/ia64/sys/sys/sysproto.h#9 edit
... //depot/projects/ia64/sys/sys/uuid.h#1 add

Differences ...

==== //depot/projects/ia64/sys/conf/files#23 (text+ko) ====

@@ -864,6 +864,7 @@
 kern/kern_tc.c		standard
 kern/kern_time.c	standard
 kern/kern_timeout.c	standard
+kern/kern_uuid.c	standard
 kern/kern_xxx.c		standard
 kern/link_elf.c		standard
 kern/md5c.c		standard

==== //depot/projects/ia64/sys/kern/init_sysent.c#8 (text+ko) ====

@@ -2,7 +2,7 @@
  * System call switch table.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/kern/init_sysent.c,v 1.122 2002/05/05 23:47:41 mux Exp $
+ * $FreeBSD$
  * created from FreeBSD: src/sys/kern/syscalls.master,v 1.111 2002/05/05 23:37:44 mux Exp 
  */
 
@@ -414,4 +414,5 @@
 	{ 0, (sy_call_t *)nosys },			/* 389 = __mac_set_file */
 	{ AS(kenv_args), (sy_call_t *)kenv },		/* 390 = kenv */
 	{ AS(lchflags_args), (sy_call_t *)lchflags },	/* 391 = lchflags */
+	{ AS(uuidgen_args), (sy_call_t *)uuidgen },	/* 392 = uuidgen */
 };

==== //depot/projects/ia64/sys/kern/syscalls.c#8 (text+ko) ====

@@ -2,7 +2,7 @@
  * System call names.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/kern/syscalls.c,v 1.109 2002/05/05 23:47:41 mux Exp $
+ * $FreeBSD$
  * created from FreeBSD: src/sys/kern/syscalls.master,v 1.111 2002/05/05 23:37:44 mux Exp 
  */
 
@@ -399,4 +399,5 @@
 	"#389",			/* 389 = __mac_set_file */
 	"kenv",			/* 390 = kenv */
 	"lchflags",			/* 391 = lchflags */
+	"uuidgen",			/* 392 = uuidgen */
 };

==== //depot/projects/ia64/sys/kern/syscalls.master#8 (text+ko) ====

@@ -562,3 +562,4 @@
 390	STD	BSD	{ int kenv(int what, const char *name, char *value, \
 			    int len); }
 391	STD	BSD	{ int lchflags(const char *path, int flags); }
+392	STD	BSD	{ int uuidgen(void *store, int count); }

==== //depot/projects/ia64/sys/sys/syscall.h#8 (text+ko) ====

@@ -2,7 +2,7 @@
  * System call numbers.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/sys/syscall.h,v 1.108 2002/05/05 23:47:41 mux Exp $
+ * $FreeBSD$
  * created from FreeBSD: src/sys/kern/syscalls.master,v 1.111 2002/05/05 23:37:44 mux Exp 
  */
 
@@ -305,4 +305,5 @@
 #define	SYS_kse_yield	383
 #define	SYS_kenv	390
 #define	SYS_lchflags	391
-#define	SYS_MAXSYSCALL	392
+#define	SYS_uuidgen	392
+#define	SYS_MAXSYSCALL	393

==== //depot/projects/ia64/sys/sys/syscall.mk#8 (text+ko) ====

@@ -1,6 +1,6 @@
 # FreeBSD system call names.
 # DO NOT EDIT-- this file is automatically generated.
-# $FreeBSD: src/sys/sys/syscall.mk,v 1.63 2002/05/05 23:47:41 mux Exp $
+# $FreeBSD$
 # created from FreeBSD: src/sys/kern/syscalls.master,v 1.111 2002/05/05 23:37:44 mux Exp 
 MIASM =  \
 	syscall.o \
@@ -254,4 +254,5 @@
 	thread_wakeup.o \
 	kse_yield.o \
 	kenv.o \
-	lchflags.o
+	lchflags.o \
+	uuidgen.o

==== //depot/projects/ia64/sys/sys/sysproto.h#9 (text+ko) ====

@@ -2,7 +2,7 @@
  * System call prototypes.
  *
  * DO NOT EDIT-- this file is automatically generated.
- * $FreeBSD: src/sys/sys/sysproto.h,v 1.100 2002/05/05 23:47:41 mux Exp $
+ * $FreeBSD$
  * created from FreeBSD: src/sys/kern/syscalls.master,v 1.111 2002/05/05 23:37:44 mux Exp 
  */
 
@@ -1115,6 +1115,10 @@
 	char path_l_[PADL_(const char *)]; const char * path; char path_r_[PADR_(const char *)];
 	char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)];
 };
+struct uuidgen_args {
+	char store_l_[PADL_(void *)]; void * store; char store_r_[PADR_(void *)];
+	char count_l_[PADL_(int)]; int count; char count_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 *);
@@ -1366,6 +1370,7 @@
 int	kse_yield(struct thread *, struct kse_yield_args *);
 int	kenv(struct thread *, struct kenv_args *);
 int	lchflags(struct thread *, struct lchflags_args *);
+int	uuidgen(struct thread *, struct uuidgen_args *);
 
 #ifdef COMPAT_43
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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