<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/kernel/auditfilter.c, branch linux-2.6.20.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.20.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.20.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2007-08-15T08:02:32Z</updated>
<entry>
<title>[PATCH] audit: fix oops removing watch if audit disabled</title>
<updated>2007-08-15T08:02:32Z</updated>
<author>
<name>Tony Jones</name>
</author>
<published>2007-06-24T00:16:47Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=78977b665b8f03c56bbb0f7549200e058b7e067f'/>
<id>urn:sha1:78977b665b8f03c56bbb0f7549200e058b7e067f</id>
<content type='text'>
Removing a watched file will oops if audit is disabled (auditctl -e 0).

To reproduce:
- auditctl -e 1
- touch /tmp/foo
- auditctl -w /tmp/foo
- auditctl -e 0
- rm /tmp/foo (or mv)

Signed-off-by: Tony Jones &lt;tonyj@suse.de&gt;
Cc: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Chris Wright &lt;chrisw@sous-sol.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;
</content>
</entry>
<entry>
<title>[PATCH] audit: fix kstrdup() error check</title>
<updated>2006-12-22T16:55:49Z</updated>
<author>
<name>Akinobu Mita</name>
</author>
<published>2006-12-22T09:10:02Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3e1fbd12c958591695f89b11f9c6ec08d002e358'/>
<id>urn:sha1:3e1fbd12c958591695f89b11f9c6ec08d002e358</id>
<content type='text'>
kstrdup() returns NULL on error.

Cc: David Woodhouse &lt;dwmw2@infradead.org&gt;
Signed-off-by: Akinobu Mita &lt;akinobu.mita@gmail.com&gt;
Cc: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] kernel core: replace kmalloc+memset with kzalloc</title>
<updated>2006-12-07T16:39:41Z</updated>
<author>
<name>Burman Yan</name>
</author>
<published>2006-12-07T04:38:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4668edc334ee90cf50c382c3e423cfc510b5a126'/>
<id>urn:sha1:4668edc334ee90cf50c382c3e423cfc510b5a126</id>
<content type='text'>
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] arch filter lists with &lt; or &gt; should not be accepted</title>
<updated>2006-10-04T12:31:16Z</updated>
<author>
<name>Eric Paris</name>
</author>
<published>2006-09-28T21:46:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4b8a311bb161a3bd2ab44311f42c526b6dc76270'/>
<id>urn:sha1:4b8a311bb161a3bd2ab44311f42c526b6dc76270</id>
<content type='text'>
Currently the kernel audit system represents arch's as numbers and will
gladly accept comparisons between archs using &gt;, &lt;, &gt;=, &lt;= when the only
thing that makes sense is = or !=.  I'm told that the next revision of
auditctl will do this checking but this will provide enforcement in the
kernel even for old userspace.  A simple command to show the issue would
be to run

auditctl -d entry,always -F arch&gt;i686 -S chmod

with this patch the kernel will reject this with -EINVAL

Please comment/ack/nak as soon as possible.

-Eric

 kernel/auditfilter.c |    9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] selinux: rename selinux_ctxid_to_string</title>
<updated>2006-09-26T15:48:52Z</updated>
<author>
<name>Stephen Smalley</name>
</author>
<published>2006-09-26T06:31:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1a70cd40cb291c25b67ec0da715a49d76719329d'/>
<id>urn:sha1:1a70cd40cb291c25b67ec0da715a49d76719329d</id>
<content type='text'>
Rename selinux_ctxid_to_string to selinux_sid_to_string to be
consistent with other interfaces.

Signed-off-by: Stephen Smalley &lt;sds@tycho.nsa.gov&gt;
Acked-by: James Morris &lt;jmorris@namei.org&gt;
Signed-off-by: Andrew Morton &lt;akpm@osdl.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@osdl.org&gt;
</content>
</entry>
<entry>
<title>[PATCH] audit: AUDIT_PERM support</title>
<updated>2006-09-11T17:32:30Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2006-08-31T23:26:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=55669bfa141b488be865341ed12e188967d11308'/>
<id>urn:sha1:55669bfa141b488be865341ed12e188967d11308</id>
<content type='text'>
add support for AUDIT_PERM predicate

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] update audit rule change messages</title>
<updated>2006-09-11T17:32:17Z</updated>
<author>
<name>Amy Griffis</name>
</author>
<published>2006-09-07T21:46:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5974501e2d44546748e67c635cec20ba66619a3d'/>
<id>urn:sha1:5974501e2d44546748e67c635cec20ba66619a3d</id>
<content type='text'>
Make the audit message for implicit rule removal more informative.
Make the rule update message consistent with other messages.

Signed-off-by: Amy Griffis &lt;amy.griffis@hp.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix ppid bug in 2.6.18 kernel</title>
<updated>2006-09-11T17:32:04Z</updated>
<author>
<name>Steve Grubb</name>
</author>
<published>2006-08-26T18:06:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b33ac3182a4554742757a0c61ee1df162cf8225'/>
<id>urn:sha1:3b33ac3182a4554742757a0c61ee1df162cf8225</id>
<content type='text'>
Hello,

During some troubleshooting, I found that ppid was accidentally omitted from
the legacy rule section. This resulted in EINVAL for any rule with ppid sent
with AUDIT_ADD.

Signed-off-by: Steve Grubb &lt;sgrubb@redhat.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] introduce audit rules counter</title>
<updated>2006-08-03T14:55:18Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2006-07-10T12:29:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=471a5c7c839114cc8b55876203aeb2817c33e3c5'/>
<id>urn:sha1:471a5c7c839114cc8b55876203aeb2817c33e3c5</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>[PATCH] fix audit oops with invalid operator</title>
<updated>2006-08-03T14:54:43Z</updated>
<author>
<name>Amy Griffis</name>
</author>
<published>2006-08-01T21:52:26Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5422e01ac16df7398b2bad1eccad0ae3be4dee32'/>
<id>urn:sha1:5422e01ac16df7398b2bad1eccad0ae3be4dee32</id>
<content type='text'>
Michael C Thompson wrote:  [Tue Aug 01 2006, 02:36:36PM EDT]
&gt; The trigger for this oops is:
&gt; # auditctl -a exit,always -S pread64 -F 'inode&lt;1'

Setting the err value will fix it.

Signed-off-by: Amy Griffis &lt;amy.griffis@hp.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
</feed>
