Re: [patch 00/13] devtmpfs patches

From: Kay Sievers
Date: Wed May 13 2009 - 08:58:51 EST


On Wed, May 13, 2009 at 14:22, Stephen Smalley <sds@xxxxxxxxxxxxx> wrote:

> I think you'll actually need to switch credentials around the entire
> sequence starting from vfs_path_lookup() and going through the
> vfs_mknod() call in order to avoid any denials from vfs_path_lookup,
> vfs_mkdir (via create_path), and vfs_mknod.
>
> Then the same issue applies to devtmpfs_delete_node() to prevent unlink
> denials against the current process when a node is removed, similarly
> wrapping everything from the vfs_path_lookup() through the final
> delete_path() call.

Ok, good, will do that. Anything like this to keep in mind when
creating/removing simple subdirectories?

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/