<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/security/tomoyo, 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>2011-03-23T19:50:09Z</updated>
<entry>
<title>TOMOYO: Fix memory leak upon file open.</title>
<updated>2011-03-23T19:50:09Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2011-03-02T07:54:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=db66d7a2baa3cecb38ea4383d803b51f2c448641'/>
<id>urn:sha1:db66d7a2baa3cecb38ea4383d803b51f2c448641</id>
<content type='text'>
commit eae61f3c829439f8f9121b5cd48a14be04df451f upstream.

In tomoyo_check_open_permission() since 2.6.36, TOMOYO was by error
recalculating already calculated pathname when checking allow_rewrite
permission. As a result, memory will leak whenever a file is opened for writing
without O_APPEND flag. Also, performance will degrade because TOMOYO is
calculating pathname regardless of profile configuration.
This patch fixes the leak and performance degrade.

Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@suse.de&gt;

</content>
</entry>
<entry>
<title>fs: take dcache_lock inside __d_path</title>
<updated>2010-10-26T01:26:12Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2010-10-10T09:36:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=be148247cfbe2422f5709e77d9c3e10b8a6394da'/>
<id>urn:sha1:be148247cfbe2422f5709e77d9c3e10b8a6394da</id>
<content type='text'>
All callers take dcache_lock just around the call to __d_path, so
take the lock into it in preparation of getting rid of dcache_lock.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<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: Use pathname specified by policy rather than execve()</title>
<updated>2010-08-02T05:38:38Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-07-29T05:29:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=484ca79c653121d3c79fffb86e1deea724f2e20b'/>
<id>urn:sha1:484ca79c653121d3c79fffb86e1deea724f2e20b</id>
<content type='text'>
Commit c9e69318 "TOMOYO: Allow wildcard for execute permission." changed execute
permission and domainname to accept wildcards. But tomoyo_find_next_domain()
was using pathname passed to execve() rather than pathname specified by the
execute permission. As a result, processes were not able to transit to domains
which contain wildcards in their domainnames.

This patch passes pathname specified by the execute permission back to
tomoyo_find_next_domain() so that processes can transit to domains which
contain wildcards in their domainnames.

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: 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: Fix quota check.</title>
<updated>2010-08-02T05:35:09Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-07-27T01:08:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e3d199a4009a4094a955282daf5ecd43f2c8152'/>
<id>urn:sha1:7e3d199a4009a4094a955282daf5ecd43f2c8152</id>
<content type='text'>
Commit d74725b9 "TOMOYO: Use callback for updating entries." broke
tomoyo_domain_quota_is_ok() by counting deleted entries. It needs to
count non-deleted 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>
<entry>
<title>TOMOYO: Explicitly set file_operations-&gt;llseek pointer.</title>
<updated>2010-08-02T05:34:57Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-07-08T12:57:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7e2deb7ce8f662bce877dbfd3b0053e9559c25a3'/>
<id>urn:sha1:7e2deb7ce8f662bce877dbfd3b0053e9559c25a3</id>
<content type='text'>
TOMOYO does not deal offset pointer. Thus seek operation makes
no sense. Changing default seek operation from default_llseek()
to no_llseek() might break some applications. Thus, explicitly
set noop_llseek().

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>
</feed>
