<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/security/tomoyo/common.c, branch linux-2.6.37.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.37.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2010-10-20T23:12:45Z</updated>
<entry>
<title>TOMOYO: Print URL information before panic().</title>
<updated>2010-10-20T23:12:45Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-10-08T05:43:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9f1c1d426b0402b25cd0d7ca719ffc8e20e46d5f'/>
<id>urn:sha1:9f1c1d426b0402b25cd0d7ca719ffc8e20e46d5f</id>
<content type='text'>
Configuration files for TOMOYO 2.3 are not compatible with TOMOYO 2.2.
But current panic() message is too unfriendly and is confusing users.

Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Reviewed-by: KOSAKI Motohiro &lt;kosaki.motohiro@jp.fujitsu.com&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>tomoyo: cleanup. don't store bogus pointer</title>
<updated>2010-10-20T23:12:32Z</updated>
<author>
<name>Dan Carpenter</name>
</author>
<published>2010-08-07T22:17:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=68eda8f59081c74a51d037cc29893bd7c9b3c2d8'/>
<id>urn:sha1:68eda8f59081c74a51d037cc29893bd7c9b3c2d8</id>
<content type='text'>
If domain is NULL then &amp;domain-&gt;list is a bogus address.  Let's leave
head-&gt;r.domain NULL instead of saving an unusable pointer.

This is just a cleanup.  The current code always checks head-&gt;r.eof
before dereferencing head-&gt;r.domain.

Signed-off-by: Dan Carpenter &lt;error27@gmail.com&gt;
Acked-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
</content>
</entry>
<entry>
<title>TOMOYO: Don't abuse sys_getpid(), sys_getppid()</title>
<updated>2010-09-27T00:53:18Z</updated>
<author>
<name>Ben Hutchings</name>
</author>
<published>2010-09-26T04:55:13Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8da96e87d349e9035345293093ecc74792fb96a'/>
<id>urn:sha1:c8da96e87d349e9035345293093ecc74792fb96a</id>
<content type='text'>
System call entry functions sys_*() are never to be called from
general kernel code.  The fact that they aren't declared in header
files should have been a clue.  These functions also don't exist on
Alpha since it has sys_getxpid() instead.

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Acked-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>TOMOYO: Update version to 2.3.0</title>
<updated>2010-08-02T05:35:10Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-07-27T08:17:06Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e6f6a4cc955d626ed26562d98de5766bf1f73526'/>
<id>urn:sha1:e6f6a4cc955d626ed26562d98de5766bf1f73526</id>
<content type='text'>
Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>TOMOYO: Add missing poll() hook.</title>
<updated>2010-08-02T05:34:55Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-25T03:22:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0849e3ba53c3ef603dffa9758a73e07ed186a937'/>
<id>urn:sha1:0849e3ba53c3ef603dffa9758a73e07ed186a937</id>
<content type='text'>
Commit 1dae08c "TOMOYO: Add interactive enforcing mode." forgot to register
poll() hook. As a result, /usr/sbin/tomoyo-queryd was doing busy loop.

Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>TOMOYO: Rename symbols.</title>
<updated>2010-08-02T05:34:54Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-25T02:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=e2bf69077acefee5247bb661faac2552d29ba7ba'/>
<id>urn:sha1:e2bf69077acefee5247bb661faac2552d29ba7ba</id>
<content type='text'>
Use shorter name in order to make it easier to fit 80 columns limit.

Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>TOMOYO: Small cleanup.</title>
<updated>2010-08-02T05:34:54Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-25T00:30:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e5686874bcb882f69d5c04e6b38dc92b97facea'/>
<id>urn:sha1:8e5686874bcb882f69d5c04e6b38dc92b97facea</id>
<content type='text'>
Split tomoyo_write_profile() into several functions.

Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>TOMOYO: Copy directly to userspace buffer.</title>
<updated>2010-08-02T05:34:45Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-24T05:57:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f23571e866309a2048030ef6a5f0725cf139d4c9'/>
<id>urn:sha1:f23571e866309a2048030ef6a5f0725cf139d4c9</id>
<content type='text'>
When userspace program reads policy from /sys/kernel/security/tomoyo/
interface, TOMOYO uses line buffered mode. A line has at least one word.

Commit 006dacc "TOMOYO: Support longer pathname." changed a word's max length
from 4000 bytes to max kmalloc()able bytes. By that commit, a line's max length
changed from 8192 bytes to more than max kmalloc()able bytes.

Max number of words in a line remains finite. This patch changes the way of
buffering so that all words in a line are firstly directly copied to userspace
buffer as much as possible and are secondly queued for next read request.
Words queued are guaranteed to be valid until /sys/kernel/security/tomoyo/
interface is close()d.

Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>TOMOYO: Use common code for policy reading.</title>
<updated>2010-08-02T05:34:45Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-24T03:24:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5db5a39b6462c8360c9178b28f4b07c320dfca1c'/>
<id>urn:sha1:5db5a39b6462c8360c9178b28f4b07c320dfca1c</id>
<content type='text'>
tomoyo_print_..._acl() are similar. Merge them.

Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>TOMOYO: Allow reading only execute permission.</title>
<updated>2010-08-02T05:34:44Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-24T03:00:25Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=063821c8160568b3390044390c8328e36c5696ad'/>
<id>urn:sha1:063821c8160568b3390044390c8328e36c5696ad</id>
<content type='text'>
Policy editor needs to know allow_execute entries in order to build domain
transition tree. Reading all entries is slow. Thus, allow reading only
allow_execute entries.

Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
</feed>
