forked from pool/openscap
33 lines
1.5 KiB
Diff
33 lines
1.5 KiB
Diff
Index: openscap-1.3.1/src/OVAL/probes/unix/linux/rpmverifyfile_probe.c
|
|
===================================================================
|
|
--- openscap-1.3.1.orig/src/OVAL/probes/unix/linux/rpmverifyfile_probe.c
|
|
+++ openscap-1.3.1/src/OVAL/probes/unix/linux/rpmverifyfile_probe.c
|
|
@@ -418,18 +418,18 @@ typedef struct {
|
|
} rpmverifyfile_bhmap_t;
|
|
|
|
const rpmverifyfile_bhmap_t rpmverifyfile_bhmap[] = {
|
|
- { "nolinkto", (uint64_t)VERIFY_LINKTO },
|
|
- { "nomd5", (uint64_t)VERIFY_MD5 }, // deprecated since OVAL 5.11.1
|
|
+ { "nolinkto", (uint64_t)RPMVERIFY_LINKTO },
|
|
+ { "nomd5", (uint64_t)RPMVERIFY_MD5 }, // deprecated since OVAL 5.11.1
|
|
{ "nosize", (uint64_t)VERIFY_SIZE },
|
|
- { "nouser", (uint64_t)VERIFY_USER },
|
|
- { "nogroup", (uint64_t)VERIFY_GROUP },
|
|
- { "nomtime", (uint64_t)VERIFY_MTIME },
|
|
- { "nomode", (uint64_t)VERIFY_MODE },
|
|
- { "nordev", (uint64_t)VERIFY_RDEV },
|
|
+ { "nouser", (uint64_t)RPMVERIFY_USER },
|
|
+ { "nogroup", (uint64_t)RPMVERIFY_GROUP },
|
|
+ { "nomtime", (uint64_t)RPMVERIFY_MTIME },
|
|
+ { "nomode", (uint64_t)RPMVERIFY_MODE },
|
|
+ { "nordev", (uint64_t)RPMVERIFY_RDEV },
|
|
{ "noconfigfiles", RPMVERIFY_SKIP_CONFIG },
|
|
{ "noghostfiles", RPMVERIFY_SKIP_GHOST },
|
|
- { "nofiledigest", (uint64_t)VERIFY_FILEDIGEST },
|
|
- { "nocaps", (uint64_t)VERIFY_CAPS }
|
|
+ { "nofiledigest", (uint64_t)RPMVERIFY_FILEDIGEST },
|
|
+ { "nocaps", (uint64_t)RPMVERIFY_CAPS }
|
|
};
|
|
|
|
int rpmverifyfile_probe_main(probe_ctx *ctx, void *arg)
|