PERFORCE change 131134 for review

Peter Wemm peter at FreeBSD.org
Mon Dec 17 15:03:42 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=131134

Change 131134 by peter at peter_daintree on 2007/12/17 23:03:21

	Export kern.build_uuid

Affected files ...

.. //depot/projects/hammer/sys/kern/kern_mib.c#18 edit
.. //depot/projects/hammer/sys/sys/sysctl.h#38 edit

Differences ...

==== //depot/projects/hammer/sys/kern/kern_mib.c#18 (text+ko) ====

@@ -141,6 +141,9 @@
 SYSCTL_STRING(_kern, KERN_BOOTFILE, bootfile, CTLFLAG_RW,
     kernelname, sizeof kernelname, "Name of kernel file booted");
 
+SYSCTL_STRING(_kern, OID_AUTO, build_uuid, CTLFLAG_RD,
+    build_uuid, 0, "Unique kernel build identifier");
+
 SYSCTL_INT(_hw, HW_NCPU, ncpu, CTLFLAG_RD,
     &mp_ncpus, 0, "Number of active CPUs");
 

==== //depot/projects/hammer/sys/sys/sysctl.h#38 (text+ko) ====

@@ -644,6 +644,7 @@
 extern char	osrelease[];
 extern char	ostype[];
 extern char	kern_ident[];
+extern char	build_uuid[];
 
 /* Dynamic oid handling */
 struct sysctl_oid *sysctl_add_oid(struct sysctl_ctx_list *clist,


More information about the p4-projects mailing list