lkml.org 
[lkml]   [2000]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Open by inode (was Re: your mail)
From
   Date: 	Mon, 20 Mar 2000 16:27:14 +0100
From: Jamie Lokier <lk@tantalophile.demon.co.uk>

My patch is for ext2 only. It adds a new ext2 attribute meaning "this
is an open-by-inode directory". So you create .inode in a filesystem,
chattr it, and then .inode/<number> refers to a specific inode in that
filesystem.

Linus hates the ability to do this, despite the calls from some
application programs to be able to be able to do iopen(). I've
sometimes been tempted to do something like this, but I suspect Linus
and/or Al Viro would burn an image of me in effigy. :-)

Note that the ability to set the "open-by-inode" attribute had better be
allowed only by root, since being able to open by inode can completely
bypass filesystem hierarchy security. (Consider a publically readable
file located in a mode 700 directory. It wouldn't be accessible because
of the mode 700 directory, but someone who could open-by-inode would be
able to gain access to it.)

- Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.035 / U:0.360 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site