mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kevin conaway <kconaway_is@yahoo.com>
To: linux-kernel@vger.kernel.org
Subject: Where does user_path_walk() live?
Date: Sun, 12 Oct 2003 13:26:09 -0700 (PDT)	[thread overview]
Message-ID: <20031012202609.54340.qmail@web20422.mail.yahoo.com> (raw)

I am a student doing an independent study on
filesystem security and I was trying to pin down
exactly where a users permissions are checked when
trying to access a particular file.  Looking through
the various system calls in /usr/src/linux/fs/open.c
tells me that each call that requires a permission
check calls user_path_walk() to essentially "walk"
through the parts of the path to make sure the sure
has access to each part.  I attempted to find the code
for user_path_walk() but all I could find was a
#define statement that showed user_path_walk was
really a macro for __user_walk().  All I could find
were symbol references for __user_walk() in the kernel
tree.  Does anyone know where this code lives?

Thanks

Kevin Conaway

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

             reply	other threads:[~2003-10-12 20:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-12 20:26 kevin conaway [this message]
2003-10-12 20:38 ` viro
2003-10-12 20:59   ` Valdis.Kletnieks
2003-10-12 21:41     ` viro

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=20031012202609.54340.qmail@web20422.mail.yahoo.com \
    --to=kconaway_is@yahoo.com \
    --cc=linux-kernel@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®