From: "Bryan K." <ef057@hotmail.com>
To: linux-kernel@vger.kernel.org
Cc: eric53@freemail.gr
Subject: delayed permission checks in 2.6
Date: Sun, 24 Aug 2003 13:03:49 +0000 [thread overview]
Message-ID: <Law15-F75VfbuhhhETA000031ba@hotmail.com> (raw)
While exploring some of the source I found out that some permission checks
are made too late. For example the sys_mount function in 2.6-test1: It gets
4 pages to put the type, the path, the dev name and the options. It then
locks the kernel, check for magic numbers and other sanity checks,
interprets the flags, does the mount point dentry lookup(which might spend
some time sleeping) and after all that it checks for CAP_SYS_ADMIN. Is there
any serious reason for this delay at the permission checks?
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
reply other threads:[~2003-08-24 13:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=Law15-F75VfbuhhhETA000031ba@hotmail.com \
--to=ef057@hotmail.com \
--cc=eric53@freemail.gr \
--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®