All of lore.kernel.org
 help / color / mirror / Atom feed
* [uml-devel] hostfs / current->fsuid
@ 2004-06-21  3:44 Trent Lloyd
  2004-06-22 13:50 ` Cameron Patrick
  0 siblings, 1 reply; 6+ messages in thread
From: Trent Lloyd @ 2004-06-21  3:44 UTC (permalink / raw)
  To: user-mode-linux-devel

Hi Guys,

I was looking into trying to modify hostfs so if UML ran as root it
would keep the same permissions

And to start, I am aware of humfs, i guess my next question could be,
would humfs work with two UMLs accessing the filesystem, if yes, the
rest of this is redundant.

I was looking at making hostfs set the right owner at create time,
however current->fsuid seems just to be root, and not the person who
called the process (this is in hostfs_kern.c)

Sorry if I'm off the mark here and this is wrong, could someone tell me
if either I've buggered up somewhere and it should be right, or if I'm
using the wrong thing completely and how I could get the uid of the user
who requested the file operation.

Cheers,
Trent
Bur.st

-- 
Trent Lloyd <lathiat@bur.st>
Bur.st Networking Inc.


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-06-23  6:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-21  3:44 [uml-devel] hostfs / current->fsuid Trent Lloyd
2004-06-22 13:50 ` Cameron Patrick
2004-06-22 18:35   ` BlaisorBlade
2004-06-23  0:48     ` Trent Lloyd
2004-06-23  4:09       ` [uml-devel] " Sven Köhler
2004-06-23  6:02         ` Trent Lloyd

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.