diff options
| author | Xin LI <delphij@FreeBSD.org> | 2020-06-17 01:11:26 +0000 |
|---|---|---|
| committer | Xin LI <delphij@FreeBSD.org> | 2020-06-17 01:11:26 +0000 |
| commit | 2d24dbcf45a851fa5c7960160b7b4a28ff373558 (patch) | |
| tree | 6ed1c5484166da73032c8f6ed3bb82a5dadf914a /magic/Magdir/elf | |
| parent | f210d1e9efd4183d390c24c9ea576896222d4540 (diff) | |
Notes
Diffstat (limited to 'magic/Magdir/elf')
| -rw-r--r-- | magic/Magdir/elf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/magic/Magdir/elf b/magic/Magdir/elf index b5a2e00b3726..f5e1af9a25bc 100644 --- a/magic/Magdir/elf +++ b/magic/Magdir/elf @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: elf,v 1.79 2019/12/16 04:24:01 christos Exp $ +# $File: elf,v 1.80 2020/02/12 22:17:33 christos Exp $ # elf: file(1) magic for ELF executables # # We have to check the byte order flag to see what byte order all the @@ -50,8 +50,9 @@ !:mime application/x-object >16 leshort 2 executable, !:mime application/x-executable ->16 leshort 3 shared object, -!:mime application/x-sharedlib +>16 leshort 3 ${x?pie executable:shared object}, + +!:mime application/x-${x?pie-executable:sharedlib} >16 leshort 4 core file, !:mime application/x-coredump # OS-specific |
