All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Xin Zhao <uszhaoxin@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: does e2fsprogs needs to invoke file system related system calls?
Date: Thu, 5 May 2005 16:59:49 -0400	[thread overview]
Message-ID: <20050505205949.GA7442@thunk.org> (raw)
In-Reply-To: <4ae3c1405050513493b5a1b88@mail.gmail.com>

On Thu, May 05, 2005 at 04:49:33PM -0400, Xin Zhao wrote:
> does e2fsprogs needs to invoke file system related system calls?
> 
> The reason I want to ask this question is to know whether we can
> bypass the system call monitoring based access control with e2fsprogs.

You'll need to be more specific about exactly what you are asking and
why.  Of *course* e2fsprogs needs to invoke filesystem related system
calls.  Just to give a few examples: e2fsck uses the blkid library to
map from a LABEL specifier to a device, and this libblkid will open
and read /etc/blkid.tab; e2fsck will open and read the /etc/mtab file
to make sure it is not checking a mounted filesystem; e2fsck will need
to open the block device and then read and write from said block
device.  If libntl are in use, then of course e2fsprogs will have to
open and read the translation files from the filesystem --- and this
is just the surface.

							- Ted

  reply	other threads:[~2005-05-05 20:59 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-05 20:49 does e2fsprogs needs to invoke file system related system calls? Xin Zhao
2005-05-05 20:59 ` Theodore Ts'o [this message]
2005-05-05 21:02 ` Valdis.Kletnieks

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=20050505205949.GA7442@thunk.org \
    --to=tytso@mit.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=uszhaoxin@gmail.com \
    /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.