Re: libselinux's __attribute__((constructor)) versus nVidia libGL.so

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 27, 2013 at 01:47:54PM -0400, Colin Walters wrote:
> This bug:
> 
> https://bugzilla.gnome.org/show_bug.cgi?id=706836

FWIW, you can define "priority" values on the constructor attributes, to
sort out ordering between libraries, but this sucks as a general purpose
solution as it requires co-ordination of priorities between different a
projects. eg you might fix the selinux vs nvidia problem now, but it can
recur with any other library using constructors in the future. IMHO it
would be better to use pthread_once to do any one time initialization
of library code

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.




[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux