Peter Chubb <peter _at_ chubb.wattle.id.au> said: [...] > The problem is that in Unix the fundamental identity of a file is > the tuple (blkdev, inum); names are merely indices (links) that resolve to > that tuple. Personally, I'd swap to a pair of system calls to map > name to (blkdev, inum), and open(blkdev, inum). Think of the inode > number as a unique within-filesystem index. That way any joker can go ahead and open any file, without any regard to permission bits on the directories that lead there. Not nice. -- Dr. Horst H. von Brand User #22616 counter.li.org Departamento de Informatica Fono: +56 32 654431 Universidad Tecnica Federico Santa Maria +56 32 654239 Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo _at_ vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Follow-Ups:
- Prev by Date: Re: Linux 2.4.21-pre3
- Next by Date: dell precision m50 _very_ slow paging/swapping
- Previous by thread: [PATCH] non-G450/G550 build of matroxfb in 2.4.21-pre3 (was Re: Linux 2.4.21-pre3)
- Next by thread: Re: ISO-9660 Rock Ridge gives different links different inums
- Indexes:[Main][Thread]