From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sat, 25 Aug 2007 12:08:21 +0000 Subject: Re: Call for Assistance - udev Message-Id: <1188043701.2641.21.camel@lov.localdomain> 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 On Sat, 2007-08-25 at 10:36 +0600, Alexander E. Patrakov wrote: > 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. Fine. I updated the rules. Thanks, Kay ------------------------------------------------------------------------- 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