diff options
Diffstat (limited to 'src/audit.c')
-rw-r--r-- | src/audit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audit.c b/src/audit.c index c09f994..6655cb3 100644 --- a/src/audit.c +++ b/src/audit.c @@ -110,7 +110,8 @@ static int audit_file(struct audit_ctx *actx, if (dbf->csum.type != APK_CHECKSUM_NONE && apk_checksum_compare(&fi.csum, &dbf->csum) != 0) rv = 'U'; - else if (apk_checksum_compare(&fi.xattr_csum, &dbf->acl->xattr_csum) != 0) + else if (!dbf->diri->pkg->ipkg->broken_xattr && + apk_checksum_compare(&fi.xattr_csum, &dbf->acl->xattr_csum) != 0) rv = 'x'; else if (S_ISLNK(fi.mode) && dbf->csum.type == APK_CHECKSUM_NONE) rv = 'U'; |