<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/security/tomoyo/mount.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-08-02T05:38:38Z</updated>
<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: Loosen parameter check for mount operation.</title>
<updated>2010-08-02T05:34:34Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-16T07:24:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d795ef9e751b72c94600c91e31bdaef55987a9f6'/>
<id>urn:sha1:d795ef9e751b72c94600c91e31bdaef55987a9f6</id>
<content type='text'>
If invalid combination of mount flags are given, it will be rejected later.
Thus, no need for TOMOYO to reject invalid combination of mount flags.

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>
<entry>
<title>TOMOYO: Pass parameters via structure.</title>
<updated>2010-08-02T05:34:32Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-16T07:21:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=cf6e9a6468ec82a94cbc707b607452ec4454182c'/>
<id>urn:sha1:cf6e9a6468ec82a94cbc707b607452ec4454182c</id>
<content type='text'>
To make it possible to use callback function, pass parameters via
"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>
<entry>
<title>TOMOYO: Use callback for updating entries.</title>
<updated>2010-08-02T05:34:28Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-12T11:46:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=237ab459f12cb98eadd3fe7b85343e183a1076a4'/>
<id>urn:sha1:237ab459f12cb98eadd3fe7b85343e183a1076a4</id>
<content type='text'>
Use common "struct list_head" + "bool" + "u8" structure and
use common code for elements using that structure.

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 profile structure.</title>
<updated>2010-08-02T05:33:43Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-03T11:38:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=57c2590fb7fd38bd52708ff2716a577d0c2b3c5a'/>
<id>urn:sha1:57c2590fb7fd38bd52708ff2716a577d0c2b3c5a</id>
<content type='text'>
This patch allows users to change access control mode for per-operation basis.
This feature comes from non LSM version of TOMOYO which is designed for
permitting users to use SELinux and TOMOYO at the same time.

SELinux does not care filename in a directory whereas TOMOYO does. Change of
filename can change how the file is used. For example, renaming index.txt to
.htaccess will change how the file is used. Thus, letting SELinux to enforce
read()/write()/mmap() etc. restriction and letting TOMOYO to enforce rename()
restriction is an example usage of this feature.

What is unfortunate for me is that currently LSM does not allow users to use
SELinux and LSM version of TOMOYO at the same time...

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: Support longer pathname.</title>
<updated>2010-08-02T05:33:41Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-06-03T11:36:43Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c8c57e842720d8cc92ac8607f2d1c16d92314573'/>
<id>urn:sha1:c8c57e842720d8cc92ac8607f2d1c16d92314573</id>
<content type='text'>
Allow pathnames longer than 4000 bytes.

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 interactive enforcing mode.</title>
<updated>2010-08-02T05:33:38Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2010-05-17T01:11:36Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=17fcfbd9d45b57f38d40e31f9d28db53f4af5c88'/>
<id>urn:sha1:17fcfbd9d45b57f38d40e31f9d28db53f4af5c88</id>
<content type='text'>
Since the behavior of the system is restricted by policy, we may need to update
policy when you update packages.

We need to update policy in the following cases.

    * The pathname of files has changed.
    * The dependency of files has changed.
    * The access permissions required has increased.

The ideal way to update policy is to rebuild from the scratch using learning
mode. But it is not desirable to change from enforcing mode to other mode if
the system has once entered in production state. Suppose MAC could support
per-application enforcing mode, the MAC becomes useless if an application that
is not running in enforcing mode was cracked. For example, the whole system
becomes vulnerable if only HTTP server application is running in learning mode
to rebuild policy for the application. So, in TOMOYO Linux, updating policy is
done while the system is running in enforcing mode.

This patch implements "interactive enforcing mode" which allows administrators
to judge whether to accept policy violation in enforcing mode or not.
A demo movie is available at http://www.youtube.com/watch?v=b9q1Jo25LPA .

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>
