Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fanotify Support #542

Draft
wants to merge 9 commits into
base: main
Choose a base branch
from
Draft

Fanotify Support #542

wants to merge 9 commits into from

Commits on Dec 18, 2022

  1. copy from opcoder0/fanotify

    opcoder0 committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    b2c29f5 View commit details
    Browse the repository at this point in the history
  2. API Refactor

    - merge fanotify Listener -> Watcher
    - Add NewFanotifyWatcher() API
    - Rename Start() -> start() and invoke it from NewFanotifyWatcher
    - Make methods of Listener to Watcher
    - Rename fanotify readEvents to readFanotifyEvents
    opcoder0 committed Dec 18, 2022
    Configuration menu
    Copy the full SHA
    1604b70 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2022

  1. API Refactor

    - Move Stop() functionality to Close()
    - Make FanotifyEvent is subtype of Event
    - Convert EventType to Op
    opcoder0 committed Dec 19, 2022
    Configuration menu
    Copy the full SHA
    8ef12c1 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2022

  1. Refactor API

    - Add AddMount, RemoveMount methods to watch and unwatch entire mount point
    - Add AddPermissions, Allow, Deny methods to setup Permission requests and responses
    opcoder0 committed Dec 20, 2022
    Configuration menu
    Copy the full SHA
    e994897 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2022

  1. Configuration menu
    Copy the full SHA
    7a250d0 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2022

  1. Configuration menu
    Copy the full SHA
    c4d9727 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2022

  1. Disable Inotify

    - Disable Inotify
    - Split fanotify
    opcoder0 committed Dec 25, 2022
    Configuration menu
    Copy the full SHA
    4b19dab View commit details
    Browse the repository at this point in the history
  2. Equalize API with Inotify (in progress...)

    - Add Add(), AddWith() methods
    - Add Remove() method
    - Disable backend_inotify_test.go
    - Tests are still breaking due to
      - missing fields in Watcher (Errors, watches etc.)
    opcoder0 committed Dec 25, 2022
    Configuration menu
    Copy the full SHA
    a113894 View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2023

  1. Fix race condition and tests

    - Add logic to close watcher once only.
    - Fix tests + add fanotify specific output
    opcoder0 committed Jan 5, 2023
    Configuration menu
    Copy the full SHA
    9595d66 View commit details
    Browse the repository at this point in the history