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

implementation of events which require kernel patching #32

Merged
merged 13 commits into from Aug 29, 2015
Merged

implementation of events which require kernel patching #32

merged 13 commits into from Aug 29, 2015

Commits on Jul 9, 2015

  1. Copy the full SHA
    35920aa View commit details
    Browse the repository at this point in the history
  2. Move inotify to kqueue flag conversion code to watch.c from separate …

    …file
    
    It becomes too highly integrated with watch internals.
    wulf7 committed Jul 9, 2015
    Copy the full SHA
    4042936 View commit details
    Browse the repository at this point in the history
  3. Inherit watch flags from struct mode_t type

    It`s possible to use stat(2) S_* macroses on watch flags now.
    wulf7 committed Jul 9, 2015
    Copy the full SHA
    9df2eb8 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    eac0bba View commit details
    Browse the repository at this point in the history
  5. Implement IN_OPEN, IN_CLOSE and IN_ACCESS inotify events

    It is done via adding new kqueue events: NOTE_OPEN, NOTE_CLOSE and NOTE_READ
    FreeBSD kernel patch: patches/freebsd11-NOTE_OPEN-NOTE_CLOSE-NOTE_READ.patch
    wulf7 committed Jul 9, 2015
    Copy the full SHA
    1efaddc View commit details
    Browse the repository at this point in the history
  6. Mask events produced by open/closedir calls while directory diffing

    Do a dup/rewind instead of reopening directory on listing when it possible
    wulf7 committed Jul 9, 2015
    Copy the full SHA
    6390482 View commit details
    Browse the repository at this point in the history
  7. Extend NOTE_WRITE event so it set NOTE_EXTEND flag on subfile rename

    This allows to separate IN_MOVE inotify events from IN_CREATE and IN_DELETE ones
    when file was moved in or out of watched directory.
    wulf7 committed Jul 9, 2015
    Copy the full SHA
    3db9b7a View commit details
    Browse the repository at this point in the history
  8. Delete duplicated defines from sys/inotify.h

    While here, align some misaligned define values and comments
    wulf7 committed Jul 9, 2015
    Copy the full SHA
    d7ed6b9 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2015

  1. Implement inotify_init1 call. Not tested yet.

    While here, improve pipe closing code path
    wulf7 committed Jul 12, 2015
    Copy the full SHA
    0fc43d2 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    cc3cb99 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    8a87d28 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    722876c View commit details
    Browse the repository at this point in the history
  5. use lchown syscall instead of nonstandard touch option "-h"

    to change symlinks attributes
    wulf7 committed Jul 12, 2015
    Copy the full SHA
    ea50819 View commit details
    Browse the repository at this point in the history