libsysfs copy [was: hald crashes on intel pro wireless scan and 2.6.9-rc due to unreadable files.]

David Zeuthen david at fubar.dk
Thu Oct 14 13:01:08 PDT 2004


On Thu, 2004-10-14 at 21:30 +0200, Martin Pitt wrote:
> > Btw, I really want to get rid of the last parts of the libsysfs copy in
> > hald so we are only opening the files we need to. That will also help
> > performance a bit.
> 
> I also noticed that copy of libsysfs. Do you consider removing the
> copy and relying on libsysfs-dev being installed on the system? 

Actually what I want to do is to remove the local copy and implement the
few remaining functions we use. It's not a criticism as such of
libsysfs, I think it's great, it's just a bit too generic for the
specific requirements of hald.

> It is
> always better to use only one official library on a system rather than
> having dozens of unknown copies in several applications.
>
> The reason are security updates. If libsysfs has a security bug,
> people need to comb all source packages and check whether it contains
> a copy, which is a nightmare.
> 

As a general point of view, I certainly agree.

Cheers,
David


_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list