netlink_proc_event 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/netlink_proc_event.rb +1 -1
- data/lib/netlink_proc_event/libnl.rb +10 -9
- data/lib/netlink_proc_event/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d96868311c7e976652dfa31f64c6c524eab136bc
|
4
|
+
data.tar.gz: 14c18a8f5ec5c18bacc422f092ad0a104104f1a1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bfbd3841663bee532c45472c6912821697f6564694d76b70b87a56f84b2dc9de945a01d3dd56357e02ff64db855b8be8a6490aab33ca2af7e0cf975d0e6299b
|
7
|
+
data.tar.gz: 01e703661bab5e1f4dc68578ee645840239f7b798be9c95b794a1799695518314ab75c747fb99351f7e981ac9922795e7082f117a2964b10154f7b5c33262efc
|
data/lib/netlink_proc_event.rb
CHANGED
@@ -38,20 +38,20 @@ module NetlinkProcEvent
|
|
38
38
|
:PROC_EVENT_EXIT , -0x80000000)
|
39
39
|
|
40
40
|
class ForkProcEvent < FFI::Struct
|
41
|
-
layout :parent_pid, :
|
42
|
-
:parent_tgid, :
|
43
|
-
:child_pid, :
|
44
|
-
:child_tgid, :
|
41
|
+
layout :parent_pid, :pid_t,
|
42
|
+
:parent_tgid, :pid_t,
|
43
|
+
:child_pid, :pid_t,
|
44
|
+
:child_tgid, :pid_t
|
45
45
|
end
|
46
46
|
|
47
47
|
class ExecProcEvent < FFI::Struct
|
48
|
-
layout :process_pid, :
|
49
|
-
:process_tgid, :
|
48
|
+
layout :process_pid, :pid_t,
|
49
|
+
:process_tgid, :pid_t
|
50
50
|
end
|
51
51
|
|
52
52
|
class ExitProcEvent < FFI::Struct
|
53
|
-
layout :process_pid, :
|
54
|
-
:process_tgid, :
|
53
|
+
layout :process_pid, :pid_t,
|
54
|
+
:process_tgid, :pid_t,
|
55
55
|
:exit_signal, :uint32
|
56
56
|
end
|
57
57
|
|
@@ -70,7 +70,8 @@ module NetlinkProcEvent
|
|
70
70
|
:flags, :uint16,
|
71
71
|
:what, Event,
|
72
72
|
:cpu, :uint32,
|
73
|
-
:timestamp_ns, :
|
73
|
+
:timestamp_ns, :uint32,
|
74
|
+
:timestamp_ns, :uint32,
|
74
75
|
:event_data, EventData
|
75
76
|
end
|
76
77
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netlink_proc_event
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Christopher Aue
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.4.
|
94
|
+
rubygems_version: 2.4.8
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Netlink bindings to subscribe to process events (exec, fork, etc.).
|