fanotify 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3 @@
1
+ CONFIG_FANOTIFY=y
2
+ CONFIG_FANOTIFY_ACCESS_PERMISSIONS=y
3
+ CONFIG_FHANDLE=y
data/tools/vm/run.sh ADDED
@@ -0,0 +1,14 @@
1
+ #!/bin/sh
2
+ set -eu
3
+
4
+ kver=${KVER:-6.12}
5
+ major=${kver%%.*}
6
+ minor=${kver#*.}
7
+ minor=${minor%%.*}
8
+ require_pre_access=0
9
+ if [ "$major" -gt 6 ] || { [ "$major" -eq 6 ] && [ "$minor" -ge 14 ]; }; then
10
+ require_pre_access=1
11
+ fi
12
+
13
+ exec vng -v -r "v$kver" --user root -- env FANOTIFY_EXPECT_KERNEL="v$kver" FANOTIFY_REQUIRE_PRIVILEGED=1 \
14
+ FANOTIFY_REQUIRE_PRE_ACCESS="$require_pre_access" bundle exec rake test:system
metadata ADDED
@@ -0,0 +1,70 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: fanotify
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Yudai Takada
8
+ bindir: exe
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies: []
12
+ description: Monitor Linux filesystem events and respond safely to fanotify permission
13
+ events.
14
+ email:
15
+ - t.yudai92@gmail.com
16
+ executables: []
17
+ extensions:
18
+ - ext/fanotify/extconf.rb
19
+ extra_rdoc_files: []
20
+ files:
21
+ - ".yardopts"
22
+ - LICENSE.txt
23
+ - README.md
24
+ - Rakefile
25
+ - benchmark/events.rb
26
+ - examples/audit_logger.rb
27
+ - examples/lazy_fetch.rb
28
+ - examples/malware_scan.rb
29
+ - ext/fanotify/compat.h
30
+ - ext/fanotify/constants.c
31
+ - ext/fanotify/extconf.rb
32
+ - ext/fanotify/fanotify.c
33
+ - lib/fanotify.rb
34
+ - lib/fanotify/event.rb
35
+ - lib/fanotify/file_handle.rb
36
+ - lib/fanotify/mark.rb
37
+ - lib/fanotify/notifier.rb
38
+ - lib/fanotify/version.rb
39
+ - sig/fanotify.rbs
40
+ - tools/constants.def
41
+ - tools/dump_constants.c
42
+ - tools/generate_constants.rb
43
+ - tools/vm/Makefile
44
+ - tools/vm/config-fragment
45
+ - tools/vm/run.sh
46
+ homepage: https://github.com/ydah/fanotify
47
+ licenses:
48
+ - MIT
49
+ metadata:
50
+ allowed_push_host: https://rubygems.org
51
+ source_code_uri: https://github.com/ydah/fanotify
52
+ rubygems_mfa_required: 'true'
53
+ rdoc_options: []
54
+ require_paths:
55
+ - lib
56
+ required_ruby_version: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: 3.2.0
61
+ required_rubygems_version: !ruby/object:Gem::Requirement
62
+ requirements:
63
+ - - ">="
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ requirements: []
67
+ rubygems_version: 4.0.19
68
+ specification_version: 4
69
+ summary: Ruby bindings for Linux fanotify
70
+ test_files: []