<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/security/tomoyo/file.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>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>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: 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: Aggregate reader functions.</title>
<updated>2010-08-02T05:34:41Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-17T07:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=31845e8c6d3f4f26702e567c667277f9fd1f73a3'/>
<id>urn:sha1:31845e8c6d3f4f26702e567c667277f9fd1f73a3</id>
<content type='text'>
Now lists are accessible via array index. Aggregate reader functions using index.

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 array of "struct list_head".</title>
<updated>2010-08-02T05:34:40Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-17T07:53:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a230f9e7121cbcbfe23bd5a630abf6b53cece555'/>
<id>urn:sha1:a230f9e7121cbcbfe23bd5a630abf6b53cece555</id>
<content type='text'>
Assign list id and make the lists as array of "struct list_head".

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: Merge tomoyo_path_group and tomoyo_number_group</title>
<updated>2010-08-02T05:34:40Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-17T07:52:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a98aa4debe2728abb3353e35fc5d110dcc0d7f0d'/>
<id>urn:sha1:a98aa4debe2728abb3353e35fc5d110dcc0d7f0d</id>
<content type='text'>
"struct tomoyo_path_group" and "struct tomoyo_number_group" are identical.
Rename tomoyo_path_group/tomoyo_number_group to tomoyo_group and
tomoyo_path_group_member to tomoyo_path_group and
tomoyo_number_group_member to tomoyo_unmber_group.

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: Merge functions.</title>
<updated>2010-08-02T05:34:35Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-16T07:28:21Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cb917cf517075a357ce43b74e8a5a57f2c69a734'/>
<id>urn:sha1:cb917cf517075a357ce43b74e8a5a57f2c69a734</id>
<content type='text'>
Embed tomoyo_path_number_perm2() into tomoyo_path_number_perm().

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: Remove wrapper function for reading keyword.</title>
<updated>2010-08-02T05:34:34Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-16T07:26:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71c282362d0672235c5205a7db1f3ac3fcf32981'/>
<id>urn:sha1:71c282362d0672235c5205a7db1f3ac3fcf32981</id>
<content type='text'>
Keyword strings are read-only. We can directly access them to reduce code size.

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:33Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-16T07:23:55Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=75093152a97ee0ec281895b4f6229ff3c481fd64'/>
<id>urn:sha1:75093152a97ee0ec281895b4f6229ff3c481fd64</id>
<content type='text'>
Use shorter name in order to make it easier to fix 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: Use callback for permission check.</title>
<updated>2010-08-02T05:34:32Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-16T07:22:51Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=99a852596beb26cc449ca1a79834c107ef4080e1'/>
<id>urn:sha1:99a852596beb26cc449ca1a79834c107ef4080e1</id>
<content type='text'>
We can use callback function since parameters are passed via
"const struct tomoyo_request_info".

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>
