Thinking out loud (re: file(1) plugins

Ian Darwin ian at darwinsys.com
Thu Aug 4 17:08:44 EEST 2005


Christos Zoulas wrote:

>| Using a hardcoded directory for the .so files is much more straight
>| forward when it comes to security.
>
>I agree with kim here. 
>
Me three. /usr/{local/}libexec/file, probably.

>The file plugin idea is nice though. 
>
Thanks.

>BTW, the
>next thing I want to experiment with, is sorting the file magic entries.
>
>What I am considering is sorting them by magic "length" as the primary
>key and offset as the secondary.
>  
>
Sounds good.



More information about the File mailing list