<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Lenny SE Linux on the Desktop</title>
	<atom:link href="http://etbe.coker.com.au/2008/08/04/lenny-se-linux-on-the-desktop/feed/" rel="self" type="application/rss+xml" />
	<link>http://etbe.coker.com.au/2008/08/04/lenny-se-linux-on-the-desktop/</link>
	<description>Linux, politics, and other interesting things</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:09:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Elmar Hoffmann</title>
		<link>http://etbe.coker.com.au/2008/08/04/lenny-se-linux-on-the-desktop/comment-page-1/#comment-15215</link>
		<dc:creator>Elmar Hoffmann</dc:creator>
		<pubDate>Tue, 05 Aug 2008 18:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://etbe.coker.com.au/?p=681#comment-15215</guid>
		<description>I&#039;m only starting to look at SELinux, so I might have missed something there, but:
Wouldn&#039;t a configuration where POP and IMAP daemons are allowed access to mail-specific subdirectories of user home directiories (such as ~/Maildir) be much better than both 1 or 2 in this case?
Better than 1 from a principle of least privilege perspective (and also better than 2 if the restricted users have anything else than mail in their homedir), and better than 2 from a usability perspective not requiring an extra set of accounts.

BTW, scanelf(1) from the pax-utils package can be used to easily find shared libs with text relocations on a system, e.g. like this:
scanelf --quiet --textrel --recursive /lib /usr/lib</description>
		<content:encoded><![CDATA[<p>I&#8217;m only starting to look at SELinux, so I might have missed something there, but:<br />
Wouldn&#8217;t a configuration where POP and IMAP daemons are allowed access to mail-specific subdirectories of user home directiories (such as ~/Maildir) be much better than both 1 or 2 in this case?<br />
Better than 1 from a principle of least privilege perspective (and also better than 2 if the restricted users have anything else than mail in their homedir), and better than 2 from a usability perspective not requiring an extra set of accounts.</p>
<p>BTW, scanelf(1) from the pax-utils package can be used to easily find shared libs with text relocations on a system, e.g. like this:<br />
scanelf &#8211;quiet &#8211;textrel &#8211;recursive /lib /usr/lib</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: uau</title>
		<link>http://etbe.coker.com.au/2008/08/04/lenny-se-linux-on-the-desktop/comment-page-1/#comment-15170</link>
		<dc:creator>uau</dc:creator>
		<pubDate>Mon, 04 Aug 2008 17:39:43 +0000</pubDate>
		<guid isPermaLink="false">http://etbe.coker.com.au/?p=681#comment-15170</guid>
		<description>You seem to downplay the importance of performance in FFmpeg in the bugreport. Compiling with -fPIC and disabling the asm which is not compatible with that will drop H264 decoding performance over 15% on x86. And there is lots of content for which most systems are not &quot;already fast enough&quot;. Only a minority of machines can play all high-definition H264 content without problems, and if a machine is running the x86 version instead of AMD64 then it most likely is not in that minority. Failing to play content in realtime usually makes it unwatchable in practice, so performance problems should not be considered less important than causing segfaults with the machine/video combinations in question.

I consider it very unlikely that anyone would write PIC-compatible versions of all the FFmpeg asm before Lenny is released, at least not without unacceptably degrading performance.

I&#039;m not very familiar with SELinux, but if I understood correctly the problem with text relocations is you don&#039;t want the executable to have the permissions necessary for them because an attacker could write and then execute code with those permissions. Could that be avoided by making the executable drop such permissions after doing the text relocations during initial linking? If the text relocations are done and permissions dropped before any outside data is accessed then there should not be much risk of an attacker being able to exploit them. Unless there is some fundamental reason why such a system wouldn&#039;t work implementing it sounds more realistic than making all code on x86 work with a register less.</description>
		<content:encoded><![CDATA[<p>You seem to downplay the importance of performance in FFmpeg in the bugreport. Compiling with -fPIC and disabling the asm which is not compatible with that will drop H264 decoding performance over 15% on x86. And there is lots of content for which most systems are not &#8220;already fast enough&#8221;. Only a minority of machines can play all high-definition H264 content without problems, and if a machine is running the x86 version instead of AMD64 then it most likely is not in that minority. Failing to play content in realtime usually makes it unwatchable in practice, so performance problems should not be considered less important than causing segfaults with the machine/video combinations in question.</p>
<p>I consider it very unlikely that anyone would write PIC-compatible versions of all the FFmpeg asm before Lenny is released, at least not without unacceptably degrading performance.</p>
<p>I&#8217;m not very familiar with SELinux, but if I understood correctly the problem with text relocations is you don&#8217;t want the executable to have the permissions necessary for them because an attacker could write and then execute code with those permissions. Could that be avoided by making the executable drop such permissions after doing the text relocations during initial linking? If the text relocations are done and permissions dropped before any outside data is accessed then there should not be much risk of an attacker being able to exploit them. Unless there is some fundamental reason why such a system wouldn&#8217;t work implementing it sounds more realistic than making all code on x86 work with a register less.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

