diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-March/012535.html | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/2012-March/012535.html')
-rw-r--r-- | zarb-ml/mageia-dev/2012-March/012535.html | 116 |
1 files changed, 116 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-March/012535.html b/zarb-ml/mageia-dev/2012-March/012535.html new file mode 100644 index 000000000..857ec343f --- /dev/null +++ b/zarb-ml/mageia-dev/2012-March/012535.html @@ -0,0 +1,116 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] executable libraries + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20executable%20libraries&In-Reply-To=%3CCA%2B0WU1SOvyHgg4g4Pqmd2Gnb%3DXQD%2BMcw50Tw0XKJYxBov3FA2Q%40mail.gmail.com%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="012534.html"> + <LINK REL="Next" HREF="012550.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] executable libraries</H1> + <B>Per Øyvind Karlsen</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20executable%20libraries&In-Reply-To=%3CCA%2B0WU1SOvyHgg4g4Pqmd2Gnb%3DXQD%2BMcw50Tw0XKJYxBov3FA2Q%40mail.gmail.com%3E" + TITLE="[Mageia-dev] executable libraries">peroyvind at mandriva.org + </A><BR> + <I>Fri Mar 2 22:01:29 CET 2012</I> + <P><UL> + <LI>Previous message: <A HREF="012534.html">[Mageia-dev] executable libraries +</A></li> + <LI>Next message: <A HREF="012550.html">[Mageia-dev] executable libraries +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#12535">[ date ]</a> + <a href="thread.html#12535">[ thread ]</a> + <a href="subject.html#12535">[ subject ]</a> + <a href="author.html#12535">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Den 21:51 2. mars 2012 skrev Maarten Vanraes <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">alien at rmail.be</A>> følgende: +><i> Op vrijdag 02 maart 2012 21:29:05 schreef Anssi Hannula: +</I>>><i> 02.03.2012 21:57, Maarten Vanraes kirjoitti: +</I>>><i> > Op vrijdag 02 maart 2012 15:22:23 schreef Anssi Hannula: +</I>>><i> >> 02.03.2012 00:17, Maarten Vanraes kirjoitti: +</I>>><i> >>> Op donderdag 01 maart 2012 23:05:35 schreef Anssi Hannula: +</I>>><i> >>> [...] +</I>>><i> >>> +</I>>><i> >>>>> does this mean debug info fails for these? +</I>>><i> >>>> +</I>>><i> >>>> I'm not immediately sure (I never remember how the debug/stripping +</I>>><i> >>>> stuff works exactly), but I think either a) debug symbols extraction +</I>>><i> >>>> and thus -debug packaging, b) stripping, or c) both will fail with +</I>>><i> >>>> non-executable shared libs. +</I>>><i> >>> +</I>>><i> >>> in that case i guess we would need a policy or bs check to make sure we +</I>>><i> >>> don't fail some libraries debug and strip +</I>>><i> >> +</I>>><i> >> Possibly. +</I>>><i> >> +</I>>><i> >> Interestingly, Debian policy disallows executable permission on shared +</I>>><i> >> libs: +</I>>><i> >> <A HREF="http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-">http://www.debian.org/doc/debian-policy/ch-sharedlibs.html#s-sharedlibs-</A> +</I>>><i> >> ru ntime +</I>>><i> >> +</I>>><i> >> "Shared libraries should not be installed executable, since the dynamic +</I>>><i> >> linker does not require this and trying to execute a shared library +</I>>><i> >> usually results in a core dump." +</I>>><i> > +</I>>><i> > which is sort of strange, since libc is actually executable by design. +</I>>><i> > +</I>>><i> > i see where they are coming from +</I>>><i> > +</I>>><i> > but i guess the first part of this is, why is there a find with +</I>>><i> > executable restrictions for the code relating to stripped binaries and +</I>>><i> > debug? +</I>>><i> > +</I>>><i> > is it because it's also used for real executables? +</I>>><i> +</I>>><i> I guess it is there just to speed up the process, otherwise it would +</I>>><i> have to run 'file' for every file in the package (and many packages have +</I>>><i> lots of files). +</I>><i> +</I>><i> still, it seems kind of weird, there are rpmlint checks for unstripped +</I>><i> libraries, but i do have 34 libraries not marked as executable, while the +</I>><i> stripping+ debug seems to target only executables? +</I>><i> +</I>><i> i wonder if we should make another check library unset as executable or even +</I>><i> check what happened with these libraries not marked as executable? +</I>I posted a link to a rpmlint patch implementing such a check to this thread two +hours ago.. :p + +-- +Regards, +Per Øyvind +</PRE> + + + + + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="012534.html">[Mageia-dev] executable libraries +</A></li> + <LI>Next message: <A HREF="012550.html">[Mageia-dev] executable libraries +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#12535">[ date ]</a> + <a href="thread.html#12535">[ thread ]</a> + <a href="subject.html#12535">[ subject ]</a> + <a href="author.html#12535">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |