<?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>Musings &#187; Fedora 11</title>
	<atom:link href="http://blog.fpmurphy.com/category/fedora-11/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.fpmurphy.com</link>
	<description>of an OS plumber</description>
	<lastBuildDate>Wed, 11 Jan 2012 19:14:13 +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>Project Plymouth</title>
		<link>http://blog.fpmurphy.com/2009/09/project-plymouth.html</link>
		<comments>http://blog.fpmurphy.com/2009/09/project-plymouth.html#comments</comments>
		<pubDate>Sun, 13 Sep 2009 21:25:08 +0000</pubDate>
		<dc:creator>fpmurphy</dc:creator>
				<category><![CDATA[DRM]]></category>
		<category><![CDATA[Fedora 11]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nVidia]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Plymouth]]></category>
		<category><![CDATA[rhgb]]></category>

		<guid isPermaLink="false">http://blog.fpmurphy.com/?p=276</guid>
		<description><![CDATA[The aim of the Plymouth project is to answer the oft-stated user requirement that their computer startup be flicker-free, seamless, shiny and logged. In this post I examine the current state of the project and show you how to customize your startup and shutdown experience.  ]]></description>
		<wfw:commentRss>http://blog.fpmurphy.com/2009/09/project-plymouth.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fedora 11 New Extended File Attributes Namespace</title>
		<link>http://blog.fpmurphy.com/2009/06/fedora-11-extended-attibutes-namespace.html</link>
		<comments>http://blog.fpmurphy.com/2009/06/fedora-11-extended-attibutes-namespace.html#comments</comments>
		<pubDate>Mon, 15 Jun 2009 14:31:00 +0000</pubDate>
		<dc:creator>fpmurphy</dc:creator>
				<category><![CDATA[Extended Attributes]]></category>
		<category><![CDATA[Fedora 11]]></category>
		<category><![CDATA[XAM]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.fpmurphy.com/2009/06/fedora-11-new-extended-file-attributes-namespace.html</guid>
		<description><![CDATA[<p>I am experimenting with XAM (eXtensible Access Method), which is a storage standard developed by SNIA (Storage Networking Industry Association and have developed a first prototype of a VIM (Vendor Interface Module) for the ext4 file system based on adding another namespace to the current extended file attributes support.&#160; Since other Linux developers might be interested in how to add an extended attributes namespace to a file system, I decided to publish this post as a guide.</p> <p>Extended file attributes (EA) are extensions to the normal attributes which are associated with inodes in a file system.&#160; They are simply name:value pairs associated with files and directories and whose purpose is to provide additional functionality which is either defined by the operating system or a user application.&#160; An EA may be defined or undefined.&#160; If an EA is defined, its value may be empty or non-empty.&#160; Most of the initial work to support EAs in Linux was done by Andreas Gruenbacher in the 2001 to 2004 timeframe and is based on work done in the SGI XFS file system.</p> <p>EAs are stored directly in inodes and on additional disk blocks if necessary.&#160; Currently all EAs associated with a file must fit in an inode and one additional block.&#160; Blocks that contain the identical set of EAs may be shared among several inodes.&#160; EAs in inodes and on blocks have a different header followed by multiple entry descriptors.&#160; Entry descriptors are sorted in disk blocks but are left unsorted in inodes. </p> <p>EA names are zero-terminated strings and are always specified using a fully qualified namespace.attribute e.g. system.posix_acl_access or security.selinux.&#160; Namespaces are used to define different classes of EAs.&#160; Different EA classes are required because the permissions and capabilities required for manipulating EAs in one namespace may differ from one to another.&#160; Currently Linux supports EA namespaces for SELinux (security.), system (system.), trusted (trusted.) and user (user.).</p> <p>Fedora 11 comes with EA support in the Linux kernel and hence it is the kernel which must be modified in order to add another EA namespace.&#160; In my case I wanted to add an EA namespace called snia in order to support XAM XSet metadata (see below). </p> <p>Here is the patch file for the Fedora 11 2.6.29.4-167.fc11 kernel which implements the snia namespace.&#160; It should work for both 32-bit and 64-bit kernels but I have only tested it on a 64-bit kernel. diff ]]></description>
		<wfw:commentRss>http://blog.fpmurphy.com/2009/06/fedora-11-extended-attibutes-namespace.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Fedora 11 nVidia Twinview Support</title>
		<link>http://blog.fpmurphy.com/2009/06/fedora-11-nvidia-twinview-support.html</link>
		<comments>http://blog.fpmurphy.com/2009/06/fedora-11-nvidia-twinview-support.html#comments</comments>
		<pubDate>Thu, 11 Jun 2009 17:07:00 +0000</pubDate>
		<dc:creator>fpmurphy</dc:creator>
				<category><![CDATA[Fedora 11]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[nVidia]]></category>
		<category><![CDATA[Twinview]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://blog.fpmurphy.com/2009/06/fedora-11-nvidia-twinview-support.html</guid>
		<description><![CDATA[<p>Fedora 11 (Leonidas) ships with the nouveau nVidia graphics driver preloaded by default if a nVidia graphics card is detected at install time.&#160; Previous versions of Fedora used the older X.Org nv driver.</p> <p>The nouveau project aims at producing Open Source 3D drivers for nVidia graphics cards.&#160; According to the nouveau project Wiki </p> <p>2D-support is in fairly good shape with EXA acceleration, Xv and Randr12 (think of dual-head, rotations, etc.). Randr12 should work for all cards up to, and including, Geforce 9000 series, although some issues with Geforce 8/9 laptops may still exist, for such issues bug reports should be submitted. Randr12 is now the default. Any 3D functionality that might exist is still unsupported, do not ask for instructions to try it. Also, VT switching while X is running is considered lucky.&#8221;</p> <p>Well, I certainly quickly ran into the VT switching issue!&#160; It worked but not consistently.</p> <p>Unfortunately the nouveau driver currently does not support nVidia TwinView functionality and I suspect that it will be a long time before it does if ever! </p> <p>To use TwinView with Fedora 11, you have to load the correct nVidia drivers from rpmfusion.org.&#160; I described how to do this in detail in a previous post so I will not repeat that information here. </p> <p>You also need to modify your grub.conf file to include the nopat kernel boot option as shown below. title Fedora (2.6.29.4-167.fc11.x86_64) root (hd0,1) kernel /vmlinuz-2.6.29.4-167.fc11.x86_64 ro root=/dev/mapper/vg_ultra-lv_root rhgb quiet nopat initrd /initrd-2.6.29.4-167.fc11.x86_64.img <p>The nopat option is needed for this particular kernel (2.6.29.4) as it appears to still have broken PAT functionality. </p> <p>For those readers who are unaware of what PAT is, here is a brief explanation.&#160; Traditionally page caching was controlled by a CPU feature called Memory Type Range Registers (MTRR).&#160; A CPU has a finite and limited set of MTRRs each of which control part of the physical address space.&#160; To overcome this limitation and provide a more flexible architecture, Intel and other x86 CPU vendors added a set of bits to page table entries to control how a CPU does page caching.&#160; These bits are called the Page Attribute Table (PAT).&#160; Incidentally, the 2.6.26 kernel was the first Linux kernel to support PATs.</p> <p>Unless you rebuild your initial ramdisk (initrd), the nouveau driver will remain loaded in the kernel.&#160; I prefer not to have the nouveau driver loaded in my kernel if I am ]]></description>
		<wfw:commentRss>http://blog.fpmurphy.com/2009/06/fedora-11-nvidia-twinview-support.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Security Capabilities</title>
		<link>http://blog.fpmurphy.com/2009/05/linux-security-capabilities.html</link>
		<comments>http://blog.fpmurphy.com/2009/05/linux-security-capabilities.html#comments</comments>
		<pubDate>Thu, 28 May 2009 15:14:00 +0000</pubDate>
		<dc:creator>fpmurphy</dc:creator>
				<category><![CDATA[Fedora 11]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux capabilities]]></category>
		<category><![CDATA[POSIX.1e]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://blog.fpmurphy.com/2009/05/linux-security-capabilities.html</guid>
		<description><![CDATA[<p>In earlier times, the standard security model for GNU/Linux and Unix operating systems gave general users a minimal set of privileges, while granting full privileges to a single user account, i.e. root, that was used to administer the system and users, install software, mount and unmount filesystems, loading kernel modules, bind a process to a privileged port and run many services. </p> <p>This dependence upon the root account to perform all actions requiring privilege was recognized to be somewhat dangerous in that it was all or nothing and not suited to compartmentalization of roles.&#160; Furthermore, it increased the risk of vulnerabilities within a setuid application which may only require root privileges for a very small fraction of its activity such as opening a system file or binding to a privileged port.</p> <p>This risk was well understood within the open systems community.&#160; As a result, IEEE Std.1003.1e (aka POSIX.1e or POSIX.6) was a major effect started in 1995 to develop a standardized set of security interfaces for conforming systems which included access control lists (ACL), audit, separation of privilege (capabilities), mandatory access control (MAC) and information labels.</p> <p>The work was terminated by IEEE&#8217;s RevCon in 1998 at draft 17 of the document due to lack of consensus (mostly because of conflicting existing practice.)&#160; While the formal standards effort failed, since then much of the draft standard has made its way in the Linux kernel including capabilities which this post explores.</p> <p>First, what do we mean by Linux capabilities?&#160; It is basically an extended verion of the capabilities model described in the draft POSIX.1e standard.&#160; Readers familiar with VMS or versions of Unix which include Trusted Computing Base (TCB) will recognize it as being somewhat analogous to as privileges.&#160; These capabilities partition the set of root privlileges into a set of distinct logical privileges which may be granted or assigned to processes, users, filesystems and more.&#160; As an aside, the term capability originated in a 1966 paper by Jack Dennis and Earl Van Horn (CACM vol 9, #3, pp 143-155, March 1966.)&#160; Capabilities can be implemented in many ways including via hardware tags, cryptography, within a programming language (e.g.Java) or using protected address space.&#160; For a introduction to capability-based mechanisms go here.&#160; Linux uses protected address space and extended file attributes to implement capabilities.</p> <p>A capability flag is an attribute of a capability.&#160; There are three capability flags, named permitted (p), effective ]]></description>
		<wfw:commentRss>http://blog.fpmurphy.com/2009/05/linux-security-capabilities.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

