aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify
AgeCommit message (Expand)AuthorFilesLines
2024-03-07fanotify: allow freeze when waiting response for permission eventsWinston Wen1-2/+4
2024-01-24fsnotify: optimize the case of no parent watcherAmir Goldstein1-11/+17
2024-01-11Merge tag 'pull-dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-1/+1
2024-01-10Merge tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds3-3/+0
2023-12-28fs: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados3-3/+0
2023-12-01fanotify: allow "weak" fsid when watching a single filesystemAmir Goldstein3-33/+100
2023-12-01fanotify: store fsid in mark instead of in connectorAmir Goldstein4-62/+37
2023-11-25dentry: switch the lists of children to hlistAl Viro1-1/+1
2023-11-07Merge tag 'vfs-6.7.fsid' of git://git.kernel.org/pub/scm/linux/kernel/git/vfs...Linus Torvalds1-2/+2
2023-11-02Merge tag 'mm-nonmm-stable-2023-11-02-14-08' of git://git.kernel.org/pub/scm/...Linus Torvalds3-8/+8
2023-11-02Merge tag 'fsnotify_for_v6.7-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+2
2023-10-30Merge tag 'vfs-6.7.misc' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfsLinus Torvalds1-2/+4
2023-10-24exportfs: add helpers to check if filesystem can encode/decode file handlesAmir Goldstein1-2/+2
2023-10-19fanotify: limit reporting of event with non-decodeable file handlesAmir Goldstein1-8/+17
2023-10-19file: convert to SLAB_TYPESAFE_BY_RCUChristian Brauner1-2/+4
2023-10-18treewide: mark stuff as __ro_after_initAlexey Dobriyan3-8/+8
2023-10-10fanotify: delete useless parenthesis in FANOTIFY_INLINE_FH macroAlexey Dobriyan1-2/+2
2023-07-10dnotify: Pass argument of fcntl_dirnotify as intLuca Vizzarro1-2/+2
2023-07-04fanotify: disallow mount/sb marks on kernel internal pseudo fsAmir Goldstein1-0/+14
2023-05-25exportfs: check for error return value from exportfs_encode_*()Amir Goldstein1-1/+1
2023-05-25fanotify: support reporting non-decodeable file handlesAmir Goldstein2-6/+5
2023-05-22exportfs: add explicit flag to request non-decodeable file handlesAmir Goldstein2-3/+3
2023-04-25inotify: Avoid reporting event with invalid wdJan Kara1-2/+9
2023-04-03fanotify: use pidfd_prepare()Christian Brauner1-4/+9
2023-02-21Merge tag 'rcu.2023.02.10a' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
2023-02-07fanotify,audit: Allow audit to use the full permission event responseRichard Guy Briggs1-1/+2
2023-02-07fanotify: define struct members to hold response decision contextRichard Guy Briggs3-22/+73
2023-02-07fanotify: Ensure consistent variable type for responseRichard Guy Briggs2-4/+4
2023-02-02fs/notify: Remove "select SRCU"Paul E. McKenney1-1/+0
2022-10-07Merge tag 'fsnotify-for_v6.1-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-10/+0
2022-09-26fanotify: Remove obsoleted fanotify_event_has_path()Gaosheng Cui1-6/+0
2022-09-09fsnotify: remove unused declarationGaosheng Cui1-4/+0
2022-09-01fs/notify: constify pathAl Viro3-5/+5
2022-07-26fsnotify: Fix comment typoXin Gao1-1/+1
2022-07-01fanotify: introduce FAN_MARK_IGNOREAmir Goldstein2-10/+55
2022-07-01fanotify: cleanups for fanotify_mark() input validationsAmir Goldstein1-9/+21
2022-07-01fanotify: prepare for setting event flags in ignore maskAmir Goldstein4-29/+38
2022-07-01fs: inotify: Fix typo in inotify commentOliver Ford1-1/+1
2022-06-28fanotify: refine the validation checks on non-dir inode maskAmir Goldstein1-15/+19
2022-05-25Merge tag 'fsnotify_for_v5.19-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds11-186/+289
2022-05-23fanotify: fix incorrect fmode_t castsVasily Averin1-2/+2
2022-05-18fsnotify: consistent behavior for parent not watching childrenAmir Goldstein2-24/+20
2022-05-18fsnotify: introduce mark type iteratorAmir Goldstein2-37/+30
2022-05-09fanotify: do not allow setting dirent events in mask of non-dirAmir Goldstein1-0/+13
2022-04-25fanotify: enable "evictable" inode marksAmir Goldstein1-1/+1
2022-04-25fanotify: use fsnotify group lock helpersAmir Goldstein1-7/+7
2022-04-25fanotify: implement "evictable" inode marksAmir Goldstein2-2/+38
2022-04-25fanotify: factor out helper fanotify_mark_update_flags()Amir Goldstein1-22/+25
2022-04-25fanotify: create helper fanotify_mark_user_flags()Amir Goldstein2-4/+12
2022-04-25fsnotify: allow adding an inode mark without pinning inodeAmir Goldstein1-20/+56
2022-04-25dnotify: use fsnotify group lock helpersAmir Goldstein1-6/+7
2022-04-25inotify: use fsnotify group lock helpersAmir Goldstein1-2/+2
2022-04-25fsnotify: create helpers for group mark_mutex lockAmir Goldstein3-15/+24
2022-04-25fsnotify: make allow_dups a property of the groupAmir Goldstein1-6/+6
2022-04-25fsnotify: pass flags argument to fsnotify_alloc_group()Amir Goldstein4-15/+14
2022-04-25fsnotify: fix wrong lockdep annotationsAmir Goldstein1-3/+3
2022-04-25inotify: move control flags from mask to mark flagsAmir Goldstein4-19/+36
2022-04-25inotify: show inotify mask flags in proc fdinfoAmir Goldstein3-10/+15
2022-03-14fsnotify: remove redundant parameter judgmentBang Li1-4/+2
2022-02-24fsnotify: optimize FS_MODIFY events with no ignored masksAmir Goldstein2-10/+30
2022-02-24fsnotify: fix merge with parent's ignored maskAmir Goldstein2-10/+11
2022-02-01fanotify: Fix stale file descriptor in copy_event_to_user()Dan Carpenter1-3/+3
2022-01-28Merge tag 'fsnotify_for_v5.17-rc2' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-3/+0
2022-01-22inotify: simplify subdirectory registration with register_sysctl()Xiaoming Ni2-2/+19
2022-01-22dnotify: move dnotify sysctl to dnotify.cXiaoming Ni1-1/+20
2022-01-20fanotify: remove variable set but not usedYang Li1-3/+0
2021-12-15fanotify: wire up FAN_RENAME eventAmir Goldstein2-1/+9
2021-12-15fanotify: report old and/or new parent+name in FAN_RENAME eventAmir Goldstein3-5/+72
2021-12-15fanotify: record either old name new name or both for FAN_RENAMEAmir Goldstein1-15/+44
2021-12-15fanotify: record old and new parent and name in FAN_RENAME eventAmir Goldstein1-4/+38
2021-12-15fanotify: support secondary dir fh and name in fanotify_infoAmir Goldstein3-14/+88
2021-12-15fanotify: use helpers to parcel fanotify_info bufferAmir Goldstein2-16/+39
2021-12-15fanotify: use macros to get the offset to fanotify_info bufferAmir Goldstein2-12/+31
2021-12-15fsnotify: generate FS_RENAME event with rich informationAmir Goldstein2-9/+30
2021-12-15fanotify: introduce group flag FAN_REPORT_TARGET_FIDAmir Goldstein2-13/+46
2021-12-15fsnotify: separate mark iterator type from object type enumAmir Goldstein3-14/+14
2021-12-15fsnotify: clarify object type argumentAmir Goldstein3-17/+20
2021-10-27fanotify: Allow users to request FAN_FS_ERROR eventsGabriel Krisman Bertazi2-1/+5
2021-10-27fanotify: Emit generic error info for error eventGabriel Krisman Bertazi3-0/+38
2021-10-27fanotify: Report fid info for file related file system errorsGabriel Krisman Bertazi3-3/+25
2021-10-27fanotify: WARN_ON against too large file handlesGabriel Krisman Bertazi1-1/+11
2021-10-27fanotify: Add helpers to decide whether to report FID/DFIDGabriel Krisman Bertazi2-6/+17
2021-10-27fanotify: Wrap object_fh inline space in a creator macroGabriel Krisman Bertazi1-3/+9
2021-10-27fanotify: Support merging of error eventsGabriel Krisman Bertazi2-3/+27
2021-10-27fanotify: Support enqueueing of error eventsGabriel Krisman Bertazi2-0/+41
2021-10-27fanotify: Pre-allocate pool of error eventsGabriel Krisman Bertazi3-1/+39
2021-10-27fanotify: Reserve UAPI bits for FAN_FS_ERRORGabriel Krisman Bertazi1-0/+1
2021-10-27fanotify: Require fid_mode for any non-fd eventGabriel Krisman Bertazi1-6/+6
2021-10-27fanotify: Encode empty file handle when no inode is providedGabriel Krisman Bertazi1-1/+8
2021-10-27fanotify: Allow file handle encoding for unhashed eventsGabriel Krisman Bertazi1-2/+6
2021-10-27fanotify: Support null inode event in fanotify_dfid_inodeGabriel Krisman Bertazi1-1/+1
2021-10-27fsnotify: Pass group argument to free_eventGabriel Krisman Bertazi4-4/+6
2021-10-27fsnotify: Protect fsnotify_handle_inode_event from no-inode eventsGabriel Krisman Bertazi1-0/+3
2021-10-27fsnotify: Retrieve super block from the data fieldGabriel Krisman Bertazi1-4/+3
2021-10-27fsnotify: Add wrapper around fsnotify_add_eventGabriel Krisman Bertazi3-9/+9
2021-10-27fsnotify: Add helper to detect overflow_eventGabriel Krisman Bertazi1-1/+2
2021-10-27inotify: Don't force FS_IN_IGNOREDGabriel Krisman Bertazi1-3/+3
2021-10-27fanotify: Split fsid check from other fid mode checksGabriel Krisman Bertazi1-9/+18
2021-10-27fanotify: Fold event size calculation to its own functionGabriel Krisman Bertazi1-15/+20
2021-10-27fsnotify: Don't insert unmergeable events in hashtableGabriel Krisman Bertazi1-2/+4
2021-09-10fsnotify: fix sb_connectors leakAmir Goldstein1-0/+1
2021-08-30Merge tag 'fsnotify_for_v5.15-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds4-89/+235
2021-08-11fsnotify: count all objects with attached connectorsAmir Goldstein3-6/+39
2021-08-11fsnotify: count s_fsnotify_inode_refs for attached connectorsAmir Goldstein1-11/+18
2021-08-11fsnotify: replace igrab() with ihold() on attach connectorAmir Goldstein1-2/+5
2021-08-10fanotify: add pidfd support to the fanotify APIMatthew Bobrowski1-4/+81
2021-08-10fanotify: introduce a generic info record copying helperMatthew Bobrowski1-67/+88
2021-08-10fanotify: minor cosmetic adjustments to fid labelsMatthew Bobrowski1-14/+19
2021-08-09ucounts: add missing data type changesSven Schnelle2-12/+22
2021-06-14fanotify: fix copy_event_to_user() fid error clean upMatthew Bobrowski1-2/+2
2021-05-25fanotify: fix permission model of unprivileged groupAmir Goldstein2-7/+25
2021-03-25fanotify_user: use upper_32_bits() to verify maskChristian Brauner1-1/+1
2021-03-16fanotify: support limited functionality for unprivileged usersAmir Goldstein2-3/+29
2021-03-16fanotify: configurable limits via sysfsAmir Goldstein4-30/+114
2021-03-16fanotify: limit number of event merge attemptsAmir Goldstein1-0/+6
2021-03-16fsnotify: use hash table for faster events mergeAmir Goldstein5-17/+116
2021-03-16fanotify: mix event info and pid into merge key hashAmir Goldstein2-26/+66
2021-03-16fanotify: reduce event objectid to 29-bit hashAmir Goldstein4-18/+27
2021-03-16fsnotify: allow fsnotify_{peek,remove}_first_event with empty queueAmir Goldstein3-36/+37
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-2/+2
2021-02-22Merge tag 'fsnotify_for_v5.12-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds3-8/+23
2021-01-24fs: add file and path permissions helpersChristian Brauner2-2/+2
2021-01-05inotify, memcg: account inotify instances to kmemcgShakeel Butt3-8/+23
2020-12-28fanotify: Fix sys_fanotify_mark() on native x86-32Brian Gerst1-10/+7
2020-12-17Merge tag 'fsnotify_for_v5.11-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds6-96/+111
2020-12-15Merge branch 'exec-for-v5.11' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2020-12-11fsnotify: fix events reported to watching parent and childAmir Goldstein2-37/+54
2020-12-10file: Rename fcheck lookup_fd_rcuEric W. Biederman1-1/+1
2020-12-03inotify: convert to handle_inode_event() interfaceAmir Goldstein3-54/+14
2020-12-03fsnotify: generalize handle_inode_event()Amir Goldstein2-8/+25
2020-11-09inotify: Increase default inotify.max_user_watches limit to 1048576Waiman Long1-1/+22
2020-11-09fanotify: fix logic of reporting name info with watched parentAmir Goldstein1-5/+7
2020-10-18mm, memcg: rework remote charging API to support nestingRoman Gushchin2-4/+6
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-07-28fanotify: compare fsid when merging name eventJan Kara1-0/+3
2020-07-27fsnotify: create method handle_inode_event() in fsnotify_operationsAmir Goldstein2-32/+58
2020-07-27fanotify: report parent fid + child fidAmir Goldstein2-16/+15
2020-07-27fanotify: report parent fid + name + child fidAmir Goldstein3-6/+32
2020-07-27fanotify: add support for FAN_REPORT_NAMEAmir Goldstein2-10/+53
2020-07-27fanotify: report events with parent dir fid to sb/mount/non-dir marksAmir Goldstein1-0/+7
2020-07-27fanotify: add basic support for FAN_REPORT_DIR_FIDAmir Goldstein2-12/+93
2020-07-27fsnotify: send event with parent/name info to sb/mount/non-dir marksAmir Goldstein1-13/+61
2020-07-27inotify: do not set FS_EVENT_ON_CHILD in non-dir mark maskAmir Goldstein1-6/+8
2020-07-27fsnotify: pass dir and inode arguments to fsnotify()Amir Goldstein1-16/+38
2020-07-27fsnotify: create helper fsnotify_inode()Amir Goldstein1-1/+1
2020-07-27fsnotify: send event to parent and child with single callbackAmir Goldstein2-29/+39
2020-07-27inotify: report both events on parent and child with single callbackAmir Goldstein1-9/+35
2020-07-27dnotify: report both events on parent and child with single callbackAmir Goldstein1-13/+29
2020-07-27fanotify: no external fh buffer in fanotify_name_eventAmir Goldstein2-28/+59
2020-07-27fanotify: use struct fanotify_info to parcel the variable size bufferAmir Goldstein3-43/+139
2020-07-27fanotify: use FAN_EVENT_ON_CHILD as implicit flag on sb/mount/non-dir marksAmir Goldstein1-3/+10
2020-07-27fanotify: prepare for implicit event flags in mark maskAmir Goldstein1-16/+24
2020-07-27fanotify: mask out special event flags from ignored maskAmir Goldstein1-0/+5
2020-07-27fanotify: generalize test for FAN_REPORT_FIDAmir Goldstein2-10/+12
2020-07-27fanotify: distinguish between fid encode error and null fidAmir Goldstein1-10/+4
2020-07-27fanotify: generalize merge logic of events on dirAmir Goldstein1-11/+11
2020-07-27fanotify: generalize the handling of extra event flagsAmir Goldstein1-5/+10
2020-07-27fanotify: remove event FAN_DIR_MODIFYAmir Goldstein2-8/+3
2020-07-27fsnotify: pass dir argument to handle_event() callbackAmir Goldstein6-39/+35
2020-07-15fanotify: break up fanotify_alloc_event()Amir Goldstein1-65/+89
2020-07-15fanotify: create overflow event typeAmir Goldstein3-27/+36
2020-07-15inotify: do not use objectid when comparing eventsAmir Goldstein1-2/+2
2020-07-15fsnotify: return non const from fsnotify_data_inode()Amir Goldstein1-1/+1
2020-07-15fsnotify: fold fsnotify() call into fsnotify_parent()Amir Goldstein1-9/+18
2020-07-15fsnotify: Rearrange fast path to minimise overhead when there is no watcherMel Gorman1-12/+15
2020-07-15fanotify: Avoid softlockups when reading many eventsJan Kara1-0/+5
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada2-3/+3
2020-06-04Merge tag 'fsnotify_for_v5.8-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds7-12/+19
2020-06-01Merge tag 'docs-5.8' of git://git.lwn.net/linuxLinus Torvalds1-1/+1
2020-05-27fanotify: turn off support for FAN_DIR_MODIFYAmir Goldstein1-1/+1
2020-05-25fanotify: fix ignore mask logic for events on child and on dirAmir Goldstein1-1/+4
2020-05-13fanotify: don't write with size under sizeof(response)Fabian Frederick1-2/+4
2020-05-13fsnotify: Remove proc_fs.h includeFabian Frederick1-1/+0
2020-05-13fanotify: remove reference to fill_event_metadata()Fabian Frederick1-1/+1
2020-05-13fsnotify: add mutex destroyFabian Frederick1-0/+1
2020-05-13fanotify: prefix should_merge()Fabian Frederick1-2/+2
2020-05-08fanotify: Replace zero-length array with flexible-arrayGustavo A. R. Silva1-1/+1
2020-04-27inotify: Fix error return code assignment flow.youngjun1-3/+1
2020-04-20docs: filesystems: fix renamed referencesMauro Carvalho Chehab1-1/+1
2020-04-15fsnotify: Add missing annotation for fsnotify_finish_user_wait() and for fsno...Jules Irenge1-1/+5
2020-03-30fanotify: Fix the checks in fanotify_fsid_equalNathan Chancellor1-1/+1
2020-03-25fanotify: report name info for FAN_DIR_MODIFY eventAmir Goldstein2-28/+91
2020-03-25fanotify: record name info for FAN_DIR_MODIFY eventAmir Goldstein3-12/+108
2020-03-25fanotify: Drop fanotify_event_has_fid()Jan Kara3-8/+3
2020-03-25fanotify: prepare to report both parent and child fid'sAmir Goldstein1-8/+15
2020-03-25fanotify: send FAN_DIR_MODIFY event flavor with dir inode and nameAmir Goldstein2-4/+5
2020-03-25fanotify: divorce fanotify_path_event and fanotify_fid_eventJan Kara3-94/+180
2020-03-25fanotify: Store fanotify handles differentlyJan Kara3-106/+145
2020-03-25fanotify: Simplify create_fd()Jan Kara1-15/+11
2020-03-24fanotify: fix merging marks masks with FAN_ONDIRAmir Goldstein1-4/+7
2020-03-24fanotify: merge duplicate events on parent and childAmir Goldstein1-1/+6
2020-03-24fsnotify: replace inode pointer with an object idAmir Goldstein3-5/+5
2020-03-23fsnotify: simplify arguments passing to fsnotify_parent()Amir Goldstein1-11/+4
2020-03-23fsnotify: use helpers to access data by data_typeAmir Goldstein3-17/+14
2019-12-18fs: call fsnotify_sb_delete after evict_inodesEric Sandeen1-0/+3
2019-12-18fs: avoid softlockups in s_inodes iteratorsEric Sandeen1-0/+1
2019-12-01Merge tag 'compat-ioctl-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2019-10-23compat_ioctl: move more drivers to compat_ptr_ioctlArnd Bergmann1-1/+1
2019-10-17fsnotify/fdinfo: exportfs_encode_inode_fh() takes pointer as 4th argumentBen Dooks (Codethink)1-1/+1
2019-10-17fsnotify: move declaration of fsnotify_mark_connector_cachep to fsnotify.hBen Dooks2-2/+2