From: Christos Zoulas Date: Sat, 24 Feb 2018 19:50:04 +0000 (+0000) Subject: add a conditional in description X-Git-Tag: FILE5_33~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6876ebadcdf27224b3ffa9dfa4343127aa97c9b2;p=file add a conditional in description --- diff --git a/magic/Magdir/elf b/magic/Magdir/elf index 83b886dd..7fd5de1c 100644 --- a/magic/Magdir/elf +++ b/magic/Magdir/elf @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: elf,v 1.71 2018/02/21 21:26:48 christos Exp $ +# $File: elf,v 1.72 2018/02/24 19:50:04 christos Exp $ # elf: file(1) magic for ELF executables # # We have to check the byte order flag to see what byte order all the @@ -48,7 +48,8 @@ !:mime application/x-object >16 leshort 2 executable, !:mime application/x-executable ->16 leshort 3 shared object, +>16 leshort 3 ${x?pie executable:shared object} + !:mime application/x-${x?pie-executable:sharedlib} >16 leshort 4 core file !:mime application/x-coredump