Re: [PATCH v5 0/5] Handle notifications on overlayfs fake path files

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

 



On Thu, 15 Jun 2023 14:22:24 +0300, Amir Goldstein wrote:
> Christian,
> 
> A little while ago, Jan and I realized that an unprivileged overlayfs
> mount could be used to avert fanotify permission events that were
> requested for an inode or sb on the underlying fs.
> 
> The [v1] patch set was an attempt to implement Miklos' suggestion
> (opt-in to query the fake path) which turned out to affet the vfs in
> many places, so Miklos and I agreed on a solution that will be less
> intrusive for vfs (opt-in to query the real path).
> 
> [...]

I incorporated all the fixes suggested by Christoph and the missing
decrement of nr_files.

---

Applied to the vfs.backing.file branch of the vfs/vfs.git tree.
Patches in the vfs.backing.file branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.backing.file

[1/5] fs: rename {vfs,kernel}_tmpfile_open()
      https://git.kernel.org/vfs/vfs/c/d56e0ddb8fc3
[2/5] fs: use a helper for opening kernel internal files
      https://git.kernel.org/vfs/vfs/c/cbb0b9d4bbcf
[3/5] fs: move kmem_cache_zalloc() into alloc_empty_file*() helpers
      https://git.kernel.org/vfs/vfs/c/8a05a8c31d06
[4/5] fs: use backing_file container for internal files with "fake" f_path
      https://git.kernel.org/vfs/vfs/c/62d53c4a1dfe
[5/5] ovl: enable fsnotify events on underlying real files
      https://git.kernel.org/vfs/vfs/c/bc2473c90fca



[Index of Archives]     [Linux Filesystems Devel]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux