[PATCH] lsof: correct check for symbolic link

Mike Frysinger vapier at gentoo.org
Thu Jun 20 17:25:41 UTC 2013


On Thursday 20 June 2013 05:13:44 Laurent Bercot wrote:
> > its existence does not guarantee it will be correctly populated.  in his
> > case, he's seeing DT_UNKNOWN in the field which means the lstat fallback
> > is needed.
> 
>  Hence the need for a build-time test to *run* a program that creates a
> few file types in a temp directory and then checks whether the
> corresponding d_type matches. This the point I was making to Rick a few
> days ago.

i was thinking more about blacklisting known bad C libraries/arch combos (or 
whitelisting known good versions).  but that's not really scalable.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20130620/b8100f89/attachment.asc>


More information about the busybox mailing list