<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/kernel/audit.c, branch v2.6.13</title>
<subtitle>Mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/
</subtitle>
<id>https://git.shady.money/linux/atom?h=v2.6.13</id>
<link rel='self' href='https://git.shady.money/linux/atom?h=v2.6.13'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/'/>
<updated>2005-05-23T20:35:28Z</updated>
<entry>
<title>AUDIT: Unify auid reporting, put arch before syscall number</title>
<updated>2005-05-23T20:35:28Z</updated>
<author>
<name>David Woodhouse</name>
<email>dwmw2@shinybook.infradead.org</email>
</author>
<published>2005-05-23T20:35:28Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bccf6ae083318ea08094d6ab185fdf7c49906b3a'/>
<id>urn:sha1:bccf6ae083318ea08094d6ab185fdf7c49906b3a</id>
<content type='text'>
These changes make processing of audit logs easier. Based on a patch
from Steve Grubb &lt;sgrubb@redhat.com&gt;

Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>AUDIT: Assign serial number to non-syscall messages</title>
<updated>2005-05-21T20:08:09Z</updated>
<author>
<name>David Woodhouse</name>
<email>dwmw2@shinybook.infradead.org</email>
</author>
<published>2005-05-21T20:08:09Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=bfb4496e7239c9132d732a65cdcf3d6a7431ad1a'/>
<id>urn:sha1:bfb4496e7239c9132d732a65cdcf3d6a7431ad1a</id>
<content type='text'>
Move audit_serial() into audit.c and use it to generate serial numbers 
on messages even when there is no audit context from syscall auditing.  
This allows us to disambiguate audit records when more than one is 
generated in the same millisecond.

Based on a patch by Steve Grubb after he observed the problem.

Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;

</content>
</entry>
<entry>
<title>AUDIT: Fix inconsistent use of loginuid vs. auid, signed vs. unsigned </title>
<updated>2005-05-20T23:22:31Z</updated>
<author>
<name>Steve Grubb</name>
<email>sgrubb@redhat.com</email>
</author>
<published>2005-05-20T23:22:31Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=326e9c8ba6a149f47e020719b23b24a14ba740d6'/>
<id>urn:sha1:326e9c8ba6a149f47e020719b23b24a14ba740d6</id>
<content type='text'>
The attached patch changes all occurrences of loginuid to auid. It also 
changes everything to %u that is an unsigned type.

Signed-off-by: Steve Grubb &lt;sgrubb@redhat.com&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>AUDIT: Fix AVC_USER message passing.</title>
<updated>2005-05-20T23:18:37Z</updated>
<author>
<name>Steve Grubb</name>
<email>sgrubb@redhat.com</email>
</author>
<published>2005-05-20T23:18:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=05474106a41f44d16d649bc8c7687fc24ce4370a'/>
<id>urn:sha1:05474106a41f44d16d649bc8c7687fc24ce4370a</id>
<content type='text'>
The original AVC_USER message wasn't consolidated with the new range of
user messages. The attached patch fixes the kernel so the old messages 
work again.

Signed-off-by: Steve Grubb &lt;sgrubb@redhat.com&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>AUDIT: Honour audit_backlog_limit again.</title>
<updated>2005-05-19T13:55:56Z</updated>
<author>
<name>David Woodhouse</name>
<email>dwmw2@shinybook.infradead.org</email>
</author>
<published>2005-05-19T13:55:56Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=fb19b4c6aa024837a0071f07baa07dbf49d07151'/>
<id>urn:sha1:fb19b4c6aa024837a0071f07baa07dbf49d07151</id>
<content type='text'>
The limit on the number of outstanding audit messages was inadvertently
removed with the switch to queuing skbs directly for sending by a kernel
thread. Put it back again.

Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>AUDIT: Send netlink messages from a separate kernel thread</title>
<updated>2005-05-19T09:56:58Z</updated>
<author>
<name>David Woodhouse</name>
<email>dwmw2@shinybook.infradead.org</email>
</author>
<published>2005-05-19T09:56:58Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=b7d1125817c9a46cc46f57db89d9c195e7af22f8'/>
<id>urn:sha1:b7d1125817c9a46cc46f57db89d9c195e7af22f8</id>
<content type='text'>
netlink_unicast() will attempt to reallocate and will free messages if
the socket's rcvbuf limit is reached unless we give it an infinite 
timeout. So do that, from a kernel thread which is dedicated to spewing
stuff up the netlink socket.

Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>AUDIT: Clean up logging of untrusted strings</title>
<updated>2005-05-19T09:24:22Z</updated>
<author>
<name>Steve Grubb</name>
<email>sgrubb@redhat.com</email>
</author>
<published>2005-05-19T09:24:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=168b7173959f80d20720dd1f7ec909a88ef2689d'/>
<id>urn:sha1:168b7173959f80d20720dd1f7ec909a88ef2689d</id>
<content type='text'>
* If vsnprintf returns -1, it will mess up the sk buffer space accounting. 
This is fixed by not calling skb_put with bogus len values.

* audit_log_hex was a loop that called audit_log_vformat with %02X for each 
character. This is very inefficient since conversion from unsigned character 
to Ascii representation is essentially masking, shifting, and byte lookups. 
Also, the length of the converted string is well known - it's twice the 
original. Fixed by rewriting the function.

* audit_log_untrustedstring had no comments. This makes it hard for 
someone to understand what the string format will be.

* audit_log_d_path was never fixed to use untrustedstring. This could mess
up user space parsers. This was fixed to make a temp buffer, call d_path, 
and log temp buffer using untrustedstring. 

From: Steve Grubb &lt;sgrubb@redhat.com&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>AUDIT: Treat all user messages identically.</title>
<updated>2005-05-18T09:21:07Z</updated>
<author>
<name>David Woodhouse</name>
<email>dwmw2@shinybook.infradead.org</email>
</author>
<published>2005-05-18T09:21:07Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=209aba03243ee42a22f8df8d08aa9963f62aec64'/>
<id>urn:sha1:209aba03243ee42a22f8df8d08aa9963f62aec64</id>
<content type='text'>
It's silly to have to add explicit entries for new userspace messages
as we invent them. Just treat all messages in the user range the same.

Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>AUDIT: fix max_t thinko.</title>
<updated>2005-05-13T17:50:33Z</updated>
<author>
<name>David Woodhouse</name>
<email>dwmw2@shinybook.infradead.org</email>
</author>
<published>2005-05-13T17:50:33Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=5e014b10ef8477c32a939a48fa02aedcad35a226'/>
<id>urn:sha1:5e014b10ef8477c32a939a48fa02aedcad35a226</id>
<content type='text'>
Der... if you use max_t it helps if you give it a type. 

Note to self: Always just apply the tested patches, don't try to port 
them by hand. You're not clever enough.

Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
<entry>
<title>AUDIT: Fix some spelling errors</title>
<updated>2005-05-13T17:35:15Z</updated>
<author>
<name>Steve Grubb</name>
<email>sgrubb@redhat.com</email>
</author>
<published>2005-05-13T17:35:15Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/linux/commit/?id=23f32d18aa589e228c5a9e12e0d0c67c9b5bcdce'/>
<id>urn:sha1:23f32d18aa589e228c5a9e12e0d0c67c9b5bcdce</id>
<content type='text'>
I'm going through the kernel code and have a patch that corrects 
several spelling errors in comments.

From: Steve Grubb &lt;sgrubb@redhat.com&gt;
Signed-off-by: David Woodhouse &lt;dwmw2@infradead.org&gt;
</content>
</entry>
</feed>
