From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Date: Sat, 25 Aug 2007 04:36:19 +0000 Subject: Re: Call for Assistance - udev Message-Id: <46CFB1C3.8020300@ums.usu.ru> List-Id: References: <46CF2009.6030709@ums.usu.ru> In-Reply-To: <46CF2009.6030709@ums.usu.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Kay Sievers wrote: > On 8/24/07, Alexander E. Patrakov wrote: > >> 2) Mismatch between /dev/random and /dev/urandom permissions: >> KERNEL="...|random", MODE="0666" >> KERNEL="urandom", MODE="0644" >> > > You can write to random to add entropy to the pool. I guess, you can't > write to urandom. > The drivers/char/random.c file says: const struct file_operations random_fops = { .read = random_read, .write = random_write, .poll = random_poll, .ioctl = random_ioctl, }; const struct file_operations urandom_fops = { .read = urandom_read, .write = random_write, .ioctl = random_ioctl, }; So there is no valid reason for this mismatch. -- Alexander E. Patrakov ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel