[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <22130.1192311975@redhat.com>
Date: Sat, 13 Oct 2007 22:46:15 +0100
From: David Howells <dhowells@...hat.com>
To: Theodore Tso <tytso@....edu>
Cc: dhowells@...hat.com, viro@....linux.org.uk, kwc@...i.umich.edu,
Trond.Myklebust@...app.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 00/52] Introduce credential record
Theodore Tso <tytso@....edu> wrote:
> I'm going to ask a stupid question, and I probably missed something
> in the 52 patches, but.... I see how the credential is used to do
> access checks, but why does the credentials record need to passed all
> the way into block allocator? What is it used for there?
Ext2, 3 & 4 use it to determine whether someone has the right to use the
reserved space according to whether their UID/GID match those in the
superblock.
See ext3_has_free_blocks() for an example.
David
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists