google / google/gvisor

Add fanotify support

Open
#2,555 2 comments 2 reactions 0 assignees View on GitHub
area: filesystem status: help wanted type: enhancement
Dominant language
Go
Stars
19.3k
Forks
2k
Avg merge
3d 5h
Merged PRs (30d)
264

Description

**Description**
For security consideration in GR3, sometimes we may want to monitor and intercept filesystem events. fanotify-related system call is for this in Linux. So I think we should implement the fanotify_init and fanotify_mark system call.

ref:
-->http://man7.org/linux/man-pages/man7/fanotify.7.html

**Is this feature related to a specific bug?**

No

**Do you have a specific solution in mind?**
gVisor now has some inotify support. Look what linux does, I think we can abstract a fsnotify interface and implements inotify and fanotify under this interface.

Thanks,
Li Qiang

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.