Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Apr 2014 13:21:29 +0000 (UTC)
From:      Mark Murray <markm@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264969 - head/sys/dev/random
Message-ID:  <201404261321.s3QDLT1C050317@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markm
Date: Sat Apr 26 13:21:28 2014
New Revision: 264969
URL: http://svnweb.freebsd.org/changeset/base/264969

Log:
  Correctly set the sysctl format to Alphanumeric, rather than letting it default.
  
  Approved by: security-officer(des)

Modified:
  head/sys/dev/random/random_adaptors.c

Modified: head/sys/dev/random/random_adaptors.c
==============================================================================
--- head/sys/dev/random/random_adaptors.c	Sat Apr 26 13:05:56 2014	(r264968)
+++ head/sys/dev/random/random_adaptors.c	Sat Apr 26 13:21:28 2014	(r264969)
@@ -220,12 +220,12 @@ random_adaptors_init(void *unused)
 
 	SYSCTL_PROC(_kern_random, OID_AUTO, adaptors,
 	    CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_MPSAFE,
-	    NULL, 0, random_sysctl_adaptors_handler, "",
+	    NULL, 0, random_sysctl_adaptors_handler, "A",
 	    "Random Number Generator adaptors");
 
 	SYSCTL_PROC(_kern_random, OID_AUTO, active_adaptor,
 	    CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_MPSAFE,
-	    NULL, 0, random_sysctl_active_adaptor_handler, "",
+	    NULL, 0, random_sysctl_active_adaptor_handler, "A",
 	    "Active Random Number Generator Adaptor");
 
 	sx_init(&adaptors_lock, "random_adaptors");



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