@@ -1537,13 +1537,13 @@ func (p *EBPFProbe) updateProbes(ruleEventTypes []eval.EventType, needRawSyscall
1537
1537
}
1538
1538
1539
1539
if needRawSyscalls {
1540
- activatedProbes = append (activatedProbes , probes .SyscallMonitorSelectors ... )
1540
+ activatedProbes = append (activatedProbes , probes .SyscallMonitorSelectors () ... )
1541
1541
} else {
1542
1542
// ActivityDumps
1543
1543
if p .config .RuntimeSecurity .ActivityDumpEnabled {
1544
1544
for _ , e := range p .profileManagers .GetActivityDumpTracedEventTypes () {
1545
1545
if e == model .SyscallsEventType {
1546
- activatedProbes = append (activatedProbes , probes .SyscallMonitorSelectors ... )
1546
+ activatedProbes = append (activatedProbes , probes .SyscallMonitorSelectors () ... )
1547
1547
break
1548
1548
}
1549
1549
}
@@ -1552,7 +1552,7 @@ func (p *EBPFProbe) updateProbes(ruleEventTypes []eval.EventType, needRawSyscall
1552
1552
if p .config .RuntimeSecurity .AnomalyDetectionEnabled {
1553
1553
for _ , e := range p .profileManagers .GetAnomalyDetectionEventTypes () {
1554
1554
if e == model .SyscallsEventType {
1555
- activatedProbes = append (activatedProbes , probes .SyscallMonitorSelectors ... )
1555
+ activatedProbes = append (activatedProbes , probes .SyscallMonitorSelectors () ... )
1556
1556
break
1557
1557
}
1558
1558
}
@@ -2178,7 +2178,7 @@ func (p *EBPFProbe) initManagerOptionsActivatedProbes(config *config.Config) {
2178
2178
for _ , e := range config .RuntimeSecurity .ActivityDumpTracedEventTypes {
2179
2179
if e == model .SyscallsEventType {
2180
2180
// Add syscall monitor probes
2181
- p .managerOptions .ActivatedProbes = append (p .managerOptions .ActivatedProbes , probes .SyscallMonitorSelectors ... )
2181
+ p .managerOptions .ActivatedProbes = append (p .managerOptions .ActivatedProbes , probes .SyscallMonitorSelectors () ... )
2182
2182
break
2183
2183
}
2184
2184
}
@@ -2187,7 +2187,7 @@ func (p *EBPFProbe) initManagerOptionsActivatedProbes(config *config.Config) {
2187
2187
for _ , e := range config .RuntimeSecurity .AnomalyDetectionEventTypes {
2188
2188
if e == model .SyscallsEventType {
2189
2189
// Add syscall monitor probes
2190
- p .managerOptions .ActivatedProbes = append (p .managerOptions .ActivatedProbes , probes .SyscallMonitorSelectors ... )
2190
+ p .managerOptions .ActivatedProbes = append (p .managerOptions .ActivatedProbes , probes .SyscallMonitorSelectors () ... )
2191
2191
break
2192
2192
}
2193
2193
}
0 commit comments