From: Peter Hartshorn <peter@dimtech.com.au>
To: user-mode-linux-devel@lists.sourceforge.net
Subject: [uml-devel] Bug in hostfs
Date: Sat, 7 Aug 2004 18:59:12 +1000 [thread overview]
Message-ID: <200408071859.12858.peter@dimtech.com.au> (raw)
I just started hacking in uml. First thing I did was to re-enable reporting of
real uid and gid for hostfs files (I needed it). Then I noticed that I could
only write to a file if it had the execute bit set (ie 0744). I narrowed this
down to the following:
file: arch/um/fs/hostfs/host_fs.c
line: 60
original:
static int access_file(char *file, int uid, int gid, int r, int w, int x,
modified:
static in access_file(char *file, int r, int w, int x, int uid, int gid,
So, as you can see, the parameters for the function were in the wrong order.
The order was also changed in the hostfs.h file.
PS. sorry about the lack of a patch (I didn't think it was a big enough patch)
-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
next reply other threads:[~2004-08-07 9:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-07 8:59 Peter Hartshorn [this message]
2004-08-07 17:11 ` [uml-devel] Bug in hostfs Jeff Dike
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=200408071859.12858.peter@dimtech.com.au \
--to=peter@dimtech.com.au \
--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.