Re: [PATCH 06/13] vfs: add whiteout support

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

 



Miklos Szeredi wrote:
> +int vfs_whiteout(struct inode *dir, struct dentry *dentry)
> +{
> +	int error = may_create(dir, dentry);
> +	if (error)
> +		return error;
> +
> +	if (!dir->i_op->mknod)
> +		return -EPERM;
> +
> +	return dir->i_op->mknod(dir, dentry,
> +				S_IFCHR | WHITEOUT_MODE, WHITEOUT_DEV);
> +}
> +EXPORT_SYMBOL(vfs_whiteout);

May I verify which/how security_path_*() hooks are called for vfs_whiteout() ?
(Please include linux-security-module@xxxxxxxxxxxxxxx when making VFS changes.
TOMOYO and AppArmor don't want to be left behind again.)
--
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