[PATCH] use HAL property to set mount root in callouts

Kay Sievers kay.sievers at vrfy.org
Sat Jan 7 19:51:55 PST 2006


On Sat, Jan 07, 2006 at 09:46:58PM +0300, Andrey Borzenkov wrote:
> On Saturday 07 January 2006 21:33, Kay Sievers wrote:
> 
> > > blacklisting mode does not allow user to restrict
> > > access to inserted media (user may not want USB key with bank certificate
> > > and transactions be readable to everyone).
> >
> > Filesystems have permissions or things like FAT is mounted with the uid of
> > the requesting user.
> >
> 
> it (FAT) is still often world-readable even if not world-writable. Oh, I 
> actually meant umask (and dmask/fmask), I always confuse them. Default is 
> most probably wrong as it is taken from caller (i.e. HAL in this case) not 
> from user.

The uid of the process who actually invokes the Mount() method is passed
to mount, not HAL's own uid.

Kay


More information about the hal mailing list