Skip to content

Commit acdbe77

Browse files
authored
Merge pull request #1976 from evgenyz/sysctl-offline
Add offline capabilities to the sysctl OVAL probe
2 parents 2d1983d + 7f2aef6 commit acdbe77

File tree

5 files changed

+214
-149
lines changed

5 files changed

+214
-149
lines changed

src/OVAL/probes/probe-table.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ static const probe_table_entry_t probe_table[] = {
335335
{OVAL_UNIX_SYMLINK, NULL, symlink_probe_main, NULL, symlink_probe_offline_mode_supported},
336336
#endif
337337
#ifdef OPENSCAP_PROBE_UNIX_SYSCTL
338-
{OVAL_UNIX_SYSCTL, NULL, sysctl_probe_main, NULL, NULL},
338+
{OVAL_UNIX_SYSCTL, NULL, sysctl_probe_main, NULL, sysctl_probe_offline_mode_supported},
339339
#endif
340340
#ifdef OPENSCAP_PROBE_UNIX_UNAME
341341
{OVAL_UNIX_UNAME, NULL, uname_probe_main, NULL, NULL},

0 commit comments

Comments
 (0)