Re: [PATCH v3] vfs: new O_NODE open flag

From: Alan Cox
Date: Sat Dec 05 2009 - 15:27:23 EST


> Maybe alan was worried about the O_NODE | O_RDWR, etc. case? That
> simply doesn't make any sense for special files.

I am concerned primarily about the lack of ability to get rid of such a
handle in a controlled fashion. The udev/device unload case is simply one
obvious way to exploit it.

I still don't believe O_NODE makes sense without revoke(), and even then
needs huge amounts of care on the device side of things.
--
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/