<?xml version='1.0' encoding='utf-8' ?>
<!--  If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/  -->
<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:media='http://search.yahoo.com/mrss/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>James Morris</title>
  <link>http://james-morris.livejournal.com/</link>
  <description>James Morris - LiveJournal.com</description>
  <lastBuildDate>Tue, 07 Jul 2009 05:30:45 GMT</lastBuildDate>
  <generator>LiveJournal / LiveJournal.com</generator>
  <lj:journal>james_morris</lj:journal>
  <lj:journalid>4008345</lj:journalid>
  <lj:journaltype>personal</lj:journaltype>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/43340.html</guid>
  <pubDate>Tue, 07 Jul 2009 05:30:45 GMT</pubDate>
  <title>This blog has moved</title>
  <link>http://james-morris.livejournal.com/43340.html</link>
  <description>The new location of this blog is:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;center&gt; &amp;gt;&amp;gt; &amp;gt; &amp;gt;&amp;gt;  &lt;a href=&apos;http://blog.namei.org/&apos; rel=&apos;nofollow&apos;&gt;http://blog.namei.org/&lt;/a&gt;  &amp;lt;&amp;lt; &amp;lt; &amp;lt;&amp;lt; &lt;/center&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;a href=&quot;http://www.flickr.com/photos/sigma/120551412/&quot; title=&quot;by sigma @ flickr&quot; rel=&quot;nofollow&quot;&gt;&lt;img src=&quot;http://farm1.static.flickr.com/41/120551412_1385a7b076.jpg&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;Please update your bookmark or &lt;a href=&quot;http://blog.namei.org/feed/&quot; rel=&quot;nofollow&quot;&gt;RSS feed&lt;/a&gt;.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;I will no longer be updating here at LiveJournal.</description>
  <comments>http://james-morris.livejournal.com/43340.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>4</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/43009.html</guid>
  <pubDate>Wed, 01 Jul 2009 03:58:58 GMT</pubDate>
  <title>All my talk slides are now on Slideshare</title>
  <link>http://james-morris.livejournal.com/43009.html</link>
  <description>I&apos;ve uploaded the slides from essentially all of the talks I&apos;ve given to &lt;a href=&quot;http://www.slideshare.net/jamesmorris/presentations&quot; rel=&quot;nofollow&quot;&gt;Slideshare&lt;/a&gt;.  This is likely more useful than my previous strategy of dumping them in a &lt;a href=&quot;http://namei.org/presentations/&quot; rel=&quot;nofollow&quot;&gt;directory&lt;/a&gt; and leaving the rest up to search engine bots.&lt;br /&gt;&lt;br /&gt;Click &lt;a href=&quot;http://www.slideshare.net/jamesmorris/presentations&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; for the full list of slides.  They are all published under the Creative Commons &lt;a href=&quot;http://creativecommons.org/licenses/by-sa/2.5/&quot; rel=&quot;nofollow&quot;&gt;attribution share-alike&lt;/a&gt; license.&lt;br /&gt;&lt;br /&gt;One interesting slide title, which I&apos;d forgotten about, is &lt;i&gt;&lt;a href=&quot;http://www.slideshare.net/jamesmorris/kernel-summit-security-2004&quot; rel=&quot;nofollow&quot;&gt;Kernel Security for 2.8&lt;/a&gt;&lt;/i&gt;, from the 2004 Kernel Summit.  This was from when we were still expecting a 2.7 development kernel leading to a 2.8 stable kernel -- I think Linus announced the change in development model at that summit.&lt;br /&gt;&lt;br /&gt;Included in this set of slides are several introductory and deeper technical overviews of SELinux; I hope they are useful for people who are looking for information for themselves, or if making their own slides.  As the license suggests, please feel free to copy and extend them (but note that the older ones are going to be more out of date).</description>
  <comments>http://james-morris.livejournal.com/43009.html</comments>
  <category>kernelsummit</category>
  <category>lca</category>
  <category>slides</category>
  <category>security</category>
  <category>kernel</category>
  <category>slideshare</category>
  <category>netconf</category>
  <category>selinux</category>
  <category>networking</category>
  <category>events</category>
  <category>foss.my</category>
  <category>presentations</category>
  <category>linux</category>
  <category>linuxfoundation</category>
  <category>ipsec</category>
  <category>foss.in</category>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/42865.html</guid>
  <pubDate>Mon, 29 Jun 2009 16:02:59 GMT</pubDate>
  <title>SELinux for Humans</title>
  <link>http://james-morris.livejournal.com/42865.html</link>
  <description>I mean, SLUGs...&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://www.mabula.net/tbfw/2009/06/29#2009-06-29-selinux-for-slugs&quot; rel=&quot;nofollow&quot;&gt;Paul Wayper&lt;/a&gt; gave a couple of talks on SELinux at this weeks&apos; &lt;a href=&quot;http://www.slug.org.au/&quot; rel=&quot;nofollow&quot;&gt;SLUG&lt;/a&gt; meeting, and includes links to a couple of very useful slide decks:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://www.slideshare.net/PaulWay/selinux-for-everyday-users&quot; rel=&quot;nofollow&quot;&gt;SELinux for Everyday Users&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://www.slideshare.net/PaulWay/slug-2009-06-selinux-for-sysadmins&quot; rel=&quot;nofollow&quot;&gt;SELinux for SysAdmins&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;The sysadmin slides look particularly useful, as they focus on solving common issues such as running FTP/SAMBA/Apache servers, and provide some very useful general tips, such as looking in the audit log and using policy booleans for high-level policy tweaking.&lt;br /&gt;&lt;br /&gt;These slides may be the best, short introduction for sysadmins on the topic that I&apos;ve seen.  It&apos;s a difficult thing to get right.</description>
  <comments>http://james-morris.livejournal.com/42865.html</comments>
  <category>slug</category>
  <category>events</category>
  <category>sydney</category>
  <category>security</category>
  <category>linux</category>
  <category>selinux</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/42541.html</guid>
  <pubDate>Fri, 26 Jun 2009 06:35:40 GMT</pubDate>
  <title>Security subsystem changes in the 2.6.30 kernel</title>
  <link>http://james-morris.livejournal.com/42541.html</link>
  <description>Here&apos;s an update on the major changes to the kernel security subsystem for the &lt;a href=&quot;http://kernelnewbies.org/Linux_2_6_30&quot; rel=&quot;nofollow&quot;&gt;2.6.30&lt;/a&gt; kernel.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;TOMOYO&lt;/b&gt;&lt;br /&gt;The &lt;a href=&quot;http://tomoyo.sourceforge.jp/&quot; rel=&quot;nofollow&quot;&gt;TOMOYO&lt;/a&gt; security framework from NTT was merged.  This is the first significant LSM scheme to be merged since SELinux in &lt;a href=&quot;http://linux.bkbits.net:8080/linux-2.6/security/Kconfig?PAGE=diffs&amp;amp;REV=3f2a9b2dip8pTUGhNP6StmjiELDyTw&quot; title=&quot;SELinux merge commit&quot; rel=&quot;nofollow&quot;&gt;2003&lt;/a&gt;.  TOMOYO is characterized by its targeting of non-technical users, where security policy is automatically generated with a &quot;learning mode&quot; tool.  This scheme utilizes pathnames for determining access to filesystem objects.  Another interesting feature is that a &lt;i&gt;domain&lt;/i&gt;, i.e. an active subject which acts on objects, is defined as a history of process invocations, rather than a single process.  This allows policy to be applied to a particular branch of processes in the system.  For example, an access permitted for &lt;code&gt;init-&amp;gt;httpd-&amp;gt;perl&lt;/code&gt; may not be permitted for &lt;code&gt;init-&amp;gt;httpd-&amp;gt;bash&lt;/code&gt;.  Sample policy may be found &lt;a href=&quot;http://tomoyo.sourceforge.jp/cgi-bin/lxr/source/etch/domain_policy.conf?v=policy-sample&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;IMA&lt;/b&gt;&lt;br /&gt;IBM&apos;s &lt;a href=&quot;http://domino.research.ibm.com/comm/research_people.nsf/pages/sailer.ima.html&quot; title=&quot;slightly out of date information..&quot; rel=&quot;nofollow&quot;&gt;Integrity Measurement Architecture&lt;/a&gt; was also merged.  This uses the &lt;a href=&quot;http://en.wikipedia.org/wiki/Trusted_Platform_Module&quot; rel=&quot;nofollow&quot;&gt;TPM&lt;/a&gt; to verify and store cryptographic checksums of files used by the system, i.e. &lt;i&gt;measurement&lt;/i&gt;.  If a measured file has been modified on disk, this will be detected and stored permanently in the TPM.  The aim is to help detect attacks based on modifying files&amp;mdash;such as executable binaries or configuration files&amp;mdash;although it cannot detect runtime attacks, and requires checksums to be known in advance for the full system startup chain.  Files to be measured may be specified in a policy loadable via securityfs.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Remove Old SELinux Network Controls&lt;/b&gt;&lt;br /&gt;The original SELinux network controls were deprecated by the iptables-based &lt;a href=&quot;http://james-morris.livejournal.com/11010.html&quot; rel=&quot;nofollow&quot;&gt;Secmark&lt;/a&gt; system several years ago, although they remained available via the &lt;code&gt;compat_net&lt;/code&gt; option for the likely few people who were using them.  The old code has now been removed entirely, and users should transition to Secmark: Paul Moore has written a &lt;a href=&quot;http://paulmoore.livejournal.com/4281.html&quot; rel=&quot;nofollow&quot;&gt;detailed guide&lt;/a&gt; for this.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;The remaining changes were primarily bugfixes and enhancements across most parts of the security subsystem, including SELinux, SMACK, and keys.&lt;br /&gt;&lt;br /&gt;Paul and I are finalizing the schedule for the security microconf at the upcoming &lt;a href=&quot;http://linuxplumbersconf.org/2009/&quot; rel=&quot;nofollow&quot;&gt;Linux Plumbers Conference&lt;/a&gt;. It&apos;s looking like a great line-up at this stage&amp;mdash;stay tuned for more details soon.</description>
  <comments>http://james-morris.livejournal.com/42541.html</comments>
  <category>ima</category>
  <category>security</category>
  <category>kernel</category>
  <category>integrity</category>
  <category>smack</category>
  <category>selinux</category>
  <category>linux</category>
  <category>tomoyo</category>
  <category>lpc</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/42290.html</guid>
  <pubDate>Wed, 24 Jun 2009 02:21:15 GMT</pubDate>
  <title>SELinux Developer Summit: CfP closes 1st July (1 week)</title>
  <link>http://james-morris.livejournal.com/42290.html</link>
  <description>Just a reminder for SELinux developers and anyone interested in the internals of SELinux that the &lt;a href=&quot;http://selinuxproject.org/page/Developer_Summit_2009&quot; rel=&quot;nofollow&quot;&gt;SELinux Developer Summit&lt;/a&gt; CfP closes on July 1st, which is about a week away.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;img src=&quot;http://namei.org/images/selinux-penguin-1.jpg&quot; alt=&quot;SELinux logo&quot; /&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;Details of the CfP are &lt;a href=&quot;http://selinuxproject.org/page/Developer_Summit_2009/CFP&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.  Don&apos;t forget to join the event &lt;a href=&quot;http://selinuxproject.org/mailman/listinfo/selinux-developer-summit-2009&quot; rel=&quot;nofollow&quot;&gt;mailing list&lt;/a&gt; if you&apos;re attending.&lt;br /&gt;&lt;br /&gt;Proposals for presentations, lightning talks, and development sessions should be submitted via email per the instructions in the CfP.  Proposals do not need to be especially detailed: if you have a good idea, simply send it in.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;a href=&quot;http://www.flickr.com/photos/jurvetson/373985022/in/set-202066&quot; title=&quot;mystery object, click for more details...&quot; rel=&quot;nofollow&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://farm1.static.flickr.com/179/373985022_62495d4c4e.jpg&quot; alt=&quot;mystery object&quot; /&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;For reading this, you are rewarded with a mystery object (pictured above).  See if you can figure out what it is before clicking on it and reading the comments @ flickr.</description>
  <comments>http://james-morris.livejournal.com/42290.html</comments>
  <category>security</category>
  <category>linuxcon</category>
  <category>portland</category>
  <category>selinux</category>
  <category>events</category>
  <category>linux</category>
  <category>developers</category>
  <category>linuxfoundation</category>
  <category>mystery object</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/42057.html</guid>
  <pubDate>Tue, 16 Jun 2009 04:49:20 GMT</pubDate>
  <title>Classic Unix Design Principles</title>
  <link>http://james-morris.livejournal.com/42057.html</link>
  <description>In the process of preparing my talk for &lt;a href=&quot;http://au.sun.com/sunnews/events/2009/kernel/index.jsp&quot; rel=&quot;nofollow&quot;&gt;KCA&lt;/a&gt;, I re-read the classic paper: &lt;a href=&quot;http://cm.bell-labs.com/cm/cs/who/dmr/cacm.html&quot; rel=&quot;nofollow&quot;&gt;The UNIX Time-Sharing System&lt;/a&gt; by Ritchie &amp;amp; Thompson.  This paper was revised several times between 1973 and 1978, and the authors&apos; observations are well worth remembering:&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&lt;em&gt;Perhaps paradoxically, the success of the Unix system is largely due to the fact that it was not designed to meet any predefined objectives. The first version was written when one of us (Thompson), dissatisfied with the available computer facilities, discovered a little-used PDP-7 and set out to create a more hospitable environment [...] We have not been faced with the need to satisfy someone else&apos;s requirements, and for this freedom we are grateful.&lt;br /&gt;&lt;/em&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style=&quot;margin-left: 40px;&quot;&gt;&lt;em&gt;Three considerations that influenced the design of Unix are visible in retrospect.  &lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;em&gt; First: because we are programmers, we naturally designed the system to make it easy to write, test, and run programs. The most important expression of our desire for programming convenience was that the system was arranged for interactive use, even though the original version only supported one user. We believe that a properly designed interactive system is much more productive and satisfying to use than a ``batch&apos;&apos; system. Moreover, such a system is rather easily adaptable to noninteractive use, while the converse is not true. &lt;/em&gt;&lt;/div&gt;&lt;p style=&quot;margin-left: 40px;&quot;&gt;&lt;em&gt; Second: there have always been fairly severe size constraints on the system and its software. Given the partially antagonistic desires for reasonable efficiency and expressive power, the size constraint has encouraged not only economy, but also a certain elegance of design. This may be a thinly disguised version of the ``salvation through suffering&apos;&apos; philosophy, but in our case it worked. &lt;/em&gt;&lt;/p&gt;&lt;p style=&quot;margin-left: 40px;&quot;&gt;&lt;em&gt; Third: nearly from the start, the system was able to, and did, maintain itself. This fact is more important than it might seem. If designers of a system are forced to use that system, they quickly become aware of its functional and superficial deficiencies and are strongly motivated to correct them before it is too late. Because all source programs were always available and easily modified on-line, we were willing to revise and rewrite the system and its software when new ideas were invented, discovered, or suggested by others. &lt;/em&gt;&lt;/p&gt;It&apos;s clear that the success of Linux (and FOSS more generally), is underpinned by these principles.&amp;nbsp; These principles are not merely about technology; they&apos;re a way of thinking about technology and the people who create and use it.&lt;br /&gt;&lt;br /&gt;</description>
  <comments>http://james-morris.livejournal.com/42057.html</comments>
  <category>design</category>
  <category>linux</category>
  <category>kca</category>
  <category>unix</category>
  <category>foss</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/41730.html</guid>
  <pubDate>Tue, 09 Jun 2009 16:23:52 GMT</pubDate>
  <title>Fedora 11 with sVirt</title>
  <link>http://james-morris.livejournal.com/41730.html</link>
  <description>&lt;a href=&quot;http://selinuxproject.org/page/SVirt&quot; rel=&quot;nofollow&quot;&gt;sVirt&lt;/a&gt; (MAC security for Linux Virtualization), which I&apos;ve previously discussed &lt;a href=&quot;http://james-morris.livejournal.com/tag/svirt&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, and formally &lt;a href=&quot;http://james-morris.livejournal.com/38821.html&quot; rel=&quot;nofollow&quot;&gt;presented at LCA&lt;/a&gt; in January, was released today as an integral part of virtualization in &lt;a href=&quot;http://fedoraproject.org/get-fedora&quot; rel=&quot;nofollow&quot;&gt;Fedora 11&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;a href=&quot;http://fedoraproject.org/get-fedora&quot; title=&quot;get fedora&quot; rel=&quot;nofollow&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://fedoraproject.org/static/images/banners/f11release.png&quot;&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;If you&apos;d like to give it a spin, simply download and install Fedora and use the GUI admin tools to create a new virtual machine.&lt;br /&gt;&lt;br /&gt;Thanks again to Dan Walsh, Dan Berrange and all the developers who helped with input and the heavy lifting work of completing the userland code.  It still amazes me how fast things move in FOSS.&lt;br /&gt;&lt;br /&gt;As mentioned in my last+1 post, Dan W will be talking on this topic at the upcoming &lt;a href=&quot;http://events.linuxfoundation.org/events/linuxcon&quot; rel=&quot;nofollow&quot;&gt;LinuxCon&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Further developments in this area are already underway, and you can expect to hear about them in the coming months&amp;mdash;see the talk &lt;a href=&quot;http://namei.org/presentations/svirt-lca-2009.pdf&quot; rel=&quot;nofollow&quot;&gt;slides&lt;/a&gt; for possible hints.</description>
  <comments>http://james-morris.livejournal.com/41730.html</comments>
  <category>fedora11</category>
  <category>lca</category>
  <category>security</category>
  <category>virtualization</category>
  <category>linuxcon</category>
  <category>mac</category>
  <category>kvm</category>
  <category>fedora</category>
  <category>foss</category>
  <category>selinux</category>
  <category>svirt</category>
  <category>linux</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/41591.html</guid>
  <pubDate>Fri, 29 May 2009 05:14:08 GMT</pubDate>
  <title>SELinux Sandbox and Ambient Authority</title>
  <link>http://james-morris.livejournal.com/41591.html</link>
  <description>Dan Walsh recently &lt;a href=&quot;http://danwalsh.livejournal.com/28545.html&quot; rel=&quot;nofollow&quot;&gt;introduced SELinux sandbox&lt;/a&gt;.  This is a mechanism for launching untrusted applications from the command line, which uses a strict MAC policy to isolate the executed application from the rest of the system.  There&apos;s been a good discussion of the topic &lt;a href=&quot;http://lwn.net/Articles/334737/&quot; rel=&quot;nofollow&quot;&gt;LWN&lt;/a&gt;, and I thought it might be worth highlighting a few points.&lt;br /&gt;&lt;br /&gt;Firstly, this sandboxing scheme is not a separate package.  It&apos;s an addition to the standard SELinux security policy to define the sandboxed domain (&lt;code&gt;sandbox_t&lt;/code&gt;) coupled with a script to set up the environment and launch applications in the sandboxed domain.&lt;br /&gt;&lt;br /&gt;The idea for this came out of a few emails following a recent &lt;a href=&quot;http://lwn.net/Articles/332974/&quot; rel=&quot;nofollow&quot;&gt;discussion&lt;/a&gt; about extending seccomp for more generalized sandboxing.  Essentially, the question was asked &lt;em&gt;&amp;quot;what can we do with SELinux and simple sandboxing?&amp;quot;&lt;/em&gt;, and the result is now available in Fedora development.  If you update to the latest &lt;code&gt;policycoreutils&lt;/code&gt; and &lt;code&gt;selinux-policy&lt;/code&gt; packages, it should simply be there ready to go.&lt;br /&gt;&lt;br /&gt;The security policy for the &lt;code&gt;sandbox_t&lt;/code&gt; domain is designed to provide the sandboxed application with only the absolute minimum set of permissions required to run.  It can load shared libraries, for example, although a future refinement could provide an option to run only static binaries.  It cannot interact in an ad-hoc manner with the rest of the system.  A scratch tmpfs filesystem may be optionally mounted for the application if required, and unique MCS labels are used to separate sandboxes from each other.  Another future refinement will likely include launching sandboxes in private namespaces.&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# sandbox id -Z&lt;br /&gt;unconfined_u:unconfined_r:sandbox_t:s0:c226,c674&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The above shows how the &lt;code&gt;id&lt;/code&gt; command launched via the new &lt;code&gt;sandbox&lt;/code&gt; utility is running in the &lt;code&gt;sandbox_t&lt;/code&gt; domain, with MCS categories c226 and c674.  The values of these don&apos;t matter, as long as they&apos;re unique on the system.&lt;br /&gt;&lt;br /&gt;As root (and note that this is not designed to be run as root, but for demonstration purposes it helps to show the confinement of privileges if they exist), you can&apos;t do anything special via &lt;code&gt;sandbox&lt;/code&gt;:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;# sandbox cat /etc/shadow&lt;br /&gt;/bin/cat: /etc/shadow: Permission denied&lt;br /&gt;&lt;br /&gt;# sandbox touch /tmp/moo.txt&lt;br /&gt;/bin/touch: cannot touch `/tmp/moo.txt&apos;: Permission denied&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;In fact, you can&apos;t open any files on the global system.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/Ambient_authority&quot; rel=&quot;nofollow&quot;&gt;Ambient authority&lt;/a&gt;&lt;/b&gt; describes the form of authority commonly seen in general purpose operating systems.  This form of authority is what allows, for example, a user on a Linux system to open any file for which she has read access, &lt;em&gt;whether she needs to open the file or not&lt;/em&gt;.  It is seen as problematic in establishing strong security, due to problems such as &lt;a href=&quot;http://en.wikipedia.org/wiki/Confused_deputy_problem&quot; rel=&quot;nofollow&quot;&gt;The Confused Deputy&lt;/a&gt;, where authority (i.e. the ability to perform an action) is arbitrarily escalated throughout the system.&lt;br /&gt;&lt;br /&gt;(For a particularly clear explanation of these concepts, they are covered in the first ten minutes of this &lt;a href=&quot;http://www.youtube.com/watch?v=EGX2I31OhBE&quot; rel=&quot;nofollow&quot;&gt;talk by David Wagner&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;When an application is launched via &lt;code&gt;sandbox&lt;/code&gt;, with no inessential permissions, as much ambient authority as is possible has been removed by SELinux MAC.  Instead, authority is explicitly provided to the sandboxed application via a pipe file descriptor handed to it via the launching process (i.e. the standard Unix scheme of constructing pipelines).&lt;br /&gt;&lt;br /&gt;Note carefully the difference between these two commands:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# wc -l /etc/shadow&lt;br /&gt;43 /etc/shadow&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and &lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# cat /etc/shadow | wc -l&lt;br /&gt;43&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;In the first example, the &lt;code&gt;wc&lt;/code&gt; application directly opened the file &lt;code&gt;/etc/shadow&lt;/code&gt; for reading.  It used ambient authority to do this.&lt;br /&gt;&lt;br /&gt;In the second example, &lt;code&gt;wc&lt;/code&gt; was handed a file descriptor which was already opened by the calling process, and did not require any ambient authority to read the data in the file: the authority was explicitly tied to the file by the caller, and &lt;code&gt;wc&lt;/code&gt; was entirely unaware of which file it was reading.  &lt;code&gt;wc&lt;/code&gt; in this case does not need &lt;i&gt;any&lt;/i&gt; permissions except to access the file descriptor passed by the caller.  (It still has ambient authority, however, it just didn&apos;t need to use it here).&lt;br /&gt;&lt;br /&gt;Running the above with SELinux sandboxing in effect:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# sandbox wc -l /etc/shadow&lt;br /&gt;/usr/bin/wc: /etc/shadow: Permission denied&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# cat /etc/shadow | sandbox wc -l&lt;br /&gt;43&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Note that &lt;em&gt;&lt;code&gt;wc&lt;/code&gt;&lt;/em&gt; now has no authority now except as invoked by the calling process and passed via the sandbox.  In other words, it does not have ambient authority when invoked via the sandbox.&lt;br /&gt;&lt;br /&gt;This is a very simple and powerful concept for security purposes, as it is possible to define strict information flows between applications in a dynamic and controlled manner, without the need for additional global security policy.  It&apos;s inherently Unix-y, too.&lt;br /&gt;&lt;br /&gt;There are many potential applications of this form of sandboxing, particularly where you need to process information between different security realms (e.g. incoming mail which needs to be passed through a chain of scanning and filtering applications), and for dealing with large and complicated applications processing arbitrary untrusted data.&lt;br /&gt;&lt;br /&gt;Keep an eye on &lt;a href=&quot;http://danwalsh.livejournal.com/&quot; rel=&quot;nofollow&quot;&gt;Dan&apos;s blog&lt;/a&gt; for upcoming work on desktop security with SELinux sandboxing.</description>
  <comments>http://james-morris.livejournal.com/41591.html</comments>
  <category>security</category>
  <category>mac</category>
  <category>object capabilities</category>
  <category>fedora</category>
  <category>selinux</category>
  <category>linux</category>
  <category>ambient authority</category>
  <category>sandbox</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/41433.html</guid>
  <pubDate>Thu, 28 May 2009 22:41:58 GMT</pubDate>
  <title>Linux Security Events in Portland</title>
  <link>http://james-morris.livejournal.com/41433.html</link>
  <description>Several Linux security events are planned in association with &lt;a href=&quot;http://events.linuxfoundation.org/events/linuxcon&quot; rel=&quot;nofollow&quot;&gt;LinuxCon&lt;/a&gt; this year in Portland, Oregon.&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;2009 SELinux Developer Summit&lt;/b&gt;&lt;br /&gt;The &lt;a href=&quot;http://selinuxproject.org/page/Developer_Summit_2009/CFP&quot; rel=&quot;nofollow&quot;&gt;CFP&lt;/a&gt; for this event has just been published.  The developer summit will be held on the 20th of September as an ancillary event of &lt;a href=&quot;http://events.linuxfoundation.org/events/linuxcon&quot; rel=&quot;nofollow&quot;&gt;LinuxCon&lt;/a&gt;.  This is a one-day event, and developers are encouraged to submit proposals around the primary topics of extensibility and usability.  We&apos;re hoping to have a flexible format this year, perhaps with half a day of talks and then half a day of hack sessions.  Note that all attendees need to be registered for LinuxCon, and that earlybird registration ends this Monday, June 1st.  Also, please subscribe to the event &lt;a href=&quot;http://selinuxproject.org/mailman/listinfo/selinux-developer-summit-2009&quot; rel=&quot;nofollow&quot;&gt;mailing list&lt;/a&gt; if you&apos;re planning to attend, so we can estimate numbers.  More details are available at the &lt;a href=&quot;http://selinuxproject.org/page/Developer_Summit_2009&quot; rel=&quot;nofollow&quot;&gt;summit web page&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Security Microconf&lt;/b&gt;&lt;br /&gt;A security microconf will be held at the co-located &lt;a href=&quot;http://linuxplumbersconf.org/2009/&quot; rel=&quot;nofollow&quot;&gt;Plumbers Conference&lt;/a&gt;.  The &lt;a href=&quot;http://lwn.net/Articles/319215/&quot; rel=&quot;nofollow&quot;&gt;Call for Topics&lt;/a&gt; ends on June 15th, and anyone doing interesting work in Linux security should consider &lt;a href=&quot;http://linuxplumbersconf.org/2009/submit/&quot; rel=&quot;nofollow&quot;&gt;submitting a proposal&lt;/a&gt;.  Also see the &lt;a href=&quot;http://lwn.net/Articles/319329/&quot; rel=&quot;nofollow&quot;&gt;LWN topic discussion&lt;/a&gt; and &lt;a href=&quot;http://paulmck.livejournal.com/6805.html&quot; rel=&quot;nofollow&quot;&gt;Paul McKenney&apos;s recent blog entry&lt;/a&gt; on the event.&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;LinuxCon Talks&lt;/b&gt;&lt;br /&gt;There are several security-related talks at LinuxCon itself:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href=&quot;http://events.linuxfoundation.org/lc09d3&quot; rel=&quot;nofollow&quot;&gt;Paul Moore on NetLabel&lt;/a&gt; and a &lt;a href=&quot;http://events.linuxfoundation.org/lc09td3&quot; rel=&quot;nofollow&quot;&gt;tutorial&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://events.linuxfoundation.org/lc09o1&quot; rel=&quot;nofollow&quot;&gt;Dave Quigley on Labeled NFS&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://events.linuxfoundation.org/lc09o2&quot; rel=&quot;nofollow&quot;&gt;Gary Smith on disk wiping a supercomputer&lt;/a&gt; and &lt;a href=&quot;http://events.linuxfoundation.org/lc09o15&quot; rel=&quot;nofollow&quot;&gt;a new IDS&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://events.linuxfoundation.org/lc09o4&quot; rel=&quot;nofollow&quot;&gt;Dan Walsh on sVirt&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;ul&gt;&lt;/ul&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;I&apos;ll be giving a LinuxCon talk on &lt;a href=&quot;http://events.linuxfoundation.org/lc09o18&quot; rel=&quot;nofollow&quot;&gt;adding extended attributes support to NFSv3&lt;/a&gt;, presenting a prototype implementation (based on the GPL IRIX code) for discussion.  xattrs are a very common feature in Unix and Linux filesystems, but there is no standard for them, nor for conveying them over NFS.  NFSv4 supports &quot;named attributes&quot;, although this is based on  the Solaris extended attribute scheme (subfiles), and somewhat incompatible the simple name/value string-based xattrs supported by Linux, BSD, IRIX etc.  It would be nice to have Linux-style xattrs supported in NFSv3, with the current work then potentially forming the basis for a future NFSv4 protocol extension.  If you&apos;re interested in this stuff, please consider attending and helping with the discussion.&lt;/ul&gt;</description>
  <comments>http://james-morris.livejournal.com/41433.html</comments>
  <category>security</category>
  <category>linuxcon</category>
  <category>mac</category>
  <category>portland</category>
  <category>selinux</category>
  <category>nfs</category>
  <category>linux plumbers conference</category>
  <category>linux foundation</category>
  <category>lsm</category>
  <category>virtualization</category>
  <category>events</category>
  <category>mandatory access control</category>
  <category>svirt</category>
  <category>labeled networking</category>
  <category>fmac</category>
  <category>developers</category>
  <category>labeled nfs</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/41120.html</guid>
  <pubDate>Tue, 26 May 2009 21:56:43 GMT</pubDate>
  <title>SELinux Developer Summit 2009 - date set</title>
  <link>http://james-morris.livejournal.com/41120.html</link>
  <description>&lt;center&gt;&lt;a href=&quot;http://selinuxproject.org/page/Developer_Summit_2009&quot; title=&quot;SELinux Developer Summit 2009 @ LinuxCon, Portland&quot; rel=&quot;nofollow&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://selinuxproject.org/images/selinux-penguin-125.png&quot; alt=&quot;SELinux logo&quot; /&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;The date for the &lt;a href=&quot;http://selinuxproject.org/page/Developer_Summit_2009&quot; rel=&quot;nofollow&quot;&gt;2009 SELinux Developer Summit&lt;/a&gt; has been set for Sunday 20th September, and it will be held as an ancillary event of &lt;a href=&quot;http://events.linuxfoundation.org/events/linuxcon&quot; rel=&quot;nofollow&quot;&gt;LinuxCon&lt;/a&gt; in Portland.&lt;br /&gt;&lt;br /&gt;This is a pre-announcement so that people who are thinking of attending LinuxCon and/or &lt;a href=&quot;http://linuxplumbersconf.org/2009/&quot; rel=&quot;nofollow&quot;&gt;Plumbers Conference&lt;/a&gt; can take advantage of the first level of early registration for LinuxCon, which ends June 1st (this Monday).&lt;br /&gt;&lt;br /&gt;A full announcement for the SELinux developer summit with a CfP will follow shortly.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;a href=&quot;http://identi.ca/&quot; rel=&quot;nofollow&quot;&gt;&lt;img src=&quot;http://avatar.identi.ca/136-24-20090408032140.png&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;p.s. I maintain an Identica (an open Twitter-like service) account for more regular and briefer notes:  &lt;a href=&apos;http://identi.ca/jamesm&apos; rel=&apos;nofollow&apos;&gt;http://identi.ca/jamesm&lt;/a&gt; .  You can subscribe via RSS or simply get an account like &lt;a href=&quot;http://identi.ca/katzj&quot; rel=&quot;nofollow&quot;&gt;all&lt;/a&gt; &lt;a href=&quot;http://identi.ca/gregkh&quot; rel=&quot;nofollow&quot;&gt;the&lt;/a&gt; &lt;a href=&quot;http://identi.ca/mairin&quot; rel=&quot;nofollow&quot;&gt;cool&lt;/a&gt; &lt;a href=&quot;http://identi.ca/blizzard&quot; rel=&quot;nofollow&quot;&gt;kids&lt;/a&gt;. &lt;/i&gt;</description>
  <comments>http://james-morris.livejournal.com/41120.html</comments>
  <category>security</category>
  <category>identica</category>
  <category>linuxcon</category>
  <category>portland</category>
  <category>selinux</category>
  <category>events</category>
  <category>linux</category>
  <category>linuxfoundation</category>
  <category>plumbersconference</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/40812.html</guid>
  <pubDate>Fri, 15 May 2009 05:24:13 GMT</pubDate>
  <title>RIP Anthony Rumble</title>
  <link>http://james-morris.livejournal.com/40812.html</link>
  <description>I was shocked today to read of the &lt;a href=&quot;http://www.rumble.net/blog/index.cgi/me/Anthony_Rumble_1972-2009.html&quot; rel=&quot;nofollow&quot;&gt;passing of Anthony Rumble&lt;/a&gt;, a true pioneer of Linux, the Internet, and electronic commerce in Australia.&lt;br /&gt;&lt;br /&gt;I first met him at an &lt;a href=&quot;http://www.apana.org.au/&quot; rel=&quot;nofollow&quot;&gt;APANA&lt;/a&gt; BBQ in 1994, where he handed me my first Linux distribution: Slackware 1.1.2, with the trusty 0.99pl15 kernel.&lt;br /&gt;&lt;br /&gt;I subsequently worked with Anthony on the &lt;a href=&quot;http://www.ce.com.au/netxpress/netxpress.aspx&quot; rel=&quot;nofollow&quot;&gt;NetXpress&lt;/a&gt; project, which he designed, and which was one of the first significant deployments of Linux in a mission critical role in Australia.  His work went a long way to proving the capability and viability of Linux for larger businesses&amp;mdash;something which is taken for granted today, but certainly was not at the time.  And without his efforts to provide public access Internet in Australia in the early 1990s, I likely would have not even used the Internet until several years later when commercial ISPs started offering retail access.  I suspect there are many today in the Linux and Internet communities who were similarly influenced and assisted by Anthony.&lt;br /&gt;&lt;br /&gt;While I had not seen Anthony for some time, we were good friends and this is very sad news.</description>
  <comments>http://james-morris.livejournal.com/40812.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>4</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/40701.html</guid>
  <pubDate>Tue, 12 May 2009 03:55:59 GMT</pubDate>
  <title>Kernel Conference Australia</title>
  <link>http://james-morris.livejournal.com/40701.html</link>
  <description>I&apos;ve had a talk accepted at the upcoming &lt;a href=&quot;http://au.sun.com/sunnews/events/2009/kernel/index.jsp&quot; rel=&quot;nofollow&quot;&gt;Kernel Conference Australia&lt;/a&gt; (KCA), which will be held in Brisbane in July.&lt;br /&gt;&lt;br /&gt;The &lt;a href=&quot;http://au.sun.com/sunnews/events/2009/kernel/agenda.jsp&quot; rel=&quot;nofollow&quot;&gt;agenda&lt;/a&gt; has just been published, and it certainly looks to be an interesting few days, with a keynote from Jeff Bonwick and Bill Moore, as well as talks by Sherry Moore, Henning Brauer, and Stewart Smith.&lt;br /&gt;&lt;br /&gt;I&apos;ll be giving an overview of the security features of the Linux kernel, which have evolved somewhat over the years, without much in the way of documentation.  KCA requires a paper (or slides with speaker notes), so I hope to be able to use this opportunity to document the current state of Linux kernel security.&lt;br /&gt;&lt;br /&gt;Here&apos;s an excerpt from the abstract I submitted:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;i&gt;The Linux kernel has been extended significantly beyond the traditional Unix security model, incorporating new access control models, cryptographic protection, network packet filtering, credentials management, integrity measurement, privileges (&quot;capabilities&quot;) and memory protection.&lt;br /&gt;&lt;br /&gt;The diversity and flexibility of these security components has allowed Linux to meet a very wide range of user security requirements, from the simplest embedded devices through to general user desktops, networked servers, scientific research facilities, financial trading systems, and classified military and government systems.&lt;br /&gt;&lt;br /&gt;This talk will provide a technical overview of the main security features of the Linux kernel.  We&apos;ll discuss how these features have been developed and made available as standard components of general purpose Linux distributions (often enabled by default), aiming for the broadest possible adoption and benefit to users.&lt;br /&gt;&lt;br /&gt;We&apos;ll also look at current developments, such as the effort to add MAC security labeling support to NFSv4, utilizing new hardware security features, and security interoperability with other operating systems.&lt;/i&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;I&apos;ll also be participating in a security discussion panel.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;a href=&quot;http://www.flickr.com/photos/monkeyc/94433208/&quot; rel=&quot;nofollow&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://farm1.static.flickr.com/19/94433208_a0ea5d51f0_d.jpg&quot; alt=&quot;morning on the city beach by monkeyc.net on flickr&quot; title=&quot;morning on the city beach by monkeyc.net on flickr&quot;&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;And suffering the harsh Brisbane winter.</description>
  <comments>http://james-morris.livejournal.com/40701.html</comments>
  <category>brisbane</category>
  <category>events</category>
  <category>security</category>
  <category>linux</category>
  <category>australia</category>
  <category>kca</category>
  <category>foss</category>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/40331.html</guid>
  <pubDate>Thu, 16 Apr 2009 12:17:43 GMT</pubDate>
  <title>Security Miniconf @ Linux Plumbers 2009</title>
  <link>http://james-morris.livejournal.com/40331.html</link>
  <description>The &lt;a href=&quot;http://linuxplumbersconf.org/2009/2009/04/lpc-2009-call-for-proposals/&quot; rel=&quot;nofollow&quot;&gt;Call for Proposals&lt;/a&gt; for the 2009 &lt;a href=&quot;http://linuxplumbersconf.org/2009/&quot; rel=&quot;nofollow&quot;&gt;Linux Plumbers Conference&lt;/a&gt; has been posted.  This year, there&apos;ll be a Security Microconference with &lt;a href=&quot;http://paulmoore.livejournal.com/&quot; rel=&quot;nofollow&quot;&gt;Paul Moore&lt;/a&gt; and myself as the runners.&lt;br /&gt;&lt;br /&gt;If you&apos;d like to submit a proposal (or simply attend), please see the initial &lt;a href=&quot;http://lwn.net/Articles/319329/&quot; rel=&quot;nofollow&quot;&gt;LWN discussion&lt;/a&gt; to see what kind of issues might be up for discussion.  These are just starter topics, so also feel free to propose anything else which might be of interest to people involved in security and the Linux ecosystem.&lt;br /&gt;&lt;br /&gt;There&apos;s a lot going on in security, and LPC (along with the co-hosted &lt;a href=&quot;http://events.linuxfoundation.org/events/linuxcon&quot; rel=&quot;nofollow&quot;&gt;linuxcon&lt;/a&gt;) seems like a good opportunity for Linux security folk to get together.</description>
  <comments>http://james-morris.livejournal.com/40331.html</comments>
  <category>events</category>
  <category>security</category>
  <category>linux</category>
  <category>developers</category>
  <category>linux plumbers conference</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/39956.html</guid>
  <pubDate>Wed, 08 Apr 2009 01:35:33 GMT</pubDate>
  <title>Congratulations Pia Waugh</title>
  <link>http://james-morris.livejournal.com/39956.html</link>
  <description>People who don&apos;t follow Australian and/or LinuxChix blog aggregators may have missed &lt;a href=&quot;http://en.wikipedia.org/wiki/Pia_Waugh&quot; rel=&quot;nofollow&quot;&gt;Pia Waugh&apos;s&lt;/a&gt; announcement yesterday of her &lt;a href=&quot;http://pipka.org/blog/2009/04/07/going-to-work-on-the-hill/&quot; rel=&quot;nofollow&quot;&gt;new job&lt;/a&gt; as an advisor to federal senator &lt;a href=&quot;http://en.wikipedia.org/wiki/Kate_Lundy&quot; rel=&quot;nofollow&quot;&gt;Kate Lundy&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I&apos;ve always been impressed with Senator Lundy, who held the record for being the youngest woman from the Labor Party to be elected to parliament, and who seemed to be technically clueful in her previous shadow technology roles.  Why she was dropped from the front bench in the new government, and how we ended up with the ploddingly inept Stephen Conroy and his farcical Internet blacklist is something of a mystery to me, but then again, I&apos;m just a simple computer programmer.&lt;br /&gt;&lt;br /&gt;Pia is an exceptionally capable person, and also one of those rare truly genuine types.  I cannot imagine a more appropriate person for the job.   ICT policy in Australia has been a disaster for at least a decade now, and the fact that a senator has been able to recognize and hire someone like Pia as an advisor is cause for real optimism.&lt;br /&gt;&lt;br /&gt;Pia will also be breaking ground in Australian politics by maintaining a public presence via her &lt;a href=&quot;http://pipka.org/&quot; rel=&quot;nofollow&quot;&gt;blog&lt;/a&gt; and &lt;a href=&quot;http://twitter.com/piawaugh&quot; rel=&quot;nofollow&quot;&gt;twitter&lt;/a&gt; accounts.&lt;br /&gt;&lt;br /&gt;Congratulations, Pia!</description>
  <comments>http://james-morris.livejournal.com/39956.html</comments>
  <category>it</category>
  <category>grassroofs</category>
  <category>foss</category>
  <category>technology</category>
  <category>linuxchix</category>
  <category>communications</category>
  <category>australia</category>
  <category>ict</category>
  <category>policy</category>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/39909.html</guid>
  <pubDate>Thu, 26 Mar 2009 07:14:40 GMT</pubDate>
  <title>Security subsystem changes in the 2.6.29 kernel</title>
  <link>http://james-morris.livejournal.com/39909.html</link>
  <description>Here&apos;s an update on some of the main changes to the security subsystem in the &lt;a href=&quot;http://kernelnewbies.org/Linux_2_6_29&quot; rel=&quot;nofollow&quot;&gt;2.6.29&lt;/a&gt; kernel.&lt;br /&gt;&lt;br /&gt;Most of the changes for this kernel relate to infrastructure work and maintenance:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;b&gt;Task Credentials API&lt;/b&gt;&lt;br /&gt;This is a rewrite of the kernel mechanism for managing per-task credentials.  David Howells has been working on this for quite some time, significantly in support of his &lt;a href=&quot;http://people.redhat.com/~dhowells/fscache/&quot; rel=&quot;nofollow&quot;&gt;FS-Cache&lt;/a&gt; work, which will provide a generalized local caching mechanism for networked filesystems (AFS, NFS, CIFS etc.).  There&apos;s a very nice write-up of the new credentials code at &lt;a href=&quot;http://lwn.net/Articles/251469/&quot; rel=&quot;nofollow&quot;&gt;LWN&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Pathname hooks for LSM&lt;/b&gt;&lt;br /&gt;Kentaro Takeda of the &lt;a href=&quot;http://tomoyo.sourceforge.jp/&quot; rel=&quot;nofollow&quot;&gt;TOMOYO&lt;/a&gt; project submitted this &lt;a href=&quot;http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=be6d3e56a6b9b3a4ee44a0685e39e595073c6f0d&quot; rel=&quot;nofollow&quot;&gt;patch&lt;/a&gt; via Al Viro, to provide basic support for pathname-based security schemes.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Smack support for unlabeled network hosts and networks&lt;/b&gt;&lt;br /&gt;The &lt;a href=&quot;http://schaufler-ca.com/&quot; rel=&quot;nofollow&quot;&gt;Smack&lt;/a&gt; LSM now allows normal, unlabeled network traffic, although somewhat &lt;a href=&quot;http://lwn.net/Articles/320647/&quot; rel=&quot;nofollow&quot;&gt;grudgingly&lt;/a&gt;.  Paul Moore &lt;a href=&quot;http://paulmoore.livejournal.com/3509.html&quot; rel=&quot;nofollow&quot;&gt;notes&lt;/a&gt; that this is currently buggy for TCP, but that a fix is forthcoming.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;There were also numerous smaller bugfixes and enhancements: for further details, see the &lt;a href=&quot;http://kernelnewbies.org/Linux_2_6_29#head-c6a450a8b706641a86e089b9eb126a9c7c7bfbf3&quot; rel=&quot;nofollow&quot;&gt;KernelNewbies summary&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The TOMOYO code will be first to utilize the LSM pathname hooks mentioned above: it&apos;s currently queued for Linus in the 2.6.30 merge window.  Also queued for merge is the &lt;a href=&quot;http://domino.research.ibm.com/comm/research_people.nsf/pages/sailer.ima.html&quot; rel=&quot;nofollow&quot;&gt;Integrity Measurement Architecture&lt;/a&gt; (IMA) code from IBM.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;Also, a reminder to people submitting security subsystem patches: please generate them relative to the &apos;next&apos; branch of the security testing tree:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/security-testing-2.6&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and please CC&apos; the &lt;a href=&quot;http://vger.kernel.org/vger-lists.html#linux-security-module&quot; rel=&quot;nofollow&quot;&gt;LSM&lt;/a&gt; list on any security-related discussions.  Thanks.</description>
  <comments>http://james-morris.livejournal.com/39909.html</comments>
  <category>pathnames</category>
  <category>ima</category>
  <category>security</category>
  <category>kernel</category>
  <category>integrity</category>
  <category>smack</category>
  <category>linux</category>
  <category>tomoyo</category>
  <category>lsm</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/39623.html</guid>
  <pubDate>Wed, 11 Mar 2009 14:28:44 GMT</pubDate>
  <title>New Australian Kernel Conference</title>
  <link>http://james-morris.livejournal.com/39623.html</link>
  <description>I just noticed that there&apos;s a new conference for open source kernel developers and researchers, &lt;a href=&quot;http://wikis.sun.com/display/KCA/Home&quot; rel=&quot;nofollow&quot;&gt;Kernel Conference Australia&lt;/a&gt; (KCA).  It&apos;ll be held at UQ in Brisbane in July, and the &lt;a href=&quot;http://wikis.sun.com/display/KCA/KCA2009+-+Call+for+Papers&quot; rel=&quot;nofollow&quot;&gt;CfP&lt;/a&gt; closes on May 1st.&lt;br /&gt;&lt;br /&gt;Linux currently looks a little under-represented, so let&apos;s try and fix that :-)</description>
  <comments>http://james-morris.livejournal.com/39623.html</comments>
  <category>bsd</category>
  <category>brisbane</category>
  <category>os</category>
  <category>kernel</category>
  <category>opensolaris</category>
  <category>events</category>
  <category>linux</category>
  <category>developers</category>
  <category>kca</category>
  <category>kca2009</category>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/39416.html</guid>
  <pubDate>Tue, 03 Mar 2009 23:04:42 GMT</pubDate>
  <title>sVirt merged into upstream libvirt</title>
  <link>http://james-morris.livejournal.com/39416.html</link>
  <description>The &lt;a href=&quot;http://selinuxproject.org/page/SVirt&quot; rel=&quot;nofollow&quot;&gt;sVirt&lt;/a&gt; code has now been &lt;a href=&quot;https://www.redhat.com/archives/libvir-list/2009-March/msg00092.html&quot; rel=&quot;nofollow&quot;&gt;merged&lt;/a&gt; into the upstream &lt;a href=&quot;http://libvirt.org/&quot; rel=&quot;nofollow&quot;&gt;libvirt&lt;/a&gt; repository (&lt;a href=&quot;http://git.et.redhat.com/?p=libvirt.git;a=summary&quot; rel=&quot;nofollow&quot;&gt;git mirror&lt;/a&gt;).  Thanks to Dan Walsh for taking on the remaining userspace development, and Daniel Berrange and the rest of the libvirt folk involved for reviewing and improving the code.&lt;br /&gt;&lt;br /&gt;While we&apos;ll be focusing on the SELinux driver for sVirt, a really useful and cool project for someone interested in security and virtualization would be to develop a SMACK driver.</description>
  <comments>http://james-morris.livejournal.com/39416.html</comments>
  <category>security</category>
  <category>virtualization</category>
  <category>smack</category>
  <category>mac</category>
  <category>kvm</category>
  <category>foss</category>
  <category>selinux</category>
  <category>svirt</category>
  <category>mandatory access control</category>
  <category>linux</category>
  <category>libvirt</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/39013.html</guid>
  <pubDate>Fri, 27 Feb 2009 00:10:56 GMT</pubDate>
  <title>Locking down your browser plugins in F10</title>
  <link>http://james-morris.livejournal.com/39013.html</link>
  <description>With the recent news of multiple vulnerabilities in Adobe &lt;a href=&quot;http://www.techspot.com/news/33722-Adobe-patches-critical-Flash-player-vulnerabilities.html&quot; rel=&quot;nofollow&quot;&gt;flash&lt;/a&gt; and &lt;a href=&quot;http://news.cnet.com/8301-1009_3-10168266-83.html&quot; rel=&quot;nofollow&quot;&gt;PDF&lt;/a&gt; software, folk running Fedora 10 may wish to consider using SELinux to confine browser plugins.&lt;br /&gt;&lt;br /&gt;Dan Walsh has previously implemented SELinux lockdown for browser plugins via &lt;a href=&quot;http://gwenole.beauchesne.info//en/projects/nspluginwrapper&quot; rel=&quot;nofollow&quot;&gt;nspluginwrapper&lt;/a&gt;, as discussed &lt;a href=&quot;http://danwalsh.livejournal.com/15700.html&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;.  Unfortunately, this has been disabled by default, due to a &lt;a href=&quot;http://danwalsh.livejournal.com/25599.html&quot; rel=&quot;nofollow&quot;&gt;clash&lt;/a&gt; with the &lt;a href=&quot;http://mozplugger.mozdev.org/&quot; rel=&quot;nofollow&quot;&gt;mozplugger&lt;/a&gt; package, which uses nspluginwrapper to launch applications inside the browser.&lt;br /&gt;&lt;br /&gt;Personally, I&apos;m happy to have OpenOffice or similar open up in a separate window, using the standard Firefox mechanism for doing so, especially if it means I&apos;m able to keep browser plugin confinement enabled.&lt;br /&gt;&lt;br /&gt;Here&apos;s what I did:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# yum remove mozplugger&lt;br /&gt;&lt;br /&gt;# setsebool -P allow_unconfined_nsplugin_transition=on &lt;br /&gt;&lt;br /&gt;# setsebool -P allow_nsplugin_execmem=off&lt;br /&gt;&lt;br /&gt;# setsebool -P nsplugin_can_network=off&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;This of course removes mozplugger, but I don&apos;t seem to need it.  When downloading a PDF, for example, Firefox prompts if I want to open it with evince, and provides me with an option to always do that without further prompting.  YMMV.&lt;br /&gt;&lt;br /&gt;The &lt;code&gt;setsebool&lt;/code&gt; commands change several nspluginwrapper options in SELinux, while the -P option ensures that the changes persist across reboots (see setsebool(8)).&lt;br /&gt;&lt;br /&gt;Detailed explanation:&lt;ul&gt;&lt;li&gt;Enabling &lt;code&gt;allow_unconfined_nsplugin_transition&lt;/code&gt; ensures that nspluginwrapper transitions to a new security label when running a plugin, so that special security policy can be applied to it.  This is required for any useful effect.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Disabling &lt;code&gt;allow_nsplugin_execmem&lt;/code&gt; ensures that &lt;a href=&quot;http://people.redhat.com/drepper/selinux-mem.html&quot; rel=&quot;nofollow&quot;&gt;memory protections&lt;/a&gt; are being enforced to prevent plugins from executing code on the stack and in mapped memory.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Disabling &lt;code&gt;nsplugin_can_network&lt;/code&gt; prevents plugins from connecting to anything other than reserved ports.  Apparently, this may upset some flash code which wants to call home (you&apos;d be surprised how much of this goes on, or perhaps not), so you may want to leave this as-is, or at least keep an eye on the messages from setroubleshoot.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Note that if you do run into problems, you can put SELinux into permissive mode rather than disabling it, which will at least provide some useful logging information (and feel free to post questions to the &lt;a href=&quot;https://www.redhat.com/mailman/listinfo/fedora-selinux-list&quot; rel=&quot;nofollow&quot;&gt;fedora-selinux-list&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;Btw, here&apos;s how to configure SELinux for permissive mode:&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;a href=&quot;http://www.flickr.com/photos/x_jamesmorris/3312039159/&quot; title=&quot;SELinux administration in Fedora 10 by x_jamesmorris, on Flickr&quot; rel=&quot;nofollow&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3354/3312039159_1d696acc7e.jpg&quot; width=&quot;500&quot; height=&quot;313&quot; alt=&quot;SELinux administration in Fedora 10&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;small&gt;System -&amp;gt; Administration -&amp;gt; SELinux Management&lt;/small&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;a href=&quot;http://www.flickr.com/photos/x_jamesmorris/3312039151/&quot; title=&quot;Setting SELinux enforcing mode in Fedora 10 by x_jamesmorris, on Flickr&quot; rel=&quot;nofollow&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3595/3312039151_7f02f85719.jpg&quot; width=&quot;500&quot; height=&quot;313&quot; alt=&quot;Setting SELinux enforcing mode in Fedora 10&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;small&gt;Set &apos;System Default Enforcing Mode&apos; to &apos;Permissive&apos;&lt;/small&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;And you&apos;re done.&lt;br /&gt;&lt;br /&gt;A &lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=469257&quot; rel=&quot;nofollow&quot;&gt;bugzilla ticket&lt;/a&gt; has been opened on the issue of finding a long-term solution which allows both mozplugger and plugin confinement to co-exist, but unfortunately, users currently need to decide whether they prefer increased security or a more Windows-like experience, with the latter as the default.</description>
  <comments>http://james-morris.livejournal.com/39013.html</comments>
  <category>plugins</category>
  <category>security</category>
  <category>screenshots</category>
  <category>desktop</category>
  <category>mac</category>
  <category>adobe</category>
  <category>fedora</category>
  <category>selinux</category>
  <category>fedora10</category>
  <category>setebool</category>
  <category>linux</category>
  <category>browser</category>
  <category>firefox</category>
  <lj:security>public</lj:security>
  <lj:reply-count>3</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/38821.html</guid>
  <pubDate>Tue, 24 Feb 2009 11:15:50 GMT</pubDate>
  <title>LCA sVirt talk video online</title>
  <link>http://james-morris.livejournal.com/38821.html</link>
  <description>Some videos from &lt;a href=&quot;http://linux.conf.au/&quot; rel=&quot;nofollow&quot;&gt;LCA 2009&lt;/a&gt; have been posted online, per &lt;a href=&quot;http://lists.marchsouth.org/pipermail/lca09_chat_lists.marchsouth.org/2009-February/001322.html&quot; rel=&quot;nofollow&quot;&gt;this email&lt;/a&gt; from Mary Gardiner.&lt;br /&gt;&lt;br /&gt;The video from my &lt;a href=&quot;http://selinuxproject.org/page/SVirt&quot; rel=&quot;nofollow&quot;&gt;sVirt&lt;/a&gt; (MAC security for Linux virtualization) talk is available as an &lt;a href=&quot;http://mirror.linux.org.au/pub/linux.conf.au/2009/Friday/152.ogg&quot; rel=&quot;nofollow&quot;&gt;OGG&lt;/a&gt; file.  I&apos;ve also re-uploaded it as a &lt;a href=&quot;http://video.google.com/videoplay?docid=5750618585157629496&amp;amp;hl=en&quot; rel=&quot;nofollow&quot;&gt;google video&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;lj-embed id=&quot;2&quot; /&gt;&lt;/center&gt;I&apos;d suggest having a copy of the &lt;a href=&quot;http://namei.org/presentations/svirt-lca-2009.pdf&quot; rel=&quot;nofollow&quot;&gt;slides&lt;/a&gt; open when watching, as they&apos;re not always shown in the video, and you&apos;re definitely better off looking at them than me in any case.&lt;br /&gt;&lt;br /&gt;LCA was a genuinely enjoyable conference: laid-back and really well organized, with a good balance of talks.  One really great aspect was the way internet access was provided to the accommodation, which at least in my case, worked perfectly, with a microwave link from UTAS connected to the hotel&apos;s internal wiring.  I often need to work during conferences, and having good network access is probably my top priority in selecting accommodation.&lt;br /&gt;&lt;br /&gt;I was glad to be part of the &lt;a href=&quot;http://linux.conf.au/wiki/index.php?n=Miniconfs.SecuritySchedule&quot; rel=&quot;nofollow&quot;&gt;security miniconf&lt;/a&gt; organized by Casey Schaufler, which brought together folk from the kernel security community and various highly technical folk.  There were talks from several leading security developers, including Casey (fs capabilities and rootless systems), Russell Coker (standing in for Kaigai Kohei on SE-postgresql and web application MAC), and Kentaro Takeda (TOMOYO).  The miniconf concluded with an open panel discussion which was &lt;a href=&quot;http://lwn.net/Articles/315974/&quot; rel=&quot;nofollow&quot;&gt;covered by LWN&lt;/a&gt;.  For reasons I can&apos;t quite recall now, I ended up doing an ad-hoc presentation on &lt;a href=&quot;http://namei.org/presentations/fedora-kiosk-mode-foss-my-2008.pdf&quot; rel=&quot;nofollow&quot;&gt;Fedora Kiosk Mode&lt;/a&gt;, which I think helped demonstrate some of the progress SELinux has made in terms of usability and extension to general use scenarios.&lt;br /&gt;&lt;br /&gt;Also see my &lt;a href=&quot;http://flickr.com/photos/x_jamesmorris/sets/72157612804897704/&quot; rel=&quot;nofollow&quot;&gt;flickr photoset&lt;/a&gt;, and a short &lt;a href=&quot;http://www.youtube.com/watch?v=MYn4SVEW4yI&amp;amp;fmt=18&quot; rel=&quot;nofollow&quot;&gt;video&lt;/a&gt; of one of the exhibitions from the &lt;a href=&quot;https://conf.linux.org.au/programme/batteriesnotincluded&quot; rel=&quot;nofollow&quot;&gt;Batteries Not Included&lt;/a&gt; art exhibition, which ran as part of the conference.&lt;br /&gt;&lt;br /&gt;LCA 2010 will be held in Wellington, New Zealand -- here&apos;s an &lt;a href=&quot;http://www.youtube.com/watch?gl=AU&amp;amp;hl=en-GB&amp;amp;v=AWVoaf3OuN8&amp;amp;fmt=18&quot; rel=&quot;nofollow&quot;&gt;amusing video&lt;/a&gt; by the organizers.  I hope to make it there.</description>
  <comments>http://james-morris.livejournal.com/38821.html</comments>
  <category>security</category>
  <category>kernel</category>
  <category>smack</category>
  <category>mac</category>
  <category>fedora</category>
  <category>foss</category>
  <category>selinux</category>
  <category>hobart</category>
  <category>tomoyo</category>
  <category>linux</category>
  <category>tasmania</category>
  <category>linux.conf.au</category>
  <category>lsm</category>
  <category>virtualization</category>
  <category>lca2009</category>
  <category>mandatory access control</category>
  <category>events</category>
  <category>svirt</category>
  <category>libvirt</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/38482.html</guid>
  <pubDate>Fri, 23 Jan 2009 01:02:36 GMT</pubDate>
  <title>sVirt slides from LCA</title>
  <link>http://james-morris.livejournal.com/38482.html</link>
  <description>The slides from my &lt;a href=&quot;http://linux.conf.au/&quot; rel=&quot;nofollow&quot;&gt;LCA&lt;/a&gt; talk on &lt;a href=&quot;http://selinuxproject.org/page/SVirt&quot; rel=&quot;nofollow&quot;&gt;sVirt&lt;/a&gt; talk may be found &lt;a href=&quot;http://selinuxproject.org/~jmorris/svirt-lca-2009.pdf&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt; in PDF format.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The talk seemed to go reasonably well, and had a larger audience than I expected given that Tridge and Willy were talking at the same time.  A video of the talk should appear online soon.</description>
  <comments>http://james-morris.livejournal.com/38482.html</comments>
  <category>lca</category>
  <category>security</category>
  <category>smack</category>
  <category>mac</category>
  <category>kvm</category>
  <category>foss</category>
  <category>selinux</category>
  <category>hobart</category>
  <category>linux</category>
  <category>tasmania</category>
  <category>linux.conf.au</category>
  <category>lsm</category>
  <category>virtualization</category>
  <category>events</category>
  <category>mandatory access control</category>
  <category>svirt</category>
  <category>lca2009</category>
  <category>libvirt</category>
  <lj:security>public</lj:security>
  <lj:reply-count>3</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/38392.html</guid>
  <pubDate>Thu, 22 Jan 2009 06:43:28 GMT</pubDate>
  <title>MacBook vs. projector saga</title>
  <link>http://james-morris.livejournal.com/38392.html</link>
  <description>I&apos;ve finally found reliable workarounds for a long-standing &lt;a href=&quot;http://james-morris.livejournal.com/32669.html&quot; rel=&quot;nofollow&quot;&gt;issue&lt;/a&gt; where my Intel MacBook doesn&apos;t work with most projectors.&lt;br /&gt;&lt;br /&gt;The error message when trying to use xrandr to force output via VGA looks like:&lt;br /&gt;&lt;pre&gt;
$ xrandr --output VGA --auto
xrandr: cannot find crtc for output VGA
&lt;/pre&gt;&lt;br /&gt;It seems the driver has a bug where it thinks it has the hardware available to drive the LCD panel, DVI and analogue VGA outputs at the same time, when it can in fact only handle two of these.  xrandr shows three displays enabled:&lt;br /&gt;&lt;pre&gt;
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1280 x 1280
VGA connected (normal left inverted right x axis y axis)
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 286mm x 179mm
   1280x800       59.9 +
   1024x768       60.0* 
   800x600        60.3
   640x480        59.9  
TMDS-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0* 
   800x600        60.3  
   640x480        59.9  
TV disconnected (normal left inverted right x axis y axis)
&lt;/pre&gt;&lt;br /&gt;I&apos;m guessing this might have something to do with both analogue and digital signals being sent out the same connector.  In any case, the fix is to disable &apos;TMDS-1&apos;.&lt;br /&gt;&lt;br /&gt;This can be done during an active session:&lt;br /&gt;&lt;pre&gt;
$ xrandr --output TMDS-1 --off

$ xrandr --output VGA --auto
&lt;/pre&gt;&lt;br /&gt;The X server can also be configured to disable &apos;TMDS-1&apos; during startup.  On F10, you need to first create an xorg.conf.  I ended up doing this:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
# yum install system-config-display

# system-config-display
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;and just quit, which seems to cause &lt;code&gt;/etc/X11/xorg.conf&lt;/code&gt; to be generated.&lt;br /&gt;&lt;br /&gt;I edited the file, adding the &quot;Option&quot; line to the &quot;Device&quot; section:&lt;br /&gt;&lt;pre&gt;
Section &quot;Device&quot;
	Identifier  &quot;Videocard0&quot;
	Driver      &quot;intel&quot;
	Option      &quot;monitor-TMDS-1&quot; &quot;dvi&quot;
EndSection
&lt;/pre&gt;&lt;br /&gt;then, I added this section:&lt;br /&gt;&lt;pre&gt;
Section &quot;Monitor&quot;
        Identifier &quot;dvi&quot;
        Option &quot;Disable&quot;  &quot;true&quot;
EndSection
&lt;/pre&gt;&lt;br /&gt;which all seems to work ok for me and is about as obvious as quantum supergravity.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;a href=&quot;http://www.flickr.com/photos/x_jamesmorris/3217510322/&quot; title=&quot;TUZ by x_jamesmorris, on Flickr&quot; rel=&quot;nofollow&quot;&gt;&lt;img src=&quot;http://farm4.static.flickr.com/3400/3217510322_4d9d4700b5_o.png&quot; width=&quot;319&quot; height=&quot;473&quot; alt=&quot;TUZ&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;http://linux.conf.au/&quot; rel=&quot;nofollow&quot;&gt;LCA&lt;/a&gt; has been great fun so far -- more later.</description>
  <comments>http://james-morris.livejournal.com/38392.html</comments>
  <category>lca</category>
  <category>intel</category>
  <category>tuz</category>
  <category>xrandr</category>
  <category>lca2009</category>
  <category>macbook</category>
  <category>linux</category>
  <category>linux.conf.au</category>
  <category>projector</category>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/38052.html</guid>
  <pubDate>Mon, 12 Jan 2009 23:53:31 GMT</pubDate>
  <title>LCA next week &amp; introduction to sVirt</title>
  <link>http://james-morris.livejournal.com/38052.html</link>
  <description>I&apos;m preparing to travel to Hobart for &lt;a href=&quot;http://linux.conf.au/&quot; rel=&quot;nofollow&quot;&gt;LCA&lt;/a&gt; next week, which will be a refreshing break from the 40&amp;deg; heat in Sydney, and from conference jet lag&amp;mdash;this will my first same-timezone conference in a couple of years, and the closest I&apos;ve ever been to Antarctica.&lt;br /&gt;&lt;br /&gt;I&apos;ll be giving a &lt;a href=&quot;http://linux.conf.au/programme/schedule/view_talk/152?day=friday&quot; rel=&quot;nofollow&quot;&gt;talk&lt;/a&gt; on &lt;a href=&quot;http://selinuxproject.org/page/SVirt&quot; rel=&quot;nofollow&quot;&gt;sVirt&lt;/a&gt;, a project to harden Linux-based virtualization with MAC security.  From the abstract:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;With increased use of virtualization, one security benefit of physically separated systems -- strong isolation -- is reduced, an issue which may be ameliorated with the application of MAC security (e.g. SELinux, SMACK) in the host system.&lt;br /&gt;&lt;br /&gt;For example, a flaw in the hypervisor or errant misconfiguration of the host may allow a virtualized guest OS to &quot;break out&quot; into the host environment and compromise other guests. By applying MAC security to virtual machine instances at the host level, such threats may be mitigated through strong isolation and containment of guests.&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;If you think hypervisor flaws are merely some kind of theoretical threat, &lt;a href=&quot;http://theinvisiblethings.blogspot.com/2008/07/0wning-xen-in-vegas.html&quot; rel=&quot;nofollow&quot;&gt;you&apos;re dreaming&lt;/a&gt;.  A large number of folk seem to be entirely unware of virtualization security issues, according to &lt;a href=&quot;http://www.scaleoutadvantage.techweb.com/news/hom_nwc20070903_sumoffears.jhtml&quot; rel=&quot;nofollow&quot;&gt;Joe Hernick of Network Computing&lt;/a&gt;:&lt;br /&gt;&lt;blockquote&gt;&lt;i&gt;To find out how prepared our readers are, we fielded a survey—and got some eye-popping results. We can&apos;t help thinking that the 43% saying they feel virtualized machines are just as safe and secure as traditional environments are whistling past the graveyard. Of the 384 IT operations and security professionals responding, a mere 11% have put formal strategies in place to protect their VMs.&lt;/i&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;Hyperbole aside, people who are deploying virtualized systems definitely need to start thinking about this stuff.&lt;br /&gt;&lt;br /&gt;The sVirt project is currently in initial development, with the aim of making a v1.0 release shipping this year in Fedora.  A key feature of the initial release will providing simple MAC isolation of &lt;a href=&quot;http://en.wikipedia.org/wiki/Kernel-based_Virtual_Machine&quot; rel=&quot;nofollow&quot;&gt;KVM&lt;/a&gt; domains, so virtualized systems can&apos;t attack each other or the host system.&lt;br /&gt;&lt;br /&gt;While Dan Walsh gave an ad-hoc talk on the subject last week at &lt;a href=&quot;http://fedoraproject.org/wiki/FUDCon/FUDConF11&quot; rel=&quot;nofollow&quot;&gt;Fudcon&lt;/a&gt; in &lt;a href=&quot;http://flickr.com/photos/christopherblizzard/3189277789/&quot; rel=&quot;nofollow&quot;&gt;Boston&lt;/a&gt;, and I gave an ad-hoc lightning talk at &lt;a href=&quot;http://foss.my/&quot; rel=&quot;nofollow&quot;&gt;Foss.my&lt;/a&gt;, this will be the first planned presentation properly outlining the goals, architecture and implementation strategy; and how this is part of extending flexible MAC security across every level of the modern application stack from the local OS to the globally distributed environment (cloud, grid et al).   There&apos;s no shortage of interesting and bizarrely difficult problems to solve in this area.  Or buzzwords.&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;a href=&quot;http://linux.conf.au/&quot; rel=&quot;nofollow&quot;&gt;&lt;img src=&quot;http://linux.conf.au/images/tuz.png&quot; border=&quot;0&quot;&gt;&lt;/a&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;LCA looks to be a fun conference this year, if not perhaps a little subdued due to the economic crisis (and hopefully nothing to do with Tasmania being the world&apos;s leading producer of pharmaceutical opiates).&lt;br /&gt;&lt;br /&gt;I expect to be attending the &lt;a href=&quot;http://lca2009.wiki.kernel.org/index.php/Schedule&quot; rel=&quot;nofollow&quot;&gt;Linux Kernel&lt;/a&gt; and &lt;a href=&quot;http://linux.conf.au/wiki/index.php?n=Miniconfs.SecuritySchedule&quot; rel=&quot;nofollow&quot;&gt;Security&lt;/a&gt; miniconfs.&lt;br /&gt;&lt;br /&gt;Talks I hope to see include:&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://linux.conf.au/programme/schedule/view_talk/131?day=all&quot; rel=&quot;nofollow&quot;&gt;AIO: Why is this so hard?&lt;/a&gt; (Zach Brown)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://linux.conf.au/programme/schedule/view_talk/161?day=all&quot; rel=&quot;nofollow&quot;&gt;Using a Malicious User-Level RCU to Torture RCU-Based Algorithms&lt;/a&gt; (Paul McKenney)&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href=&quot;http://linux.conf.au/programme/schedule/view_talk/189?day=all&quot; rel=&quot;nofollow&quot;&gt;Geek my Ride&lt;/a&gt; (Jon Oxer and Jared Herbohn)&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;The organizers have just &lt;a href=&quot;http://linux.conf.au/media/news/77&quot; rel=&quot;nofollow&quot;&gt;announced&lt;/a&gt; mystery prizes for folk registering in the final week, so if you&apos;re yet to decide whether to attend, there&apos;s some more encouragement.&lt;br /&gt;&lt;br /&gt;Frankly, with the current economic situation, I would consider attending a top-notch FOSS conference like this a priority in terms of useful things to do to bolster your career.</description>
  <comments>http://james-morris.livejournal.com/38052.html</comments>
  <category>security</category>
  <category>virtualization</category>
  <category>smack</category>
  <category>opium</category>
  <category>kvm</category>
  <category>foss</category>
  <category>selinux</category>
  <category>hobart</category>
  <category>lca2009</category>
  <category>mandatory access control</category>
  <category>events</category>
  <category>svirt</category>
  <category>linux</category>
  <category>tasmania</category>
  <category>linux.conf.au</category>
  <lj:security>public</lj:security>
  <lj:reply-count>3</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/37748.html</guid>
  <pubDate>Wed, 07 Jan 2009 09:37:42 GMT</pubDate>
  <title>Kernel Security Wiki</title>
  <link>http://james-morris.livejournal.com/37748.html</link>
  <description>This is to announce a &lt;a href=&quot;http://security.wiki.kernel.org/index.php/Main_Page&quot; rel=&quot;nofollow&quot;&gt;kernel security subsystem wiki&lt;/a&gt;, supported by the kind folk at kernel.org.  It&apos;s intended for use by community developers and users of kernel security projects.  So far, there are sections on working with the security-testing git repo, a listing of various kernel security projects, and an events page.  If there&apos;s something you&apos;d like to see or change on the wiki (particularly if it relates to your own project), &lt;a href=&quot;http://security.wiki.kernel.org/index.php?title=Special:UserLogin&amp;amp;returnto=Main_Page&quot; rel=&quot;nofollow&quot;&gt;create an account&lt;/a&gt; and make it so.&lt;br /&gt;&lt;br /&gt;Note that this wiki is &lt;em&gt;not&lt;/em&gt; related to security response: the security incident contact for the kernel per the MAINTAINERS file is security @ kernel.org.</description>
  <comments>http://james-morris.livejournal.com/37748.html</comments>
  <category>wiki</category>
  <category>security</category>
  <category>kernel</category>
  <category>linux</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/37583.html</guid>
  <pubDate>Tue, 06 Jan 2009 11:11:59 GMT</pubDate>
  <title>Security changes in the 2.6.28 kernel</title>
  <link>http://james-morris.livejournal.com/37583.html</link>
  <description>Version &lt;a href=&quot;http://kernelnewbies.org/Linux_2_6_28&quot; rel=&quot;nofollow&quot;&gt;2.6.28&lt;/a&gt; of the Linux kernel was released during Christmas, so I thought it&apos;d be worthwhile waiting until after typical vacation days to post a summary of changes to the security subsystem.  As always, thanks to the &lt;a href=&quot;http://kernelnewbies.org/&quot; rel=&quot;nofollow&quot;&gt;Kernel Newbies&lt;/a&gt; folk who track major kernel changes.&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Dummy SELinux policy support&lt;/b&gt;&lt;br /&gt;Serge Hallyn added a &lt;a href=&quot;http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=93c06cbbf9fea5d5be1778febb7fa9ab1a74e5f5&quot; rel=&quot;nofollow&quot;&gt;dummy policy&lt;/a&gt; for SELinux to the kernel tree.  This is useful for testing SELinux and a base for building minimal and experimental security policies.&lt;br /&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Bouned per-thread security contexts for SELinux&lt;/b&gt;&lt;br /&gt;KaiGai Kohei submitted &lt;a href=&quot;http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=d9250dea3f89fe808a525f08888016b495240ed4&quot; rel=&quot;nofollow&quot;&gt;a patch&lt;/a&gt; which allows different threads in a process to be labeled with distinct security contexts.  Such threads are guaranteed to not exceed the security policy permissions of the parent process.  This is part of his work in extending SELinux to the web application stack, and in this case, is aimed at constraining in-process web server scripts (e.g. mod_python applications).&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;Labeled networking updates&lt;/b&gt;&lt;br /&gt;Paul Moore provided a series of updates to the Labeled networking subsystem, which he promises to document on his &lt;a href=&quot;http://paulmoore.livejournal.com/&quot; rel=&quot;nofollow&quot;&gt;blog&lt;/a&gt;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;MAC policy for privilege in Smack&lt;/b&gt;&lt;br /&gt;Casey Schaufler &lt;a href=&quot;http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=15446235367fa4a621ff5abfa4b6ebbe25b33763&quot; rel=&quot;nofollow&quot;&gt;extended Smack&lt;/a&gt; so that MAC policy may be used to limit the use of privilege.  Previously, the Smack model maintained strict orthogonality between privilege and access control, where privileged processes were exempted from MAC policy enforcement.  This feature allows for MAC policy enforcement of processes running with specific security label (as written to &lt;code&gt;/smack/onlycap&lt;/code&gt;), or for all processes if the &lt;code&gt;onlycap&lt;/code&gt; label is specified as &apos;*&apos;.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;b&gt;TPM updates&lt;/b&gt;&lt;br /&gt;Rajiv Andrade provided &lt;a href=&quot;http://lkml.org/lkml/2008/9/23/261&quot; rel=&quot;nofollow&quot;&gt;several updates&lt;/a&gt; for the &lt;a href=&quot;http://en.wikipedia.org/wiki/Trusted_Platform_Module&quot; rel=&quot;nofollow&quot;&gt;TPM&lt;/a&gt; driver.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;This was not a terribly exciting release for the security subsystem.&lt;br /&gt;&lt;br /&gt;Thus far for the 2.6.29 kernel, the main change is the massive credentials API change from David Howells.  This has caused a couple of regressions, which were picked up by subsystem testing of Linus&apos; tree.  Fixes have been developed and are currently partially merged upstream.  It seems we need to get more testing done in linux-next to avoid such breakage during future merge windows.&lt;br /&gt;&lt;br /&gt;Also noteworthy is the merge of the &lt;a href=&quot;http://marc.info/?l=git-commits-head&amp;amp;m=123077158301181&amp;amp;w=2&quot; rel=&quot;nofollow&quot;&gt;pathname security&lt;/a&gt; hooks for LSM, which should pave the way for TOMOYO and AppArmor in 2.6.30, subject to the general patch submission review process.  TOMOYO is only a couple of acks from approval, has been baking in -mm, and is pretty much self-contained.  It may even appear in 2.6.29 if the merge window is open for features long enough.</description>
  <comments>http://james-morris.livejournal.com/37583.html</comments>
  <category>security</category>
  <category>kernel</category>
  <category>smack</category>
  <category>apparmor</category>
  <category>mac</category>
  <category>selinux</category>
  <category>labeled networking</category>
  <category>linux</category>
  <category>tomoyo</category>
  <category>lsm</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://james-morris.livejournal.com/37303.html</guid>
  <pubDate>Fri, 19 Dec 2008 03:21:28 GMT</pubDate>
  <title>Track the security-testing git tree via identica</title>
  <link>http://james-morris.livejournal.com/37303.html</link>
  <description>If you&apos;re interested in tracking commits to the &lt;a href=&quot;http://git.kernel.org/?p=linux/kernel/git/jmorris/security-testing-2.6.git;a=summary&quot; rel=&quot;nofollow&quot;&gt;security testing tree&lt;/a&gt;, you can now do so via &lt;a href=&quot;http://identi.ca/securitytestingtree&quot; rel=&quot;nofollow&quot;&gt;identica&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Commits to the master git repo are sent via gregkh&apos;s &lt;a href=&quot;http://github.com/gregkh/bti/tree/master&quot; rel=&quot;nofollow&quot;&gt;bti&lt;/a&gt;, using the following script as the $repo/hooks/post-receive hook:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;#!/bin/bash&lt;br /&gt;&lt;br /&gt;read oldrev newrev refname&lt;br /&gt;&lt;br /&gt;short_refname=${refname##refs/heads/}&lt;br /&gt;&lt;br /&gt;/usr/bin/git rev-list $oldrev...$newrev --no-merges --pretty=format:&quot;%h|%ae|%s&quot; --abbrev-commit | grep -v ^commit |&lt;br /&gt;while read a; do&lt;br /&gt;        echo &quot;$short_refname|$a&quot; | cut -f-140 | ~/bin/bti&lt;br /&gt;        sleep 1&lt;br /&gt;done&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;It may not scale too well, but it&apos;s simple.  Suggestions for improvement are welcome.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Unrelatedly, here&apos;s a short video I took of a long train in Bangalore:&lt;br /&gt;&lt;br /&gt;&lt;center&gt;&lt;object width=&quot;425&quot; height=&quot;350&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/o2ilVl7SfjI&quot;&gt;&lt;/param&gt;&lt;embed src=&quot;http://www.youtube.com/v/o2ilVl7SfjI&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;425&quot; height=&quot;350&quot; allowScriptAccess=&quot;never&quot; &gt;&lt;/embed&gt;&lt;/object&gt;&lt;/center&gt;&lt;br /&gt;&lt;br /&gt;&lt;small&gt;&lt;i&gt;(&lt;a href=&quot;http://www.youtube.com/watch?v=o2ilVl7SfjI&amp;amp;fmt=18&quot; rel=&quot;nofollow&quot;&gt;Higher quality version&lt;/a&gt;)&lt;/i&gt;&lt;/small&gt;</description>
  <comments>http://james-morris.livejournal.com/37303.html</comments>
  <category>bangalore</category>
  <category>security</category>
  <category>kernel</category>
  <category>linux</category>
  <category>india</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
