<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/scripts/selinux/genheaders, branch v3.12</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/scripts/selinux/genheaders?h=v3.12</id>
<link rel='self' href='https://git.amat.us/linux/atom/scripts/selinux/genheaders?h=v3.12'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2011-03-03T20:19:43Z</updated>
<entry>
<title>SELinux: Auto-generate security_is_socket_class</title>
<updated>2011-03-03T20:19:43Z</updated>
<author>
<name>Harry Ciao</name>
<email>qingtao.cao@windriver.com</email>
</author>
<published>2011-03-02T05:46:08Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4bc6c2d5d8386800fde23a8e78cd4f04a0ade0ad'/>
<id>urn:sha1:4bc6c2d5d8386800fde23a8e78cd4f04a0ade0ad</id>
<content type='text'>
The security_is_socket_class() is auto-generated by genheaders based
on classmap.h to reduce maintenance effort when a new class is defined
in SELinux kernel. The name for any socket class should be suffixed by
"socket" and doesn't contain more than one substr of "socket".

Signed-off-by: Harry Ciao &lt;qingtao.cao@windriver.com&gt;
Signed-off-by: Eric Paris &lt;eparis@redhat.com&gt;
Acked-by: Stephen Smalley &lt;sds@tycho.nsa.gov&gt;
</content>
</entry>
<entry>
<title>selinux: fix warning in genheaders</title>
<updated>2010-03-15T21:47:36Z</updated>
<author>
<name>James Morris</name>
<email>jmorris@namei.org</email>
</author>
<published>2010-03-15T21:47:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=310de047eef6685274045db1e6b39c9f313df428'/>
<id>urn:sha1:310de047eef6685274045db1e6b39c9f313df428</id>
<content type='text'>
Fix const warning in the genheaders script as a result of
changes to the headers, as noted here:

http://linux.derkeiler.com/Mailing-Lists/Kernel/2010-03/msg03977.html

Reported-by: Stephen Rothwell &lt;sfr@canb.auug.org.au&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>SELinux: header generation may hit infinite loop</title>
<updated>2009-11-22T22:00:44Z</updated>
<author>
<name>Eric Paris</name>
<email>eparis@redhat.com</email>
</author>
<published>2009-11-20T16:00:12Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=85c3b529f8ad4d65ba86b982ef050212ae7dd976'/>
<id>urn:sha1:85c3b529f8ad4d65ba86b982ef050212ae7dd976</id>
<content type='text'>
If a permission name is long enough the selinux class definition generation
tool will go into a infinite loop.  This is because it's macro max() is
fooled into thinking it is dealing with unsigned numbers.  This patch makes
sure the macro always uses signed number so 1 &gt; -1.

Signed-off-by: Eric Paris &lt;eparis@redhat.com&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>selinux: Fix warnings</title>
<updated>2009-11-18T22:08:44Z</updated>
<author>
<name>Alan Cox</name>
<email>alan@linux.intel.com</email>
</author>
<published>2009-11-18T14:39:51Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=821d35a56044e522e811f6a1e8632cc230360280'/>
<id>urn:sha1:821d35a56044e522e811f6a1e8632cc230360280</id>
<content type='text'>
scripts/selinux/genheaders/genheaders.c:20: warning: no previous prototype
for ?usage?
scripts/selinux/genheaders/genheaders.c:26: warning: no previous prototype
for ?stoupperx?

Signed-off-by: Alan Cox &lt;alan@linux.intel.com&gt;
Acked-by: WANG Cong &lt;xiyou.wangcong@gmail.com&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>SELinux: add .gitignore files for dynamic classes</title>
<updated>2009-10-24T01:42:27Z</updated>
<author>
<name>Eric Paris</name>
<email>eparis@redhat.com</email>
</author>
<published>2009-10-22T19:38:26Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6e8e16c7bc298d7887584c3d027e05db3e86eed9'/>
<id>urn:sha1:6e8e16c7bc298d7887584c3d027e05db3e86eed9</id>
<content type='text'>
The SELinux dynamic class work in c6d3aaa4e35c71a32a86ececacd4eea7ecfc316c
creates a number of dynamic header files and scripts.  Add .gitignore files
so git doesn't complain about these.

Signed-off-by: Eric Paris &lt;eparis@redhat.com&gt;
Acked-by: Stephen D. Smalley &lt;sds@tycho.nsa.gov&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>selinux: generate flask headers during kernel build</title>
<updated>2009-10-07T10:56:44Z</updated>
<author>
<name>Stephen Smalley</name>
<email>sds@tycho.nsa.gov</email>
</author>
<published>2009-09-30T17:41:02Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=8753f6bec352392b52ed9b5e290afb34379f4612'/>
<id>urn:sha1:8753f6bec352392b52ed9b5e290afb34379f4612</id>
<content type='text'>
Add a simple utility (scripts/selinux/genheaders) and invoke it to
generate the kernel-private class and permission indices in flask.h
and av_permissions.h automatically during the kernel build from the
security class mapping definitions in classmap.h.  Adding new kernel
classes and permissions can then be done just by adding them to classmap.h.

Signed-off-by:  Stephen Smalley &lt;sds@tycho.nsa.gov&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
</feed>
