<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Steven Harms &#187; fedora</title>
	<atom:link href="http://www.sharms.org/blog/tag/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sharms.org/blog</link>
	<description>Life, Linux and Technology</description>
	<lastBuildDate>Sun, 28 Aug 2011 18:02:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Fedora 12 default package install policy</title>
		<link>http://www.sharms.org/blog/2009/11/fedora-12-default-package-install-policy/</link>
		<comments>http://www.sharms.org/blog/2009/11/fedora-12-default-package-install-policy/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 15:53:01 +0000</pubDate>
		<dc:creator>sharms</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[redhat]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/2009/11/19/fedora-12-default-package-install-policy/</guid>
		<description><![CDATA[Just a quick note, if you don&#8217;t like Fedora 12&#8242;s policy, you probably don&#8217;t understand how systems today currently work. This is much more secure, and you are able to disable it. If you are using systems in public, then there is much more you need to disable such as removable media automounting etc, and [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2009/02/stimulus-package/' rel='bookmark' title='Permanent Link: Stimulus package'>Stimulus package</a></li>
<li><a href='http://www.sharms.org/blog/2006/07/what-i-am-working-on/' rel='bookmark' title='Permanent Link: What I am working on'>What I am working on</a></li>
<li><a href='http://www.sharms.org/blog/2006/11/fedora-core-6/' rel='bookmark' title='Permanent Link: Fedora Core 6'>Fedora Core 6</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Just a quick note, if you don&#8217;t like Fedora 12&#8242;s policy, you probably don&#8217;t understand how systems today currently work.</p>
<p>This is much more secure, and you are able to disable it.  If you are using systems in public, then there is much more you need to disable such as removable media automounting etc, and would not use default settings anyway.</p>
<p>The current way of throwing blanket root access out for any system change is inherently less secure, their change aims to only allow signed package and that 1 specific action to occur.</p>
<p>Yes you could make a collision, but if you can&#8217;t trust your package sources, you can&#8217;t trust your system as a whole, so the entire idea is moot.</p>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2009/02/stimulus-package/' rel='bookmark' title='Permanent Link: Stimulus package'>Stimulus package</a></li>
<li><a href='http://www.sharms.org/blog/2006/07/what-i-am-working-on/' rel='bookmark' title='Permanent Link: What I am working on'>What I am working on</a></li>
<li><a href='http://www.sharms.org/blog/2006/11/fedora-core-6/' rel='bookmark' title='Permanent Link: Fedora Core 6'>Fedora Core 6</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2009/11/fedora-12-default-package-install-policy/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>MMap to null</title>
		<link>http://www.sharms.org/blog/2009/07/fun-stuff/</link>
		<comments>http://www.sharms.org/blog/2009/07/fun-stuff/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 19:31:56 +0000</pubDate>
		<dc:creator>sharms</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/?p=524</guid>
		<description><![CDATA[I was reading an lwn article about an exploit: http://lwn.net/Articles/341773/ Being that I am writing posts this week about programming, and about my Fedora run down, thought people might find this interesting. I wrote a little test code that fails on Ubuntu but works on Fedora 11 (based off lwn post): #include &#60;stdio.h&#62; #include &#60;sys/mman.h&#62; [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/12/why/' rel='bookmark' title='Permanent Link: Why?'>Why?</a></li>
<li><a href='http://www.sharms.org/blog/2009/11/python-and-real-time-graphical-analysis/' rel='bookmark' title='Permanent Link: Python and real time graphical analysis'>Python and real time graphical analysis</a></li>
<li><a href='http://www.sharms.org/blog/2010/06/programming-using-ioctl-to-interface-with-linux-kernel-drivers/' rel='bookmark' title='Permanent Link: Programming using IOCTL to interface with Linux kernel drivers'>Programming using IOCTL to interface with Linux kernel drivers</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I was reading an lwn article about an exploit: <a href="http://lwn.net/Articles/341773/">http://lwn.net/Articles/341773/</a></p>
<p>Being that I am writing posts this week <a href="http://www.sharms.org/blog/2009/07/16/annoying-people-with-code-a-gentle-introduction-to-c-and-mono/">about programming</a>, and about <a href="http://www.sharms.org/blog/2009/07/16/fedora-11-vs-ubuntu-9-04/">my Fedora run down</a>, thought people might find this interesting.</p>
<p>I wrote a little test code that fails on Ubuntu but works on Fedora 11 (based off lwn post):</p>
<pre class="brush: c">
#include &lt;stdio.h&gt;
#include &lt;sys/mman.h&gt;

int main(int argc, char **argv)
{
    // Try to write to memory location 0
    void *mem;
    mem = mmap(NULL, 0x1000, PROT_READ | PROT_WRITE, MAP_FIXED | MAP_ANONYMOUS | MAP_PRIVATE, 0, 0);

    if(mem != NULL)
    {
        printf(&quot;Could not write to memory position 0\n&quot;);
    } else
    {
        printf(&quot;We can write to memory location 0\n&quot;);
    }

    sprintf((char *) mem, &quot; This is a test\n&quot;);
    printf(&quot;Memory contents: %s\n&quot;, (char *)(mem + (sizeof(char))));
    return 0;
}
</pre>
<p><strong>Fedora 11 results:</strong></p>
<pre class="brush: sh">
./a.out
We can write to memory location 0
Memory contents: This is a test
</pre>
<p><strong>Ubuntu 9.04 results:</strong></p>
<pre class="brush: sh">
./a.out
Could not write to memory position 0
Segmentation fault
</pre>
<p><strong>What does this mean?</strong><br />
As far as I can understand it, userspace programs segfault when trying to access data in the NULL (or 0) memory region.  The kernel does not have this limitation.  The author of the exploit said this is because GCC optimises out the null check.  So if there is kernel code which references a pointer to 0, then you can have it run whatever you want.  And in atleast 2.6.30, there is kernel code that does that.</p>
<p>Ubuntu does not let the userspace programs write to 0, but in F11 you can.  Interesting stuff.</p>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/12/why/' rel='bookmark' title='Permanent Link: Why?'>Why?</a></li>
<li><a href='http://www.sharms.org/blog/2009/11/python-and-real-time-graphical-analysis/' rel='bookmark' title='Permanent Link: Python and real time graphical analysis'>Python and real time graphical analysis</a></li>
<li><a href='http://www.sharms.org/blog/2010/06/programming-using-ioctl-to-interface-with-linux-kernel-drivers/' rel='bookmark' title='Permanent Link: Programming using IOCTL to interface with Linux kernel drivers'>Programming using IOCTL to interface with Linux kernel drivers</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2009/07/fun-stuff/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Fedora 11 vs. Ubuntu 9.04</title>
		<link>http://www.sharms.org/blog/2009/07/fedora-11-vs-ubuntu-9-04/</link>
		<comments>http://www.sharms.org/blog/2009/07/fedora-11-vs-ubuntu-9-04/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 17:46:01 +0000</pubDate>
		<dc:creator>sharms</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.sharms.org/blog/?p=491</guid>
		<description><![CDATA[Put Fedora 11 on my laptop just out of boredom, some notes: Fedora 11 SELinux by default: Cool but confusing Fedora 11 repositories: Better selection than previous releases, still not as many choices as Ubuntu Ubuntu still wins on the default menu organization for new users (just a bit easier to navigate) Fedora bootup vs. [...]


Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/08/haproxy-packages/' rel='bookmark' title='Permanent Link: Haproxy packages'>Haproxy packages</a></li>
<li><a href='http://www.sharms.org/blog/2006/11/fedora-core-6/' rel='bookmark' title='Permanent Link: Fedora Core 6'>Fedora Core 6</a></li>
<li><a href='http://www.sharms.org/blog/2007/06/novell-linux-client-on-ubuntu-redux/' rel='bookmark' title='Permanent Link: Novell Linux Client on Ubuntu redux'>Novell Linux Client on Ubuntu redux</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Put Fedora 11 on my laptop just out of boredom, some notes:</p>
<ul>
<li>Fedora 11 SELinux by default: Cool but confusing</li>
<li>Fedora 11 repositories: Better selection than previous releases, still not as many choices as Ubuntu</li>
<li>Ubuntu still wins on the default menu organization for new users (just a bit easier to navigate)</li>
<li>Fedora bootup vs. Ubuntu bootup is about a wash, they both look good and are fast</li>
<li>Default themes:  Neither will win a competition on looks, Linux Mint is much better looking than both</li>
<li>Yum vs. Apt:  Yum was fast, but a lot of 404&#8242;s on the repositories (which is more of an issue of Fedora&#8217;s mirror infrastructure)</li>
<li>PPAs vs. ???:  This is where Fedora appears (correct me if I am wrong) to have absolutely no answer to OpenSUSE and Ubuntu.  In Ubuntu we can get up to date packages that were not yet officially released using PPAs.  OpenSUSE users can download packages from the build service.  Fedora really has nothing this fun (I am aware OpenSUSE can build Fedora packages, but the selection is not even close).</li>
<li>Support:  Fedora is a distro that is on the cutting edge.  It will never compete in support, but this is intentional. </li>
<li>Community: Ubuntu community is simply the biggest Linux community on the internet.  Nobody is even in the same ball park.  This also means that Ubuntu has much more &#8220;noise&#8221; than Fedora (ie people who contribute nothing and are generally factually inaccurate).  Experts may like Fedora more because of the lack of this noise.</li>
</ul>
<p>So if you are looking to try out Fedora, I don&#8217;t think you will gain or miss much.  Personally I am going to put Ubuntu back on as I really love software from PPAs,  and I love using apt just out of habit.  But hope that helps someone who wonders what the differences are or what they are missing.</p>
<p>I have added a screenshot which is the default screen with Gnome-Do with docky theme, but this obviously works in Ubuntu also:</p>
<p><a href="http://www.flickr.com/photos/51992849@N00/3726537721/" title="Fedora11 by mindwarp, on Flickr"><img src="http://farm3.static.flickr.com/2571/3726537721_c6e77ec9d9_b.jpg" width="1024" height="320" alt="Fedora11" /></a></p>


<p>Related posts:<ol><li><a href='http://www.sharms.org/blog/2008/08/haproxy-packages/' rel='bookmark' title='Permanent Link: Haproxy packages'>Haproxy packages</a></li>
<li><a href='http://www.sharms.org/blog/2006/11/fedora-core-6/' rel='bookmark' title='Permanent Link: Fedora Core 6'>Fedora Core 6</a></li>
<li><a href='http://www.sharms.org/blog/2007/06/novell-linux-client-on-ubuntu-redux/' rel='bookmark' title='Permanent Link: Novell Linux Client on Ubuntu redux'>Novell Linux Client on Ubuntu redux</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.sharms.org/blog/2009/07/fedora-11-vs-ubuntu-9-04/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
	</channel>
</rss>

