Re: [PATCH v2 01/35] replace collect_mounts()/drop_collected_mounts() with a safer variant

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

 



On Mon, Jun 23, 2025 at 05:53:54AM +0100, Al Viro wrote:
> @@ -828,16 +832,16 @@ int audit_add_tree_rule(struct audit_krule *rule)
>  	err = kern_path(tree->pathname, 0, &path);
>  	if (err)
>  		goto Err;
> -	mnt = collect_mounts(&path);
> +	paths = collect_paths(paths, array, 16);

that would be
	paths = collect_paths(&path, array, 16);
of course.  Kudos to venkat88@xxxxxxxxxxxxx for spotting the breakage.

Al, off to find out what's wrong with his local audit-related tests...




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

  Powered by Linux