Re: [PATCH v2 resend] vfs: new O_NODE open flag

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>  - re-opening normally after checking file type (there's a debate
>    whether this would have security issues, but currently we do allow
>    re-opening with increased permissions thorugh /proc/*/fd)

Which has already been demonstrated to be an (unfixed) security hole.

> Filesystems which want to install special file operations for O_NODE
> opens (e.g. ioctl) may set S_OPEN_NODE flag in the inode.  This will

Wrong way around. The defailt should be that O_NODE fails for any handle
which has not specifically added support.

It'll fill itself in where it matters pretty fast that way but cases will
get reviewed which is critical.

You also need to address the open with no permissions pinning a removable
device question.

Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux