Skip to content

Commit b3bba3c

Browse files
authored
Do not require .so files to be executable (#2099)
Fixes: chainguard-dev/internal-dev#9534
1 parent 6b78277 commit b3bba3c

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/sca/sca.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -651,10 +651,6 @@ func generateSharedObjectNameDeps(ctx context.Context, hdl SCAHandle, generated
651651
return nil
652652
}
653653

654-
if mode.Perm()&0o555 != 0o555 {
655-
return nil
656-
}
657-
658654
basename := filepath.Base(path)
659655

660656
// most likely a shell script instead of an ELF, so treat any

0 commit comments

Comments
 (0)