All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trent Lloyd <lathiat@bur.st>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] hostfs / current->fsuid
Date: Mon, 21 Jun 2004 11:44:35 +0800	[thread overview]
Message-ID: <20040621034434.GC2735@thump.bur.st> (raw)

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

             reply	other threads:[~2004-06-21  3:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-21  3:44 Trent Lloyd [this message]
2004-06-22 13:50 ` [uml-devel] hostfs / current->fsuid 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

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=20040621034434.GC2735@thump.bur.st \
    --to=lathiat@bur.st \
    --cc=user-mode-linux-devel@lists.sourceforge.net \
    /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.