Linux Hotplug development
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Call for Assistance - udev
Date: Sat, 25 Aug 2007 12:08:21 +0000	[thread overview]
Message-ID: <1188043701.2641.21.camel@lov.localdomain> (raw)
In-Reply-To: <46CF2009.6030709@ums.usu.ru>

On Sat, 2007-08-25 at 10:36 +0600, Alexander E. Patrakov wrote:
> Kay Sievers wrote:
> > On 8/24/07, Alexander E. Patrakov <patrakov@ums.usu.ru> 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

      parent reply	other threads:[~2007-08-25 12:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-24 18:14 Call for Assistance - udev Alexander E. Patrakov
2007-08-24 18:17 ` Alexander E. Patrakov
2007-08-24 18:28 ` Kay Sievers
2007-08-25  4:36 ` Alexander E. Patrakov
2007-08-25 12:08 ` Kay Sievers [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1188043701.2641.21.camel@lov.localdomain \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox