Skip to contentSkip to conversation

selinux-doc problems

DISCUSSION Manoj Srivastava 2 participants 8 messages Nov 3, 2004 – Nov 5, 2004 SELinux security module

lore
Share & tools
lore
#0 lore raw

Hi,

While trying to package selinux-doc 1.16 for Debian, I ran
into a bunch of jade errors:

	Firstly, "_"  in ID's:

----------------------------------------------------------------------
jade:selinux-doc-1.14/module/changes.sgml:107:11:E: character "_" is not allowed in the value of attribute "ID" jade:selinux-doc-1.14/module/changes.sgml:139:15:E: character "_" is not allowed in the value of attribute "LINKEND" jade:selinux-doc-1.14/module/changes.sgml:140:9:E: character "_" is not allowed in the value of attribute "LINKEND" jade:selinux-doc-1.14/module/changes.sgml:148:11:E: character "_" is not allowed in the value of attribute "ID"
----------------------------------------------------------------------

And then there are the missing quotes on attribute values:
----------------------------------------------------------------------
jade:selinux-doc-1.14/module/task.sgml:29:13:E: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified jade:selinux-doc-1.14/module/task.sgml:31:13:E: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified jade:selinux-doc-1.14/module/task.sgml:31:21:E: an attribute value specification must be an attribute value literal unless SHORTTAG YES is specified
----------------------------------------------------------------------

Is there an effort underway to update the selinux-doc package?
If so, I'll hold off fixing up the SGML issues and wait for the new version (I lack the knowledge to actually update the contents).

thanks

manoj

Signature · 9 lines
All progress is based on a universal innate desire on the part of
every organism to live beyond its income.  -- Samuel Butler
Manoj Srivastava   <[email protected]>    <[email protected]> 
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#1 lore raw
Quoted 3 lines · Manoj Srivastava

Is there an effort underway to update the selinux-doc package?
If so, I'll hold off fixing up the SGML issues and wait for the new version (I lack the knowledge to actually update the contents).

Nothing in progress, although I would like to update the reports to reflect the current system, as much has changed since they were last updated. However, the report does build for me on Fedora Core 3. rpm -q -f /usr/bin/jade reports openjade-1.3.2-14. Seems unfortunate to prohibit _ in identifiers; why was this done? Quoting change would be trivial, of course.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#2 lore raw
Quoted 11 lines · Stephen Smalley
Quoted 3 lines · Manoj Srivastava

Is there an effort underway to update the selinux-doc package? If so, I'll hold off fixing up the SGML issues and wait for the new version (I lack the knowledge to actually update the contents).

Nothing in progress, although I would like to update the reports to reflect the current system, as much has changed since they were last updated. However, the report does build for me on Fedora Core 3. rpm -q -f /usr/bin/jade reports openjade-1.3.2-14. Seems unfortunate to prohibit _ in identifiers; why was this done? Quoting change would be trivial, of course.

I am running Version: 1.4devel1-13 of openjade. I am not sure
why the change was done -- but my trusty SGML handbook seems to indicate that ID value attribute lists should contain only name tokens, which are letters followed by letters and digits (ISO 8879 9.2.1).

I guess openjade is getting more compliant.

manoj

Signature · 8 lines
Never tell a lie unless it is absolutely convenient.
Manoj Srivastava   <[email protected]>    <[email protected]> 
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#3 lore raw
In reply to Stephen Smalley
Quoted 11 lines · Stephen Smalley
Quoted 3 lines · Manoj Srivastava

Is there an effort underway to update the selinux-doc package? If so, I'll hold off fixing up the SGML issues and wait for the new version (I lack the knowledge to actually update the contents).

Nothing in progress, although I would like to update the reports to reflect the current system, as much has changed since they were last updated. However, the report does build for me on Fedora Core 3. rpm -q -f /usr/bin/jade reports openjade-1.3.2-14. Seems unfortunate to prohibit _ in identifiers; why was this done? Quoting change would be trivial, of course.

While we are waiting for the report to be updated, would it be
useful if someone corrected the problems with compiling with the new openjade? I could convert tags_with_undescore to TagsWithStudlyCaps, for example, and fix the quoting, and submit the patches back.

manoj

Signature · 9 lines
I fell asleep reading a dull book, and I dreamt that I was reading on,
so I woke up from sheer boredom.
Manoj Srivastava   <[email protected]>    <[email protected]> 
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#4 lore raw
Quoted 4 lines · Manoj Srivastava

While we are waiting for the report to be updated, would it be
useful if someone corrected the problems with compiling with the new openjade? I could convert tags_with_undescore to TagsWithStudlyCaps, for example, and fix the quoting, and submit the patches back.

Yes, thanks.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#5 lore raw

selinux-doc patchset 2 of 2: Quoting attribute values

Hi,

Since attribute values need to be quoted unless SHORTTAG YES
is specified, this patchset, the second of two, does that. Please note that this patch assumes that the previous patchset that modified the ID name tokens has already been applied.

manoj

* looking for [email protected]/selinux-doc--debian--1.0--patch-1 to compare with
* comparing to [email protected]/selinux-doc--debian--1.0--patch-1

M  module/inode.sgml
M  module/ip.sgml
M  module/ipc.sgml
M  module/netdev.sgml
M  module/sb.sgml
M  module/skb.sgml
M  module/socket.sgml
M  module/system.sgml
M  module/task.sgml
M  policy/arch.sgml
M  module/biblio.sgml
M  policy/biblio.sgml
M  policy/lang.sgml
M  module/binprm.sgml
M  module/file.sgml

* modified files

module/biblio.sgml +12 -12
@@ -3,14 +3,14 @@
 
 <biblioentry id="LoscoccoFreenix01">
   <abbrev>LoscoccoFreenix2001</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <authorgroup>
       <author><firstname>Peter</firstname><surname>Loscocco</surname></author>
       <author><firstname>Stephen</firstname><surname>Smalley</surname></author>
     </authorgroup>
     <title>Integrating Flexible Support for Security Policies into the Linux Operating System</title>
   </biblioset>
-  <biblioset relation=journal>
+  <biblioset relation="journal">
     <title>Proceedings of the FREENIX Track: 2001 USENIX Annual Technical Conference</title>
     <publisher>
       <publishername>The USENIX Association</publishername>
@@ -21,14 +21,14 @@
 
 <biblioentry id="LoscoccoNSATR01">
   <abbrev>LoscoccoNSATR2001</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <authorgroup>
       <author><firstname>Peter</firstname><surname>Loscocco</surname></author>
       <author><firstname>Stephen</firstname><surname>Smalley</surname></author>
     </authorgroup>
     <title>Integrating Flexible Support for Security Policies into the Linux Operating System</title>
   </biblioset>
-  <biblioset relation=journal>
+  <biblioset relation="journal">
     <title>NSA Technical Report</title>
     <pubdate>February 2001</pubdate>
   </biblioset>
@@ -36,7 +36,7 @@
 
 <biblioentry id="LoscoccoNISS98">
   <abbrev>LoscoccoNISS1998</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <authorgroup>
       <author><firstname>Peter</firstname><surname>Loscocco</surname></author>
       <author><firstname>Stephen</firstname><surname>Smalley</surname></author>
@@ -47,7 +47,7 @@
     </authorgroup>
     <title>The Inevitability of Failure:  The Flawed Assumption of Security in Modern Computing Environments</title>
   </biblioset>
-  <biblioset relation=journal>
+  <biblioset relation="journal">
     <title>Proceedings of the 21st National Information Systems Security Conference</title>
     <pubdate>October 1998</pubdate>
   </biblioset>
@@ -55,7 +55,7 @@
 
 <biblioentry id="SpencerUsenixSec99">
   <abbrev>SpencerUsenixSec1999</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <authorgroup>
       <author><firstname>Ray</firstname><surname>Spencer</surname></author>
       <author><firstname>Stephen</firstname><surname>Smalley</surname></author>
@@ -66,7 +66,7 @@
     </authorgroup>
     <title>The Flask Security Architecture:  System Support for Diverse Security Policies</title>
   </biblioset>
-  <biblioset relation=journal>
+  <biblioset relation="journal">
     <title>Proceedings of the Eighth USENIX Security Symposium</title>
     <publisher>
       <publishername>The USENIX Association</publishername>
@@ -86,11 +86,11 @@
 
 <biblioentry id="MorrisSeloptOverview02">
   <abbrev>MorrisSeloptOverview2002</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <author><firstname>James</firstname><surname>Morris</surname></author>
     <title>Overview of SELinux Labeled Networking Support via CIPSO/FIPS-188 IP Options</title>
   </biblioset>
-  <biblioset relation=file>
+  <biblioset relation="file">
     <title>selopt-overview.txt</title>
     <pubdate>February 2002</pubdate>
   </biblioset>
@@ -98,11 +98,11 @@
 
 <biblioentry id="MorrisSCMP01">
   <abbrev>MorrisSCMP2001</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <author><firstname>James</firstname><surname>Morris</surname></author>
     <title>Security Context Mapping Protocol</title>
   </biblioset>
-  <biblioset relation=file>
+  <biblioset relation="file">
     <title>scmp-draft.txt</title>
     <pubdate>December 30, 2001</pubdate>
   </biblioset>
module/binprm.sgml +6 -6
@@ -79,9 +79,9 @@
 the same time, so it does not need this permission to the shell
 program.
 
-<table id="NochangeSidTable" frame=all>
+<table id="NochangeSidTable" frame="all">
 <title>Permission Checks if Task SID is not changing on exec</title>
-<tgroup cols=3 align=left>
+<tgroup cols="3" align="left">
 <thead>
 <row>
 <entry>Source</entry>
@@ -110,9 +110,9 @@
 programs are referred to as entrypoint programs for the SID.  These
 permission checks are shown in <xref linkend="ChangeSidTable">.
 
-<table id="ChangeSidTable" frame=all>
+<table id="ChangeSidTable" frame="all">
 <title>Permission Checks if Task SID is changing on exec</title>
-<tgroup cols=3 align=left>
+<tgroup cols="3" align="left">
 <thead>
 <row>
 <entry>Source</entry>
@@ -160,9 +160,9 @@
 unchanged and the task is sent a SIGKILL to terminate it.
 These permission checks are shown in <xref linkend="PtraceShareTable">.
 
-<table id="PtraceShareTable" frame=all>
+<table id="PtraceShareTable" frame="all">
 <title>Permission Checks if Task SID is changing on exec</title>
-<tgroup cols=3 align=left>
+<tgroup cols="3" align="left">
 <thead>
 <row>
 <entry>Source</entry>
module/file.sgml +6 -6
@@ -32,9 +32,9 @@
 };
 </programlisting>
 
-<table frame=all>
+<table frame="all">
 <title>file_security_struct</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <colspec colwidth="20*">
 <colspec colwidth="80*">
 <thead>
@@ -183,9 +183,9 @@
 <xref linkend="IopermTable"> shows the permission checks performed for each
 command.
 
-<table id="IopermTable" frame=all>
+<table id="IopermTable" frame="all">
 <title>I/O Control Permission Checks</title>
-<tgroup cols=4 align=left>
+<tgroup cols="4" align="left">
 <colspec colwidth="40*">
 <colspec colwidth="20*">
 <colspec colwidth="20*">
@@ -317,9 +317,9 @@
 The basic permission checks performed for each command are shown in
 <xref linkend="FilecontrolTable">.
 
-<table id="FilecontrolTable" frame=all>
+<table id="FilecontrolTable" frame="all">
 <title>File Control Permission Checks</title>
-<tgroup cols=4 align=left>
+<tgroup cols="4" align="left">
 <thead>
 <row>
     <entry>Command</entry>
module/inode.sgml +22 -22

121 lines not on this page · raw message

module/ip.sgml +4 -4
@@ -46,9 +46,9 @@
 source node.  The permission checked for each protocol type is shown
 in <xref linkend="PacketrcvTable">.
 
-<table id="PacketrcvTable" frame=all>
+<table id="PacketrcvTable" frame="all">
 <title>Packet Receive Permissions</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <thead>
 <row>
     <entry>Protocol</entry>
@@ -145,9 +145,9 @@
 <function>selinux_skb_set_owner_w</function> hook sets the message
 SID.
 
-<table id="PacketsndTable" frame=all>
+<table id="PacketsndTable" frame="all">
 <title>Packet Send Permissions</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <thead>
 <row>
     <entry>Protocol</entry>
module/ipc.sgml +16 -16
@@ -24,9 +24,9 @@
 };
 </programlisting>
 
-<table id="IpcSecurityStructTable" frame=all>
+<table id="IpcSecurityStructTable" frame="all">
 <title>ipc_security_struct</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <colspec colwidth="20*">
 <colspec colwidth="80*">
 <thead>
@@ -84,9 +84,9 @@
         avc_entry_ref_t avcr;
 };
 </programlisting>
-<table frame=all>
+<table frame="all">
 <title>msg_security_struct</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <colspec colwidth="20*">
 <colspec colwidth="80*">
 <thead>
@@ -271,9 +271,9 @@
 necessary, but ensure that all IPC accesses are mediated by the
 policy.
 
-<table id="IpcpermTable" frame=all>
+<table id="IpcpermTable" frame="all">
 <title>ipc_permission Permission Checks</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <thead>
 <row>
 <entry>Flag</entry>
@@ -336,9 +336,9 @@
 are shown in <xref linkend="SemcontrolTable">.
 
 
-<table id="SemcontrolTable" frame=all>
+<table id="SemcontrolTable" frame="all">
 <title> Semaphore Control Permissions</title>
-<tgroup cols=4 align=left>
+<tgroup cols="4" align="left">
 <thead>
 <row>
     <entry>Operation</entry>
@@ -423,9 +423,9 @@
 operation being performed. The permissions required for each operation
 are shown in <xref linkend="ShmcontrolTable">.
 
-<table id="ShmcontrolTable" frame=all>
+<table id="ShmcontrolTable" frame="all">
 <title> Shared Memory Control Permissions</title>
-<tgroup cols=4 align=left>
+<tgroup cols="4" align="left">
 <thead>
 <row>
     <entry>Operation</entry>
@@ -496,9 +496,9 @@
 operation being performed.  The permissions required for each
 operation are shown in <xref linkend="MsgcontrolTable">.
 
-<table id="MsgcontrolTable" frame=all>
+<table id="MsgcontrolTable" frame="all">
 <title> Message Queue Control Permissions</title>
-<tgroup cols=4 align=left>
+<tgroup cols="4" align="left">
 <thead>
 <row>
     <entry>Operation</entry>
@@ -549,9 +549,9 @@
 the security server to obtain a SID based on the SID of the task and
 the SID of the message queue.
 
-<table id="MsgsndTable" frame=all>
+<table id="MsgsndTable" frame="all">
 <title>Message Send Permissions</title>
-<tgroup cols=3 align=left>
+<tgroup cols="3" align="left">
 <thead>
 <row>
     <entry>Source</entry>
@@ -602,9 +602,9 @@
 process and may cause the calling process to block waiting for
 messages that are accessible.
 
-<table id="MsgrcvTable" frame=all>
+<table id="MsgrcvTable" frame="all">
 <title>Message Receive Permissions</title>
-<tgroup cols=3 align=left>
+<tgroup cols="3" align="left">
 <thead>
 <row>
     <entry>Source</entry>
module/netdev.sgml +2 -2
@@ -29,9 +29,9 @@
         avc_entry_ref_t avcr;
 };
 </programlisting>
-<table frame=all>
+<table frame="all">
 <title>netdev_security_struct</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <colspec colwidth="20*">
 <colspec colwidth="80*">
 <thead>
module/sb.sgml +4 -4
@@ -30,9 +30,9 @@
 };
 </programlisting>
 
-<table frame=all>
+<table frame="all">
 <title>superblock_security_struct</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <colspec colwidth="20*">
 <colspec colwidth="80*">
 <thead>
@@ -270,9 +270,9 @@
 The permission checks for the super_block hooks are summarized
 in <xref linkend="FspermTable">.
 
-<table id="FspermTable" frame=all>
+<table id="FspermTable" frame="all">
 <title>Filesystem Permission Checks</title>
-<tgroup cols=4 align=left>
+<tgroup cols="4" align="left">
 <thead>
 <row>
 <entry>Hook</entry>
module/skb.sgml +2 -2
@@ -43,9 +43,9 @@
 };      
 </programlisting>
 
-<table frame=all>
+<table frame="all">
 <title>skb_security_struct</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <colspec colwidth="20*">
 <colspec colwidth="80*">
 <thead>
module/socket.sgml +14 -14
@@ -31,9 +31,9 @@
 }
 </programlisting>
 
-<table frame=all>
+<table frame="all">
 <title>sock_security_struct</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <colspec colwidth="20*">
 <colspec colwidth="80*">
 <thead>
@@ -122,9 +122,9 @@
 This SID is used to label outgoing packets from
 a socket that has no user space socket structure associated with it.
 
-<table id="SockclassTable" frame=all>
+<table id="SockclassTable" frame="all">
 <title> Socket Security Classes</title>
-<tgroup cols=3 align=left>
+<tgroup cols="3" align="left">
 <thead>
 <row><entry>Protocol Family</entry><entry>Type</entry>
 		<entry>Security Class</entry></row>
@@ -259,9 +259,9 @@
 functions, excluding the optional extended socket call processing, is
 then described in the following subsections.
 
-<table id="SocklayerTable" frame=all>
+<table id="SocklayerTable" frame="all">
 <title>Socket Layer Hook Permission Checks</title>
-<tgroup cols=4 align=left>
+<tgroup cols="4" align="left">
 <colspec colwidth="35*">
 <colspec colwidth="20*">
 <colspec colwidth="20*">
@@ -442,9 +442,9 @@
 </para>
 
 <para>
-<table id="ConpermTable" frame=all>
+<table id="ConpermTable" frame="all">
 <title>Connection Establishment Permission Checks</title>
-<tgroup cols=5 align=left>
+<tgroup cols="5" align="left">
 <colspec colwidth="35*">
 <colspec colwidth="15*">
 <colspec colwidth="20*">
@@ -508,9 +508,9 @@
 <constant>sendto</constant> permission between the sending socket and
 the receiving socket.  These permission checks are summarized in 
 <xref linkend="DomaincheckTable">.
-<table id="DomaincheckTable" frame=all>
+<table id="DomaincheckTable" frame="all">
 <title>Unix Domain Permission Checks</title>
-<tgroup cols=4 align=left>
+<tgroup cols="4" align="left">
 <colspec colwidth="40*">
 <colspec colwidth="20*">
 <colspec colwidth="20*">
@@ -583,9 +583,9 @@
         access_vector_t conn_perm;     /* connection permission */
 </programlisting>
 
-<table frame=all>
+<table frame="all">
 <title>Extended inode_security_struct</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <colspec colwidth="20*">
 <colspec colwidth="80*">
 <thead>
@@ -641,9 +641,9 @@
 };
 </programlisting>
 
-<table frame=all>
+<table frame="all">
 <title>open_request_security_struct</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <colspec colwidth="20*">
 <colspec colwidth="80*">
 <thead>
module/system.sgml +9 -9
@@ -83,8 +83,8 @@
 
 <sect3><title>Summary of Capability-Related Permission Checks</title>
 <para>
-<table frame=all><title>Capability-Related Permission Checks</title>
-<tgroup cols=4 align=left>
+<table frame="all"><title>Capability-Related Permission Checks</title>
+<tgroup cols="4" align="left">
 <thead>
 <row>
 <entry>Hook Function</entry>
@@ -144,9 +144,9 @@
 future, e.g. a permission to control what files can be used for
 accounting, so these hooks may be used at a later point in time.
 
-<table id="SysdeferTable" frame=all>
+<table id="SysdeferTable" frame="all">
 <title>System Hook Functions that Defer to Capable</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <thead>
 <row>
 <entry>Hook</entry>
@@ -183,7 +183,7 @@
 The <structname>ctl_sid</structname> structure is used to map a name
 from the sysctl namespace to a SID. This structure resembles the
 <structname>ctl_table</structname> structure defined in <filename
-class=headerfile>sysctl.h</filename>, with entries for the sysctl
+class="headerfile">sysctl.h</filename>, with entries for the sysctl
 name (which is an integer), the associated string from the
 <filename>/proc/sys</filename> namespace, and the
 <acronym>SID</acronym> to be used for the entry. The last field is an
@@ -229,9 +229,9 @@
 as a file for read or write operations on a variable.
 <xref linkend="SysctlpermTable"> shows the permission checks associated with
 each requested operation.
-<table id="SysctlpermTable" frame=all>
+<table id="SysctlpermTable" frame="all">
 <title>sysctl Permission Checks</title>
-<tgroup cols=4 align=left>
+<tgroup cols="4" align="left">
 <thead>
 <row>
 <entry>Operation Value</entry>
@@ -342,9 +342,9 @@
 secondary module to permit it to perform additional capability
 checking.
 
-<table id="SysremainTable" frame=all>
+<table id="SysremainTable" frame="all">
 <title>Remaining System Hook Function Permission Checks</title>
-<tgroup cols=4 align=left>
+<tgroup cols="4" align="left">
 <thead>
 <row>
 <entry>Hook Function</entry>
module/task.sgml +6 -6
@@ -26,9 +26,9 @@
 };
 </programlisting>
 
-<table frame=all>
+<table frame="all">
 <title>task_security_struct</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <colspec colwidth="20*">
 <colspec colwidth="80*">
 <thead>
@@ -172,9 +172,9 @@
 <function>task_has_security</function> function checks whether a task
 has permission to use one of the security server system calls.
 
-<table id="TskhelpTable" frame=all>
+<table id="TskhelpTable" frame="all">
 <title>Task Helper Function Permission Checks</title>
-<tgroup cols=4 align=left>
+<tgroup cols="4" align="left">
 <thead>
 <row>
 <entry>Function</entry>
@@ -231,9 +231,9 @@
 permission checks are summarized in <xref linkend="TskpermTable">.  These
 functions call the <function>task_has_perm</function> helper function.
 
-<table id="TskpermTable" frame=all>
+<table id="TskpermTable" frame="all">
 <title>Task Hook Function Permission Checks</title>
-<tgroup cols=4 align=left>
+<tgroup cols="4" align="left">
 <colspec colwidth="40*">
 <colspec colwidth="20*">
 <colspec colwidth="20*">
policy/arch.sgml +2 -2
@@ -153,9 +153,9 @@
 example policy configuration is compiled.  The Flask configuration
 files are listed in <xref linkend="flaskconfigtable">.
 
-<table id="flaskconfigtable" frame=all>
+<table id="flaskconfigtable" frame="all">
 <title>Architecture Configuration Files</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <thead>
 <row>
     <entry>Filename</entry>
policy/biblio.sgml +16 -16
@@ -3,14 +3,14 @@
 
 <biblioentry id="BoebertNCSC85">
   <abbrev>BoebertNCSC1985</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <authorgroup>
       <author><firstname>W.</firstname><surname>Boebert</surname></author>
       <author><firstname>R.</firstname><surname>Kain</surname></author>
     </authorgroup>
     <title>A Practical Alternative to Hierarchical Integrity Policies</title>
   </biblioset>
-  <biblioset relation=journal>
+  <biblioset relation="journal">
     <title>Proceedings of the Eighth National Computer Security Conference</title>
     <pubdate>1985</pubdate>
   </biblioset>
@@ -18,14 +18,14 @@
 
 <biblioentry id="FerraioloNCSC92">
   <abbrev>FerraioloNCSC1992</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <authorgroup>
       <author><firstname>David</firstname><surname>Ferraiolo</surname></author>
       <author><firstname>Richard</firstname><surname>Kuhn</surname></author>
     </authorgroup>
     <title>Role-Based Access Controls</title>
   </biblioset>
-  <biblioset relation=journal>
+  <biblioset relation="journal">
     <title>Proceedings of the 15th National Computer Security Conference</title>
     <pubdate>October 1992</pubdate>
   </biblioset>
@@ -33,14 +33,14 @@
 
 <biblioentry id="LoscoccoFreenix01">
   <abbrev>LoscoccoFreenix2001</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <authorgroup>
       <author><firstname>Peter</firstname><surname>Loscocco</surname></author>
       <author><firstname>Stephen</firstname><surname>Smalley</surname></author>
     </authorgroup>
     <title>Integrating Flexible Support for Security Policies into the Linux Operating System</title>
   </biblioset>
-  <biblioset relation=journal>
+  <biblioset relation="journal">
     <title>Proceedings of the FREENIX Track: 2001 USENIX Annual Technical Conference</title>
     <publisher>
       <publishername>The USENIX Association</publishername>
@@ -51,14 +51,14 @@
 
 <biblioentry id="LoscoccoOLS01">
   <abbrev>LoscoccoOLS2001</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <authorgroup>
       <author><firstname>Peter</firstname><surname>Loscocco</surname></author>
       <author><firstname>Stephen</firstname><surname>Smalley</surname></author>
     </authorgroup>
     <title>Meeting Critical Security Objectives with Security-Enhanced Linux</title>
   </biblioset>
-  <biblioset relation=journal>
+  <biblioset relation="journal">
     <title>Proceedings of the 2001 Ottawa Linux Symposium</title>
     <pubdate>July 2001</pubdate>
   </biblioset>
@@ -66,14 +66,14 @@
 
 <biblioentry id="LoscoccoNSATR01">
   <abbrev>LoscoccoNSATR2001</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <authorgroup>
       <author><firstname>Peter</firstname><surname>Loscocco</surname></author>
       <author><firstname>Stephen</firstname><surname>Smalley</surname></author>
     </authorgroup>
     <title>Integrating Flexible Support for Security Policies into the Linux Operating System</title>
   </biblioset>
-  <biblioset relation=journal>
+  <biblioset relation="journal">
     <title>NSA Technical Report</title>
     <pubdate>February 2001</pubdate>
   </biblioset>
@@ -81,14 +81,14 @@
 
 <biblioentry id="SmalleyNAITR01">
   <abbrev>SmalleyNAITR2001</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <authorgroup>
       <author><firstname>Stephen</firstname><surname>Smalley</surname></author>
       <author><firstname>Timothy</firstname><surname>Fraser</surname></author>
     </authorgroup>
     <title>A Security Policy Configuration for the Security-Enhanced Linux</title>
   </biblioset>
-  <biblioset relation=journal>
+  <biblioset relation="journal">
     <title>NAI Labs Technical Report</title>
     <pubdate>February 2001</pubdate>
   </biblioset>
@@ -96,7 +96,7 @@
 
 <biblioentry id="SmalleyModuleTR01">
   <abbrev>SmalleyModuleTR2001</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <authorgroup>
       <author><firstname>Stephen</firstname><surname>Smalley</surname></author>
       <author><firstname>Chris</firstname><surname>Vance</surname></author>
@@ -104,7 +104,7 @@
     </authorgroup>
     <title>Implementing SELinux as a Linux Security Module</title>
   </biblioset>
-  <biblioset relation=journal>
+  <biblioset relation="journal">
     <title>NAI Labs Report #01-043</title>
     <pubdate>December 2001</pubdate>
   </biblioset>
@@ -112,7 +112,7 @@
 
 <biblioentry id="SpencerUsenixSec99">
   <abbrev>SpencerUsenixSec1999</abbrev>
-  <biblioset relation=article>
+  <biblioset relation="article">
     <authorgroup>
       <author><firstname>Ray</firstname><surname>Spencer</surname></author>
       <author><firstname>Stephen</firstname><surname>Smalley</surname></author>
@@ -123,7 +123,7 @@
     </authorgroup>
     <title>The Flask Security Architecture:  System Support for Diverse Security Policies</title>
   </biblioset>
-  <biblioset relation=journal>
+  <biblioset relation="journal">
     <title>Proceedings of the Eighth USENIX Security Symposium</title>
     <publisher>
       <publishername>The USENIX Association</publishername>
policy/lang.sgml +12 -12
@@ -244,9 +244,9 @@
 type_transition cardmgr_t tmp_t:devfile_class_set cardmgr_dev_t;
 </programlisting>
 
-<table id="classmacros" frame=all>
+<table id="classmacros" frame="all">
 <title>Class Macros</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <thead>
 <row>
     <entry>Macro Name</entry>
@@ -420,9 +420,9 @@
 allow sshd_t sshd_tmp_t:dir create_dir_perms;
 </programlisting>
 
-<table id="filepermmacros" frame=all>
+<table id="filepermmacros" frame="all">
 <title>File Permission Macros</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <thead>
 <row>
     <entry>Macro Name</entry>
@@ -486,9 +486,9 @@
 </tgroup>
 </table>
 
-<table id="socketpermmacros" frame=all>
+<table id="socketpermmacros" frame="all">
 <title>Socket Permission Macros</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <thead>
 <row>
     <entry>Macro Name</entry>
@@ -516,9 +516,9 @@
 </tgroup>
 </table>
 
-<table id="ipcpermmacros" frame=all>
+<table id="ipcpermmacros" frame="all">
 <title>IPC Permission Macros</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <thead>
 <row>
     <entry>Macro Name</entry>
@@ -582,9 +582,9 @@
 As with other macros, care should be taken when using these macros to
 avoid granting unintended permissions.
 
-<table id="teavmacros" frame=all>
+<table id="teavmacros" frame="all">
 <title>TE Access Vector Rule Macros</title>
-<tgroup cols=3 align=left>
+<tgroup cols="3" align="left">
 <thead>
 <row>
     <entry>Macro Name</entry>
@@ -772,9 +772,9 @@
 directory rather than in the <constant>types</constant> directory.
 The <filename>assert.te</filename> file specifies TE assertions.
 
-<table id="teconfigtable" frame=all>
+<table id="teconfigtable" frame="all">
 <title>TE Configuration Files</title>
-<tgroup cols=2 align=left>
+<tgroup cols="2" align="left">
 <thead>
 <row>
     <entry>Filename</entry>
Signature · 4 lines
-- 
To be, or what? Sylvester Stallone
Manoj Srivastava   <[email protected]>    <[email protected]> 
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C
#6 lore raw

Re: selinux-doc patchset 2 of 2: Quoting attribute values

Quoted 4 lines · Manoj Srivastava

Since attribute values need to be quoted unless SHORTTAG YES
is specified, this patchset, the second of two, does that. Please note that this patch assumes that the previous patchset that modified the ID name tokens has already been applied.

Thanks, both patches merged, available in the sourceforge CVS tree.

Quoted 2 lines

______________________________________________________________________

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to [email protected] with
the words "unsubscribe selinux" without quotes as the message.
#7 lore raw

selinux-doc patchset 1 of 2: Fixing name tokens to not contain underscores

In reply to Stephen Smalley

Hi,

This is the first of two patch sets that allow selinux-doc to
be build again by the new openjade. This only modifies the IDs and the references to use StudlyCaps instead.

manoj

* looking for [email protected]/selinux-doc--debian--1.0--base-0 to compare with
* comparing to [email protected]/selinux-doc--debian--1.0--base-0

M  module/inode.sgml
M  module/ip.sgml
M  module/ipc.sgml
M  module/nsid.sgml
M  module/sb.sgml
M  module/skb.sgml
M  module/socket.sgml
M  module/stacking.sgml
M  module/system.sgml
M  module/task.sgml
M  policy/apps.sgml
M  module/binprm.sgml
M  module/changes.sgml
M  module/file.sgml
M  module/helper.sgml
M  module/init.sgml

* modified files

module/binprm.sgml +10 -10
@@ -7,7 +7,7 @@
 describes these hooks and their helper functions.
 </para>
 
-<sect2 id="binprm_security"><title>Managing Binprm Security Fields</title>
+<sect2 id="BinprmSecurity"><title>Managing Binprm Security Fields</title>
 
 <sect3><title>selinux_bprm_alloc_security and selinux_bprm_free_security</title>
 <para>
@@ -37,7 +37,7 @@
 </para>
 </sect3>
 
-<sect3 id="bprm_set_security"><title>selinux_bprm_set_security</title>
+<sect3 id="BprmSetSecurity"><title>selinux_bprm_set_security</title>
 <para>
 The <function>selinux_bprm_set_security</function> hook function is
 called while loading a new program to fill in the
@@ -72,14 +72,14 @@
 <para>
 The file <constant>execute_no_trans</constant> permission is checked
 when a task would remain in the same SID upon executing a program, as
-shown in <xref linkend="nochange_sid_table">.  This permission check
+shown in <xref linkend="NochangeSidTable">.  This permission check
 ensures that a task is allowed to execute a given program without
 changing its security attributes.  For example, although the login
 process can execute a user shell, it should always change its SID at
 the same time, so it does not need this permission to the shell
 program.
 
-<table id="nochange_sid_table" frame=all>
+<table id="NochangeSidTable" frame=all>
 <title>Permission Checks if Task SID is not changing on exec</title>
 <tgroup cols=3 align=left>
 <thead>
@@ -108,9 +108,9 @@
 <constant>entrypoint</constant> permission check ensures that the new
 SID can only be entered by executing particular programs.  Such
 programs are referred to as entrypoint programs for the SID.  These
-permission checks are shown in <xref linkend="change_sid_table">.
+permission checks are shown in <xref linkend="ChangeSidTable">.
 
-<table id="change_sid_table" frame=all>
+<table id="ChangeSidTable" frame=all>
 <title>Permission Checks if Task SID is changing on exec</title>
 <tgroup cols=3 align=left>
 <thead>
@@ -138,7 +138,7 @@
 
 </sect3>
 
-<sect3 id="bprm_compute_creds"><title>selinux_bprm_compute_creds</title>
+<sect3 id="BprmComputeCreds"><title>selinux_bprm_compute_creds</title>
 <para>
 The <function>selinux_bprm_compute_creds</function> hook function is
 called to set the new security attributes for the task.  This hook
@@ -158,9 +158,9 @@
 <constant>share</constant> permission is checked between the old and
 new SIDs.  If these permission checks fail, then the task SID is left
 unchanged and the task is sent a SIGKILL to terminate it.
-These permission checks are shown in <xref linkend="ptrace_share_table">.
+These permission checks are shown in <xref linkend="PtraceShareTable">.
 
-<table id="ptrace_share_table" frame=all>
+<table id="PtraceShareTable" frame=all>
 <title>Permission Checks if Task SID is changing on exec</title>
 <tgroup cols=3 align=left>
 <thead>
@@ -195,7 +195,7 @@
 open file with requested permissions that correspond to the file mode
 and flags, and closes the open file if these permissions are not
 granted under the new SID.  The <function>file_has_perm</function>
-function is described in <xref linkend="file_has_perm">.  Finally,
+function is described in <xref linkend="FileHasPerm">.  Finally,
 this hook function wakes up the parent task if it is waiting on this
 task.  This allows the <function>selinux_task_wait</function> hook to
 recheck whether the parent task is allowed to wait on the task under
module/changes.sgml +20 -20
@@ -104,7 +104,7 @@
 </para>
 </sect3>
 
-<sect3 id="permission_changes"><title>Leveraging Linux Permission Functions</title>
+<sect3 id="PermissionChanges"><title>Leveraging Linux Permission Functions</title>
 <para>
 The original SELinux kernel patch directly inserted its own permission
 checks throughout the kernel code rather than trying to leverage
@@ -136,8 +136,8 @@
 <para>
 Using these hooks required defining some additional coarse-grained
 permissions for SELinux.  These permissions are discussed further in
-<xref linkend="inode_perms_changes"> and in <xref
-linkend="ipc_perms_changes">.  Whenever possible, the LSM-based
+<xref linkend="InodePermsChanges"> and in <xref
+linkend="IpcPermsChanges">.  Whenever possible, the LSM-based
 SELinux security module leverages these hooks to provide control.  When
 SELinux requires finer-grained control, the module implements 
 these finer-grained SELinux controls using the additional LSM hooks.
@@ -145,7 +145,7 @@
 </sect3>
 </sect2>
 
-<sect2 id="exec_perms_changes"><title>Program Execution Changes</title>
+<sect2 id="ExecPermsChanges"><title>Program Execution Changes</title>
 <para>
 This subsection describes general changes between the original SELinux
 kernel patch and the LSM-based SELinux security module related to
@@ -184,11 +184,11 @@
 file class for consistency.  The file <constant>execute</constant> and
 process <constant>transition</constant> permissions were left
 unchanged.  These checks are described further in <xref
-linkend="bprm_set_security">.
+linkend="BprmSetSecurity">.
 </para>
 </sect3>
 
-<sect3 id="fd_inherit_changes"><title>Inheritance of State</title>
+<sect3 id="FdInheritChanges"><title>Inheritance of State</title>
 <para>
 Several changes were made to the controls over the inheritance of
 state across a context-changing execve.  These changes included
@@ -199,7 +199,7 @@
 <para>
 The file descriptor inheritance permission checks during program
 execution were revised for the LSM-based SELinux security module.
-This is discussed in <xref linkend="fd_perms_changes">.  
+This is discussed in <xref linkend="FdPermsChanges">.  
 </para>
 
 <para>
@@ -218,14 +218,14 @@
 <constant>share</constant> permission was added to provide
 configurable control over process state sharing across SID
 transitions.  This is described further in <xref
-linkend="bprm_compute_creds">.
+linkend="BprmComputeCreds">.
 </para>
 
 <para>
 New permission checks were implemented in the LSM-based SELinux to
 control inheritance of signal-related state and resource limits.
 These checks are also described in <xref
-linkend="bprm_compute_creds">.  Furthermore, a
+linkend="BprmComputeCreds">.  Furthermore, a
 <constant>AT_SECURE</constant> flag was added to the ELF auxiliary
 table so that the SELinux module could inform glibc when to enable its
 own secure mode in order to sanitize the environment and other state
@@ -285,13 +285,13 @@
 inodes is still handled by the hooks called by the VFS layer.  The LSM-based
 SELinux also expanded and generalized support for pseudo filesystem labeling.
 The handling for these pseudo filesystem types is described in <xref
-linkend="inode_precondition">.
+linkend="InodePrecondition">.
 </para>
 </sect3>
 
-<sect3 id="inode_perms_changes"><title>Leveraging <function>permission</function></title>
+<sect3 id="InodePermsChanges"><title>Leveraging <function>permission</function></title>
 <para>
-As discussed in <xref linkend="permission_changes">, LSM inserts a
+As discussed in <xref linkend="PermissionChanges">, LSM inserts a
 hook into the existing Linux functions for permission checking,
 including the <function>permission</function> function for checking
 access to objects represented by inodes.  The LSM-based SELinux
@@ -329,7 +329,7 @@
 </para>
 </sect3>
 
-<sect3 id="fd_perms_changes"><title>File Descriptor Permissions</title>
+<sect3 id="FdPermsChanges"><title>File Descriptor Permissions</title>
 <para>
 In the original SELinux kernel patch, distinct file descriptor
 permissions were defined for getting the file offset or flags
@@ -368,7 +368,7 @@
 </para>
 </sect3>
 
-<sect3 id="pipe_changes"><title>Pipe Security Class</title>
+<sect3 id="PipeChanges"><title>Pipe Security Class</title>
 <para>
 In the original SELinux kernel patch, a separate security class was
 defined for pipes, although this security class merely inherited the
@@ -452,7 +452,7 @@
 security module leverages the hooks in the existing Linux permission
 functions but also required two additional hooks in the Unix domain
 protocol implementation due to the abstract namespace.  The SELinux
-socket access controls are described in <xref linkend="socket_ac"> and
+socket access controls are described in <xref linkend="SocketAc"> and
 the SELinux network layer access controls are described in <xref
 linkend="ip">.
 </para>
@@ -462,7 +462,7 @@
 <para>
 The file descriptor transfer permission checks during socket IPC
 were revised for the LSM-based SELinux security module.
-This is discussed in <xref linkend="fd_perms_changes">.
+This is discussed in <xref linkend="FdPermsChanges">.
 </para>
 </sect3>
 
@@ -529,13 +529,13 @@
 with common information.  Hence, LSM was able to add a single security
 field to this common structure and a single security field to the
 structure for individual messages.  This is discussed further in <xref
-linkend="ipc_security">.
+linkend="IpcSecurity">.
 </para>
 </sect3>
 
-<sect3 id="ipc_perms_changes"><title>Leveraging <function>ipcperms</function></title>
+<sect3 id="IpcPermsChanges"><title>Leveraging <function>ipcperms</function></title>
 <para>
-As discussed in <xref linkend="permission_changes">, LSM inserts a
+As discussed in <xref linkend="PermissionChanges">, LSM inserts a
 hook into the existing Linux functions for permission checking,
 including the <function>ipcperms</function> function for checking
 access to IPC objects.  The LSM-based SELinux security module
@@ -552,7 +552,7 @@
 finer-grained permission.  The coarse-grained permission checks could
 be omitted, but they are present to ensure that all IPC accesses are
 controlled by SELinux.  These checks are discussed in <xref
-linkend="ipc_permission">.
+linkend="IpcPermission">.
 </para>
 </sect3>
 
module/file.sgml +7 -7
@@ -116,7 +116,7 @@
 </para>
 </sect3>
 
-<sect3 id="set_fowner"><title>selinux_file_set_fowner</title>
+<sect3 id="SetFowner"><title>selinux_file_set_fowner</title>
 <para>
 This hook function is called to save security information about the
 current task in the file security structure for later use by the
@@ -132,7 +132,7 @@
 
 <sect2><title>Controlling File Operations</title>
 
-<sect3 id="file_has_perm"><title>file_has_perm</title>
+<sect3 id="FileHasPerm"><title>file_has_perm</title>
 <para>
 This helper function checks whether a task can use an open file descriptor to
 access a file in a given way.  It takes the task, the file, and the
@@ -180,10 +180,10 @@
 file permission is specified so only the <constant>use</constant>
 permission is checked.  The generic <constant>ioctl</constant>
 file permission is used for commands that are not specifically handled.
-<xref linkend="ioperm_table"> shows the permission checks performed for each
+<xref linkend="IopermTable"> shows the permission checks performed for each
 command.
 
-<table id="ioperm_table" frame=all>
+<table id="IopermTable" frame=all>
 <title>I/O Control Permission Checks</title>
 <tgroup cols=4 align=left>
 <colspec colwidth="40*">
@@ -315,9 +315,9 @@
 call.  It calls <function>file_has_perm</function> with a requested
 file permission based on the command parameter.  
 The basic permission checks performed for each command are shown in
-<xref linkend="filecontrol_table">.
+<xref linkend="FilecontrolTable">.
 
-<table id="filecontrol_table" frame=all>
+<table id="FilecontrolTable" frame=all>
 <title>File Control Permission Checks</title>
 <tgroup cols=4 align=left>
 <thead>
@@ -376,7 +376,7 @@
 </para>
 </sect3>
 
-<sect3 id="send_sigiotask"><title>selinux_file_send_sigiotask</title>
+<sect3 id="SendSigiotask"><title>selinux_file_send_sigiotask</title>
 <para>
 This hook function is called to check whether a signal generated by an
 event on a file descriptor can be sent to a task.  This function is
module/helper.sgml +3 -3
@@ -8,7 +8,7 @@
 in the appropriate hooks section.
 </para>
 
-<sect2 id="alloc_free"><title>Primitive Allocation Helper Functions</title>
+<sect2 id="AllocFree"><title>Primitive Allocation Helper Functions</title>
 
 <para>
 For each SELinux security data structure defined in
@@ -105,8 +105,8 @@
 limited.  The SELinux module does what it can to determine the correct
 attributes after the fact, but it isn't always successful in the
 dynamically loaded module case.  This is discussed in detail for
-inodes in <XRef LinkEnd="inode_precondition"> and for tasks in <XRef
-LinkEnd="task_precondition">.  We recommend always compiling the
+inodes in <XRef LinkEnd="InodePrecondition"> and for tasks in <XRef
+LinkEnd="TaskPrecondition">.  We recommend always compiling the
 SELinux module into the kernel.
 </para>
 
module/init.sgml +1 -1
@@ -1,4 +1,4 @@
-<sect1 id="init_exit"><title>Initialization and Exit</title>
+<sect1 id="InitExit"><title>Initialization and Exit</title>
 
 <para>
 This section describes the initialization and exit code for the
module/inode.sgml +29 -29

173 lines not on this page · raw message

module/ip.sgml +4 -4
@@ -44,9 +44,9 @@
 on the protocol type) between the network buffer and the receiving
 network interface and a permission between the network buffer and the
 source node.  The permission checked for each protocol type is shown
-in <xref linkend="packetrcv_table">.
+in <xref linkend="PacketrcvTable">.
 
-<table id="packetrcv_table" frame=all>
+<table id="PacketrcvTable" frame=all>
 <title>Packet Receive Permissions</title>
 <tgroup cols=2 align=left>
 <thead>
@@ -137,7 +137,7 @@
 type) between the network buffer and the sending network device. It
 also checks the same permission between the network buffer and the
 destination node.  The permission checked for each protocol type is
-shown in <xref linkend="packetsnd_table">. The SID used in these
+shown in <xref linkend="PacketsndTable">. The SID used in these
 checks is the message SID stored in the network buffer security
 structure. In the case of forwarded packets, this SID was initialized
 by the <function>selinux_ip_preroute_last</function> hook during input
@@ -145,7 +145,7 @@
 <function>selinux_skb_set_owner_w</function> hook sets the message
 SID.
 
-<table id="packetsnd_table" frame=all>
+<table id="PacketsndTable" frame=all>
 <title>Packet Send Permissions</title>
 <tgroup cols=2 align=left>
 <thead>
module/ipc.sgml +17 -17
@@ -6,7 +6,7 @@
 describes these hooks and their helper functions.
 </para>
 
-<sect2 id="ipc_security"><title>Managing System V IPC Security Fields</title>
+<sect2 id="IpcSecurity"><title>Managing System V IPC Security Fields</title>
 
 <sect3><title>IPC Security Structure</title>
 <para>
@@ -24,7 +24,7 @@
 };
 </programlisting>
 
-<table id="ipc_security_struct_table" frame=all>
+<table id="IpcSecurityStructTable" frame=all>
 <title>ipc_security_struct</title>
 <tgroup cols=2 align=left>
 <colspec colwidth="20*">
@@ -49,7 +49,7 @@
 <row>
     <entry>sclass</entry>
     <entry>Security class for the IPC object (see 
-	<xref linkend="ipc_alloc">).
+	<xref linkend="IpcAlloc">).
     </entry>
 </row>
 <row>
@@ -128,7 +128,7 @@
 
 </sect3>
 
-<sect3 id="ipc_alloc"><title>ipc_alloc_security and ipc_free_security</title>
+<sect3 id="IpcAlloc"><title>ipc_alloc_security and ipc_free_security</title>
 <para>
 The <function>ipc_alloc_security</function> and
 <function>ipc_free_security</function> helper functions are the
@@ -257,21 +257,21 @@
 </para>
 </sect3>
 
-<sect3 id="ipc_permission"><title>selinux_ipc_permission</title>
+<sect3 id="IpcPermission"><title>selinux_ipc_permission</title>
 <para>
 This hook function is called from the kernel
 <function>ipcperms</function> function, so it is called prior to all
 IPC operations that will read or modify the IPC object.  This hook
 function checks <constant>unix_read</constant> and/or
 <constant>unix_write</constant> permission to the IPC object based on
-the flag, as shown in <xref linkend="ipcperm_table">.  These
+the flag, as shown in <xref linkend="IpcpermTable">.  These
 permissions provide a coarse-grained equivalent to the Unix
 permissions, whereas the other IPC hooks check finer-grained
 permissions.  These coarse-grained permission checks are not strictly
 necessary, but ensure that all IPC accesses are mediated by the
 policy.
 
-<table id="ipcperm_table" frame=all>
+<table id="IpcpermTable" frame=all>
 <title>ipc_permission Permission Checks</title>
 <tgroup cols=2 align=left>
 <thead>
@@ -333,10 +333,10 @@
 This hook function checks permissions before performing an operation on the
 specified semaphore; the specific permission is determined by the
 operation being performed. The permissions required for each operation
-are shown in <xref linkend="semcontrol_table">.
+are shown in <xref linkend="SemcontrolTable">.
 
 
-<table id="semcontrol_table" frame=all>
+<table id="SemcontrolTable" frame=all>
 <title> Semaphore Control Permissions</title>
 <tgroup cols=4 align=left>
 <thead>
@@ -421,9 +421,9 @@
 This hook function checks permissions before performing an operation on the
 specified shared memory region; the specific permission is determined by the
 operation being performed. The permissions required for each operation
-are shown in <xref linkend="shmcontrol_table">.
+are shown in <xref linkend="ShmcontrolTable">.
 
-<table id="shmcontrol_table" frame=all>
+<table id="ShmcontrolTable" frame=all>
 <title> Shared Memory Control Permissions</title>
 <tgroup cols=4 align=left>
 <thead>
@@ -494,9 +494,9 @@
 This hook function checks permissions before performing an operation on the
 specified message queue; the specific permission is determined by the
 operation being performed.  The permissions required for each
-operation are shown in <xref linkend="msgcontrol_table">.
+operation are shown in <xref linkend="MsgcontrolTable">.
 
-<table id="msgcontrol_table" frame=all>
+<table id="MsgcontrolTable" frame=all>
 <title> Message Queue Control Permissions</title>
 <tgroup cols=4 align=left>
 <thead>
@@ -541,7 +541,7 @@
 call to check the ability to place an individual message on a message
 queue.  It performs three permission checks, involving the current
 task, the message queue, and the individual message.  These checks are
-shown in <xref linkend="msgsnd_table">.  This hook function also sets the SID on the
+shown in <xref linkend="MsgsndTable">.  This hook function also sets the SID on the
 message if it is unlabeled.  It uses the SID from the <structfield>in_sid</structfield> array of
 the task security structure if the new
 <function>msgsnd_secure</function> system call was used.  Otherwise,
@@ -549,7 +549,7 @@
 the security server to obtain a SID based on the SID of the task and
 the SID of the message queue.
 
-<table id="msgsnd_table" frame=all>
+<table id="MsgsndTable" frame=all>
 <title>Message Send Permissions</title>
 <tgroup cols=3 align=left>
 <thead>
@@ -590,7 +590,7 @@
 receiving task may not be the current task and is explicitly passed to
 the hook. This hook function performs two permission checks, involving
 the receiving task, the message queue, and the individual message.
-These permission checks are shown in <xref linkend="msgrcv_table">.
+These permission checks are shown in <xref linkend="MsgrcvTable">.
 In the case that the new <function>msgrcv_secure</function> system
 call is being used to specify a desired message SID, then this hook
 also checks the actual message SID against the desired message SID.
@@ -602,7 +602,7 @@
 process and may cause the calling process to block waiting for
 messages that are accessible.
 
-<table id="msgrcv_table" frame=all>
+<table id="MsgrcvTable" frame=all>
 <title>Message Receive Permissions</title>
 <tgroup cols=3 align=left>
 <thead>
module/nsid.sgml +6 -6
@@ -11,7 +11,7 @@
 <citation><XRef LinkEnd="MorrisSeloptOverview02"></citation>.
 </para>
 
-<sect2 id="nsid_functions"><title>NSID API</title>
+<sect2 id="NsidFunctions"><title>NSID API</title>
 <para>
 The Network SID (NSID) API provides a general framework for labeled
 networking that is intended to be independent of the underlying
@@ -130,7 +130,7 @@
 
 </para>
 
-<sect3 id="selopt_ip_label_output"<title>selopt_ip_label_output</title>
+<sect3 id="SeloptIpLabelOutput"><title>selopt_ip_label_output</title>
 <para>
 This function adds security labels to the IP packet by copying the
 SIDs from the network buffer security structure into the IP packet's
@@ -141,7 +141,7 @@
 </para>
 </sect3>
 
-<sect3 id="selopt_ip_map_input"<title>selopt_ip_map_input</title>
+<sect3 id="SeloptIpMapInput"><title>selopt_ip_map_input</title>
 <para>
 This function will return <constant>NF_DROP</constant> for any packet
 from outside the perimeter that is labeled, and for any unlabeled packet
@@ -165,7 +165,7 @@
 </para>
 </sect3>
 
-<sect3 id="selopt_ip_decode_options"<title>selopt_ip_decode_options</title>
+<sect3 id="SeloptIpDecodeOptions"><title>selopt_ip_decode_options</title>
 <para>
 This function will decode the security labels from the options field
 of the IP packet header. For packets that are not being delivered to
@@ -176,7 +176,7 @@
 </para>
 </sect3>
 
-<sect3 id="selopt_ip_defragment"<title>selopt_ip_defragment</title>
+<sect3 id="SeloptIpDefragment"><title>selopt_ip_defragment</title>
 <para>
 This function is used verify security labels across IP fragments. At this
 time, labeled fragments are not supported, so this function prints a
@@ -184,7 +184,7 @@
 </para>
 </sect3>
 
-<sect3 id="selopt_sock_sendmsg"<title>selopt_sock_sendmsg</title>
+<sect3 id="SeloptSockSendmsg"><title>selopt_sock_sendmsg</title>
 <para>
 Before an IP packet with options can be sent out, the maximum segment size
 (<acronym>MSS</acronym>) must be adjusted. This function is called by the 
module/sb.sgml +4 -4
@@ -8,7 +8,7 @@
 discusses the superblock hook functions for performing access control.
 </para>
 
-<sect2 id="sb_security"><title>Managing Superblock Security Fields</title>
+<sect2 id="SbSecurity"><title>Managing Superblock Security Fields</title>
 <sect3><title>Superblock Security Structure</title>
 <para>
 The <structname>superblock_security_struct</structname> structure
@@ -192,7 +192,7 @@
 
 </sect2>
 
-<sect2 id="sb_ac"><title>Controlling Filesystem Operations</title>
+<sect2 id="SbAc"><title>Controlling Filesystem Operations</title>
 
 <sect3><title>superblock_has_perm</title> 
 <para>
@@ -268,9 +268,9 @@
 <sect3><title>Summary of Filesystem Permission Checks</title>
 <para>
 The permission checks for the super_block hooks are summarized
-in <xref linkend="fsperm_table">.
+in <xref linkend="FspermTable">.
 
-<table id="fsperm_table" frame=all>
+<table id="FspermTable" frame=all>
 <title>Filesystem Permission Checks</title>
 <tgroup cols=4 align=left>
 <thead>
module/skb.sgml +5 -5
@@ -20,7 +20,7 @@
 implementation for these two hooks.
 </para>
 
-<sect2 id="skb_security"><title>Network Buffer Security Structure</title>
+<sect2 id="SkbSecurity"><title>Network Buffer Security Structure</title>
 <para>
 The <structname>skb_security_struct</structname> structure contains security
 information for network buffers. This structure is defined as:
@@ -109,14 +109,14 @@
 
 <para>
 See <xref linkend="nsid">, <xref linkend="ip">, and <xref
-linkend="sock_rcv_skb"> for a discussion of how these fields are used
+linkend="SockRcvSkb"> for a discussion of how these fields are used
 by the labeled networking support, the IP hooks, and the
 <function>sock_rcv_skb</function> hook.
 </para>
 
 </sect2>
 
-<sect2 id="selinux_skb_set_owner_w"><title>selinux_skb_set_owner_w</title>
+<sect2 id="SelinuxSkbSetOwnerW"><title>selinux_skb_set_owner_w</title>
 <para>
 This hook sets the SID fields in a network buffer for an outgoing
 packet when the buffer is associated with a particular sending socket.
@@ -147,13 +147,13 @@
 the source socket SID and message SID for the network buffer are set
 by default to the SID of the sending socket.  However, the extended
 socket calls may change the SIDs used for the network
-buffer.  See <xref linkend="extsocket_skb_set_owner_w"> for a
+buffer.  See <xref linkend="ExtsocketSkbSetOwnerW"> for a
 discussion of the optional extended socket call processing.
 </para>
 
 </sect2>
 
-<sect2 id="selinux_skb_recv_datagram"><title>selinux_skb_recv_datagram</title>
+<sect2 id="SelinuxSkbRecvDatagram"><title>selinux_skb_recv_datagram</title>
 <para>
 This hook calls the <function>extsocket_skb_recv_datagram</function> function
 to perform the processing necessary for the extended socket calls.
module/socket.sgml +25 -25

190 lines not on this page · raw message

module/stacking.sgml +1 -1
@@ -17,7 +17,7 @@
 </para>
 
 <para>
-As mentioned in <XRef LinkEnd="init_exit">, the
+As mentioned in <XRef LinkEnd="InitExit">, the
 <function>selinux_plug_init</function> function initializes the
 secondary security module to the dummy security module, which is
 always resident in the kernel, prior to registering the SELinux
module/system.sgml +6 -6
@@ -137,14 +137,14 @@
 <function>capable</function> hook and a separate hook that offers
 finer-grained control.  In many of these cases, the checking performed
 by <function>selinux_capable</function> is adequate for SELinux, so no
-other processing is required.  <xref linkend="sysdefer_table"> lists system 
+other processing is required.  <xref linkend="SysdeferTable"> lists system 
 hook functions for which no additional processing is required and the
 capability permission that is used to control the same operation.
 Of course, finer-grained permissions may be added to SELinux in the
 future, e.g. a permission to control what files can be used for
 accounting, so these hooks may be used at a later point in time.
 
-<table id="sysdefer_table" frame=all>
+<table id="SysdeferTable" frame=all>
 <title>System Hook Functions that Defer to Capable</title>
 <tgroup cols=2 align=left>
 <thead>
@@ -227,9 +227,9 @@
 It then performs a permission check based on the requested operation,
 treating the sysctl entry as a directory for search operations and
 as a file for read or write operations on a variable.
-<xref linkend="sysctlperm_table"> shows the permission checks associated with
+<xref linkend="SysctlpermTable"> shows the permission checks associated with
 each requested operation.
-<table id="sysctlperm_table" frame=all>
+<table id="SysctlpermTable" frame=all>
 <title>sysctl Permission Checks</title>
 <tgroup cols=4 align=left>
 <thead>
@@ -337,12 +337,12 @@
 <sect2><title>Remaining System Hook Functions</title>
 <para>
 Each of the remaining system hook functions performs a simple
-permission check, as summarized in <xref linkend="sysremain_table">.  The
+permission check, as summarized in <xref linkend="SysremainTable">.  The
 <function>selinux_ptrace</function> hook function also calls the
 secondary module to permit it to perform additional capability
 checking.
 
-<table id="sysremain_table" frame=all>
+<table id="SysremainTable" frame=all>
 <title>Remaining System Hook Function Permission Checks</title>
 <tgroup cols=4 align=left>
 <thead>
module/task.sgml +7 -7
@@ -7,7 +7,7 @@
 describes these hooks and their helper functions.
 </para>
 
-<sect2 id="task_security"><title>Managing Task Security Fields</title>
+<sect2 id="TaskSecurity"><title>Managing Task Security Fields</title>
 <sect3><title>Task Security Structure</title>
 <para>
 The <structname>task_security_struct</structname> structure contains
@@ -92,7 +92,7 @@
 </para>
 </sect3>
 
-<sect3 id="task_precondition"><title>task_precondition</title>
+<sect3 id="TaskPrecondition"><title>task_precondition</title>
 <para>
 This helper function is the
 precondition function for task security structures.  This function
@@ -154,13 +154,13 @@
 
 </sect2>
 
-<sect2 id="task_ac"><title>Controlling Task Operations</title>
+<sect2 id="TaskAc"><title>Controlling Task Operations</title>
 
 <sect3><title>Helper Functions for Checking Task Permissions</title>
 <para>
 Several helper functions are provided for performing task permission
 checks.  These functions and their permission checks are summarized in
-<xref linkend="tskhelp_table">. The <function>task_has_perm</function> function
+<xref linkend="TskhelpTable">. The <function>task_has_perm</function> function
 checks whether a task has a particular permission to another task.
 The <function>task_has_capability</function> function checks whether a
 task has permission to use a particular Linux capability.  The
@@ -172,7 +172,7 @@
 <function>task_has_security</function> function checks whether a task
 has permission to use one of the security server system calls.
 
-<table id="tskhelp_table" frame=all>
+<table id="TskhelpTable" frame=all>
 <title>Task Helper Function Permission Checks</title>
 <tgroup cols=4 align=left>
 <thead>
@@ -228,10 +228,10 @@
 <sect3><title>Hook Functions for Controlling Task Operations</title>
 <para>
 The task hook functions that perform access control and their
-permission checks are summarized in <xref linkend="tskperm_table">.  These
+permission checks are summarized in <xref linkend="TskpermTable">.  These
 functions call the <function>task_has_perm</function> helper function.
 
-<table id="tskperm_table" frame=all>
+<table id="TskpermTable" frame=all>
 <title>Task Hook Function Permission Checks</title>
 <tgroup cols=4 align=left>
 <colspec colwidth="40*">
policy/apps.sgml +4 -4
@@ -178,7 +178,7 @@
 Each file is discussed below.
 </para>
 
-<sect3 id="default_contexts"><title>Default_Contexts</title>
+<sect3 id="DefaultContexts"><title>Default_Contexts</title>
 <para>
 The modified daemons ask the security server for the set of legal SIDs
 for a given user that are reachable from the current process SID
@@ -223,7 +223,7 @@
 </para>
 </sect3>
 
-<sect3 id="default_type"><title>Default_Type</title>
+<sect3 id="DefaultType"><title>Default_Type</title>
 <para>
 The <filename>default_type</filename> file defines the default type
 (domain) for each role.  Each line specifies a role:type pair, and the
@@ -236,7 +236,7 @@
 </para>
 </sect3>
 
-<sect3 id="initrc_context"><title>Initrc_Context</title>
+<sect3 id="InitrcContext"><title>Initrc_Context</title>
 <para>
 The <filename>initrc_context</filename> file defines the security
 context for running <filename>/etc/rc.d</filename> scripts via the
@@ -248,7 +248,7 @@
 </para>
 </sect3>
 
-<sect3 id="passwd_context"><title>Passwd_Context and Shadow_Context</title>
+<sect3 id="PasswdContext"><title>Passwd_Context and Shadow_Context</title>
 <para>
 The <filename>passwd_context</filename> and
 <filename>shadow_context</filename> files define the context to be
Signature · 5 lines
-- 
Doubt is a pain too lonely to know that faith is his twin brother. 
 Kahlil Gibran
Manoj Srivastava   <[email protected]>    <[email protected]> 
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C