aboutsummaryrefslogtreecommitdiffstats
path: root/fs/notify
AgeCommit message (Expand)AuthorFilesLines
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
2019-09-27Merge tag 'nfsd-5.4' of git://linux-nfs.org/~bfields/linuxLinus Torvalds3-2/+8
2019-09-23Merge tag 'selinux-pr-20190917' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds3-7/+41
2019-08-19notify: export symbols for use by the knfsd file cacheTrond Myklebust3-2/+8
2019-08-12fanotify, inotify, dnotify, security: add security hook for fs notificationsAaron Goidel3-7/+41
2019-07-18proc/sysctl: add shared variables for range checkMatteo Croce1-5/+3
2019-07-12memcg, fsnotify: no oom-kill for remote memcg chargingShakeel Butt2-3/+10
2019-07-10Merge tag 'fsnotify_for_v5.3-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds2-41/+22
2019-06-20fsnotify: get rid of fsnotify_nameremove()Amir Goldstein1-41/+0
2019-06-19fanotify: update connector fsid cache on add markAmir Goldstein2-3/+15
2019-05-28fanotify: Disallow permission events for proc filesystemJan Kara1-0/+22
2019-05-24treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 118Thomas Gleixner3-30/+3
2019-05-21treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 18Thomas Gleixner4-56/+4
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner7-0/+7
2019-05-13Merge tag 'fsnotify_for_v5.2-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/...Linus Torvalds2-0/+46
2019-05-09fsnotify: fix unlink performance regressionAmir Goldstein1-0/+41
2019-05-07Merge branch 'work.dcache' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds5-10/+10
2019-05-07Merge tag 'pidfd-v5.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/b...Linus Torvalds2-2/+0
2019-05-01fsnotify: Clarify connector assignment in fsnotify_add_mark_list()Jan Kara1-0/+5
2019-04-28fsnotify: Fix NULL ptr deref in fanotify_get_fsid()Jan Kara2-8/+18
2019-04-26inotify_handle_event(): don't bother with strlen()Al Viro1-1/+1
2019-04-26fsnotify: switch send_to_group() and ->handle_event to const struct qstr *Al Viro5-8/+8
2019-04-26fsnotify(): switch to passing const struct qstr * for file_nameAl Viro1-4/+4
2019-04-26ovl_lookup_real_one(): don't bother with strlen()Al Viro1-2/+2
2019-04-19Make anon_inodes unconditionalDavid Howells2-2/+0
2019-03-19fanotify: Allow copying of file handle to userspaceJan Kara1-1/+11
2019-03-11inotify: Fix fsnotify_mark refcount leak in inotify_update_existing_watch()ZhangXiaoxu1-2/+5
2019-02-21fanotify: Make waits for fanotify events only killableJan Kara1-2/+2
2019-02-18fanotify: Use interruptible wait when waiting for permission eventsJan Kara3-5/+42
2019-02-18fanotify: Track permission event stateJan Kara3-11/+40
2019-02-18fanotify: Simplify cleaning of access_listJan Kara1-6/+4
2019-02-18fsnotify: Create function to remove event from notification listJan Kara1-7/+13
2019-02-18fanotify: Move locking inside get_one_event()Jan Kara1-19/+13
2019-02-18fanotify: Fold dequeue_event() into process_access_response()Jan Kara1-28/+13
2019-02-14fanotify: Select EXPORTFSJan Kara1-0/+1
2019-02-07fanotify: report FAN_ONDIR to listener with FAN_REPORT_FIDAmir Goldstein1-3/+31
2019-02-07fanotify: add support for create/attrib/move/delete eventsAmir Goldstein2-1/+20
2019-02-07fanotify: support events with data type FSNOTIFY_EVENT_INODEAmir Goldstein3-22/+46
2019-02-07fanotify: check FS_ISDIR flag instead of d_is_dir()Amir Goldstein1-1/+1
2019-02-07fsnotify: report FS_ISDIR flag with MOVE_SELF and DELETE_SELF eventsAmir Goldstein1-0/+9
2019-02-07fanotify: use vfs_get_fsid() helper instead of vfs_statfs()Amir Goldstein1-15/+10
2019-02-07fanotify: cache fsid in fsnotify_mark_connectorAmir Goldstein4-53/+115
2019-02-07fanotify: enable FAN_REPORT_FID init flagAmir Goldstein1-1/+60
2019-02-07fanotify: copy event fid info to userAmir Goldstein2-5/+82
2019-02-07fanotify: encode file identifier for FAN_REPORT_FIDAmir Goldstein3-13/+155
2019-02-07fanotify: open code fill_event_metadata()Amir Goldstein1-44/+27
2019-02-06fanotify: rename struct fanotify_{,perm_}event_infoAmir Goldstein3-26/+26
2019-02-06fsnotify: move mask out of struct fsnotify_eventAmir Goldstein7-36/+23
2019-02-06fsnotify: send all event types to super block marksAmir Goldstein1-8/+7
2019-01-02inotify: Fix fd refcount leak in inotify_add_watch().Tetsuo Handa1-2/+4
2018-12-11fanotify: Use inode_is_open_for_writeNikolay Borisov1-1/+1
2018-12-05fanotify: Make sure to check event_len when copyingKees Cook1-2/+8
2018-11-15fsnotify/fdinfo: include fdinfo.h for inotify_show_fdinfo()Eric Biggers1-0/+1
2018-11-13fanotify: introduce new event mask FAN_OPEN_EXEC_PERMMatthew Bobrowski2-2/+3
2018-11-13fanotify: introduce new event mask FAN_OPEN_EXECMatthew Bobrowski2-2/+3
2018-11-13fanotify: return only user requested event types in event maskMatthew Bobrowski1-12/+16
2018-11-08fanotify: fix handling of events on child sub-directoryAmir Goldstein2-7/+10
2018-10-25fsnotify: Fix busy inodes during unmountJan Kara2-8/+34
2018-10-08fanotify: support reporting thread id instead of process idAmir Goldstein3-6/+9
2018-10-04fanotify: add BUILD_BUG_ON() to count the bits of fanotify constantsAmir Goldstein2-1/+6
2018-10-04fsnotify: convert runtime BUG_ON() to BUILD_BUG_ON()Amir Goldstein2-2/+2
2018-10-04fanotify: deprecate uapi FAN_ALL_* constantsAmir Goldstein3-15/+15
2018-10-04fanotify: simplify handling of FAN_ONDIRAmir Goldstein1-27/+5
2018-10-04fsnotify: generalize handling of extra event flagsAmir Goldstein1-4/+3
2018-09-27fanotify: store fanotify_init() flags in group's fanotify_dataAmir Goldstein2-27/+5
2018-09-03fanotify: add API to attach/detach super block markAmir Goldstein1-5/+37
2018-09-03fsnotify: send path type events to group with super block marksAmir Goldstein1-10/+14
2018-09-03fsnotify: add super block object typeAmir Goldstein4-1/+27
2018-09-03fsnotify: fix ignore mask logic in fsnotify()Amir Goldstein1-10/+3
2018-08-29Merge tag 'for_v4.19-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ja...Linus Torvalds1-3/+3
2018-08-21Merge branch 'siginfo-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds2-1/+3
2018-08-20fsnotify: fix false positive warning on inode deleteJan Kara1-3/+3
2018-08-17Merge branch 'akpm' (patches from Andrew)Linus Torvalds6-9/+30
2018-08-17fs: fsnotify: account fsnotify metadata to kmemcgShakeel Butt6-9/+30
2018-07-21signal: Use PIDTYPE_TGID to clearly store where file signals will be sentEric W. Biederman1-1/+2
2018-07-21pids: Compute task_tgid using signal->leader_pidEric W. Biederman1-0/+1
2018-06-27inotify: Add flag IN_MASK_CREATE for inotify_add_watch()Henry Wilson1-1/+8
2018-06-27fanotify: factor out helpers to add/remove markAmir Goldstein1-57/+29
2018-06-27fsnotify: add helper to get mask from connectorAmir Goldstein2-12/+29
2018-06-27fsnotify: let connector point to an abstract objectAmir Goldstein3-24/+26
2018-06-27fsnotify: pass connp and object type to fsnotify_add_mark()Amir Goldstein3-33/+38
2018-06-27fsnotify: use typedef fsnotify_connp_t for brevityAmir Goldstein2-13/+11
2018-05-18fsnotify: add fsnotify_add_inode_mark() wrappersAmir Goldstein2-2/+2
2018-05-18fanotify: generalize fanotify_should_send_event()Amir Goldstein1-18/+18
2018-05-18fsnotify: generalize send_to_group()Amir Goldstein1-25/+23
2018-05-18fsnotify: generalize iteration of marks by object typeAmir Goldstein3-36/+47
2018-05-18fsnotify: introduce marks iteration helpersAmir Goldstein1-25/+49
2018-05-18fsnotify: remove redundant arguments to handle_event()Amir Goldstein7-42/+38
2018-05-18fsnotify: use type id to identify connector object typeAmir Goldstein3-19/+18
2018-04-13fsnotify: fix ignore mask logic in send_to_group()Amir Goldstein1-14/+11
2018-04-09fanotify: fix logic of events on childAmir Goldstein1-19/+15
2018-04-05Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jac...Linus Torvalds6-10/+48
2018-04-02fanotify: add do_fanotify_mark() helper; remove in-kernel call to syscallDominik Brodowski1-4/+10
2018-04-02inotify: add do_inotify_init() helper; remove in-kernel call to syscallDominik Brodowski1-2/+7
2018-02-27fsnotify: Let userspace know about lost events due to ENOMEMJan Kara3-3/+17
2018-02-27fanotify: Avoid lost events due to ENOMEM for unlimited queuesJan Kara3-7/+17
2018-02-14inotify: Extend ioctl to allow to request id of new watch descriptorKirill Tkhai1-0/+14
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds2-2/+2
2018-01-30Merge branch 'misc.poll' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds2-4/+4
2017-11-27fs: annotate ->poll() instancesAl Viro2-4/+4
2017-11-27Rename superblock flags (MS_xyz -> SB_xyz)Linus Torvalds1-1/+1
2017-11-15Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2017-11-14Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jac...Linus Torvalds3-2/+25
2017-11-14Merge branch 'fsnotify' of git://git.kernel.org/pub/scm/linux/kernel/git/jack...Linus Torvalds8-181/+158
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman8-0/+8
2017-10-31fsnotify: convert fsnotify_mark.refcnt from atomic_t to refcount_tElena Reshetova2-9/+9
2017-10-31fanotify: clean up CONFIG_FANOTIFY_ACCESS_PERMISSIONS ifdefsMiklos Szeredi3-52/+29
2017-10-31fsnotify: clean up fsnotify()Miklos Szeredi1-60/+45
2017-10-31fanotify: fix fsnotify_prepare_user_wait() failureMiklos Szeredi1-13/+20
2017-10-31fsnotify: fix pinning group in fsnotify_prepare_user_wait()Miklos Szeredi1-14/+11
2017-10-31fsnotify: pin both inode and vfsmount markMiklos Szeredi1-3/+7
2017-10-31fsnotify: clean up fsnotify_prepare/finish_user_wait()Miklos Szeredi1-48/+48
2017-10-31fsnotify: convert fsnotify_group.refcnt from atomic_t to refcount_tElena Reshetova1-3/+3
2017-10-31fsnotify: Protect bail out path of fsnotify_add_mark_locked() properlyJan Kara1-0/+2
2017-10-31dnotify: Handle errors from fsnotify_add_mark_locked() in fcntl_dirnotify()Jan Kara1-1/+6
2017-10-12treewide: Fix typos in KconfigMasanari Iida1-1/+1
2017-10-10audit: Record fanotify access control decisionsSteve Grubb3-2/+25
2017-08-30fsnotify: make dnotify_fsnotify_ops constBhumika Goyal1-1/+1
2017-07-07dentry name snapshotsAl Viro1-2/+6
2017-04-25fanotify: don't expose EOPENSTALE to userspaceAmir Goldstein1-8/+18
2017-04-24fsnotify: remove a stray unlockDan Carpenter1-1/+0
2017-04-10fsnotify: Move ->free_mark callback to fsnotify_opsJan Kara8-26/+32
2017-04-10fsnotify: Add group pointer in fsnotify_init_mark()Jan Kara4-15/+16
2017-04-10fsnotify: Drop inode_mark.cJan Kara3-90/+59
2017-04-10fsnotify: Remove fsnotify_find_{inode|vfsmount}_mark()Jan Kara7-65/+11
2017-04-10fsnotify: Remove fsnotify_detach_group_marks()Jan Kara3-38/+18
2017-04-10fsnotify: Rename fsnotify_clear_marks_by_group_flags()Jan Kara1-7/+5
2017-04-10fsnotify: Inline fsnotify_clear_{inode|vfsmount}_mark_group()Jan Kara2-13/+0
2017-04-10fsnotify: Remove fsnotify_recalc_{inode|vfsmount}_mask()Jan Kara4-15/+5
2017-04-10fsnotify: Remove fsnotify_set_mark_{,ignored_}mask_locked()Jan Kara4-29/+9
2017-04-10fanotify: Release SRCU lock when waiting for userspace responseJan Kara1-2/+15
2017-04-10fsnotify: Pass fsnotify_iter_info into handle_event handlerJan Kara6-11/+22
2017-04-10fsnotify: Provide framework for dropping SRCU lock in ->handle_eventJan Kara3-0/+89