All of lore.kernel.org
 help / color / mirror / Atom feed
From: Diyab <diyab@diyab.net>
To: russell@coker.com.au
Cc: SE Linux <selinux@tycho.nsa.gov>
Subject: Re: Diamond Rio 500 and other device nodes
Date: Wed, 29 Oct 2003 22:58:29 -0500	[thread overview]
Message-ID: <3FA08C65.2020309@diyab.net> (raw)
In-Reply-To: <200310300227.27364.russell@coker.com.au>

Russell Coker wrote:

> What do you think is the correct type for the device node for the "Diamond Rio 
> 500" (/dev/usb/rio500)?
> 
> It's a portable MP3 player and storage device with a USB interface, so I think 
> that removable_device_t is appropriate, in concept it's similar to a floppy 
> disk drive.
> 
> Also I've used scanner_device_t for USB digital cameras, I think of a camera 
> as a portable scanner.  ;)  But I guess a case could be made for considering 
> digital cameras to be removable storage.
> 
> 
> I have been considering whether I should merge the v4l_device_t device nodes 
> with those for scanners.  However I think that although the concept is the 
> same the likely use is different.  Having one program to use v4l to control a 
> security system while another program acts as a scanner server is likely, 
> while it's likely that a program which is authorised for accessing a scanner 
> will also be authorised for digital cameras.
> 

Just curious, but how will the files on the device be labeled once the 
device is mounted?  For example if I plug in my digital camera and mount 
it so that I can copy the pictures from it am I going to have access to 
read the files?  Will I even be able to mount it as a normal user?  Is 
this going to be a problem since we can't label the device filesystem?

Timothy,

-- 
I put instant coffee in a microwave and almost went back in time.
		-- Steven Wright


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2003-10-30  4:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-29 15:27 Diamond Rio 500 and other device nodes Russell Coker
2003-10-30  3:58 ` Diyab [this message]
2003-10-30 14:33   ` Russell Coker
2003-10-30 16:02     ` Stephen Smalley
2003-10-30 16:23       ` Russell Coker

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=3FA08C65.2020309@diyab.net \
    --to=diyab@diyab.net \
    --cc=russell@coker.com.au \
    --cc=selinux@tycho.nsa.gov \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.