From owner-cvs-all@FreeBSD.ORG Sun Sep 18 21:40:15 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9112C16A41F; Sun, 18 Sep 2005 21:40:15 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4DA9F43D45; Sun, 18 Sep 2005 21:40:15 +0000 (GMT) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j8ILeFS8076058; Sun, 18 Sep 2005 21:40:15 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from marcel@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j8ILeFx5076057; Sun, 18 Sep 2005 21:40:15 GMT (envelope-from marcel) Message-Id: <200509182140.j8ILeFx5076057@repoman.freebsd.org> From: Marcel Moolenaar Date: Sun, 18 Sep 2005 21:40:15 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_uuid.c src/sys/sys uuid.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Sep 2005 21:40:15 -0000 marcel 2005-09-18 21:40:15 UTC FreeBSD src repository Modified files: sys/kern kern_uuid.c sys/sys uuid.h Log: Move the UUID generator into its own function, called kern_uuidgen(), so that UUIDs can be generated from within the kernel. The uuidgen(2) syscall now allocates kernel memory, calls the generator, and does a copyout() for the whole UUID store. This change is in support of GPT. Revision Changes Path 1.9 +39 -29 src/sys/kern/kern_uuid.c 1.5 +2 -0 src/sys/sys/uuid.h