Re: [RFC PATCH] vfs: add MNT_NOFOLLOW flag to umount(2)

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

 



On Thu, 04 Feb 2010, Bodo Eggert wrote:
> Miklos Szeredi <miklos@xxxxxxxxxx> wrote:
> 
> > Additionally, return -EINVAL if an unknown flag is encountered.  This
> > makes it possible for the caller to determine if a flag is supported
> > or not (at least on kernels with this patch).
> 
> There should be a guaranteed-to-be-invalid flag or flag-combination in
> order to safely detect this feature.

It's difficult though, because the app would have to make sure the
detection itself would reliably fail, and with a different error.

Simply checking the kernel version might be easier.

Thanks,
Miklos
--
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