mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-26 21:13:11 +01:00
Revert last change to file/magic/Magdir/elf, it misidentifies most shared
libraries installed from ports as pie executables instead of shared libraries, and consequently breaks ports.
This commit is contained in:
parent
d3fff23be8
commit
a665699823
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333944
@ -48,9 +48,8 @@
|
||||
!:mime application/x-object
|
||||
>16 leshort 2 executable,
|
||||
!:mime application/x-executable
|
||||
>16 leshort 3 ${x?pie executable:shared object}
|
||||
|
||||
!:mime application/x-${x?pie-executable:sharedlib}
|
||||
>16 leshort 3 shared object,
|
||||
!:mime application/x-sharedlib
|
||||
>16 leshort 4 core file
|
||||
!:mime application/x-coredump
|
||||
# Core file detection is not reliable.
|
||||
|
Loading…
Reference in New Issue
Block a user