Followup to: <Pine.LNX.4.21.0006021321300.2581-100000@saturn.homenet>
By author: Tigran Aivazian <tigran@veritas.com>
In newsgroup: linux.dev.kernel
>
> did you look at kern_mount/umount interface that went into the kernel
> recently? Things like shm and pipefs should (and already are) mounted
> under artificially constructed root mountpoints like "pipe:" which are not
> visible for namelookups coming from userspace. Ok, it is not the case for
> shm currently (it is mounted on /) but perhaps it should be (i.e. the way
> root dentry should be allocated as for pipefs using d_alloc() directly
> instead of using generic d_alloc_root())?
>
> I cc'd Al Viro as I suspect he knows the answer to the above question.
>
No, shmfs actually needs a real path. Not for SysV IPC, but for POSIX
IPC.
-hpa
-- <hpa@transmeta.com> at work, <hpa@zytor.com> in private! "Unix gives you enough rope to shoot yourself in the foot."- 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/
This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:16 EST