<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/security/tomoyo/file.c, branch linux-2.6.32.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.32.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2009-06-08T23:30:24Z</updated>
<entry>
<title>TOMOYO: Add description of lists and structures.</title>
<updated>2009-06-08T23:30:24Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2009-06-08T03:37:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c3fa109a5894077d1eaf8731ea741a15dd117b3c'/>
<id>urn:sha1:c3fa109a5894077d1eaf8731ea741a15dd117b3c</id>
<content type='text'>
This patch adds some descriptions of lists and structures.
This patch contains no code changes.

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 unused parameter.</title>
<updated>2009-06-04T07:35:18Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2009-06-04T06:14:34Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bcb86975dbcc24f820f1a37918d53914af29ace7'/>
<id>urn:sha1:bcb86975dbcc24f820f1a37918d53914af29ace7</id>
<content type='text'>
TOMOYO 2.2.0 does not check argv[] and envp[] upon execve().
We don't need to pass "struct tomoyo_page_buffer".

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: Simplify policy reader.</title>
<updated>2009-06-02T21:51:51Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2009-06-02T11:42:24Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7d2948b1248109dbc7f4aaf9867c54b1912d494c'/>
<id>urn:sha1:7d2948b1248109dbc7f4aaf9867c54b1912d494c</id>
<content type='text'>
We can directly assign the result of tomoyo_io_printf() to done flag.

Signed-off-by: Kentaro Takeda &lt;takedakn@nttdata.co.jp&gt;
Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: Toshiharu Harada &lt;haradats@nttdata.co.jp&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>TOMOYO: Remove redundant markers.</title>
<updated>2009-06-02T21:50:06Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2009-06-02T05:23:39Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ab588ccadc80f6ef5495e83e176e88c5c0fc2d0e'/>
<id>urn:sha1:ab588ccadc80f6ef5495e83e176e88c5c0fc2d0e</id>
<content type='text'>
Remove '/***** START/STOP *****/' markers.

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: version bump to 2.2.0.</title>
<updated>2009-04-13T23:15:02Z</updated>
<author>
<name>Tetsuo Handa</name>
</author>
<published>2009-04-08T13:31:28Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=39826a1e17c1957bd7b5cd7815b83940e5e3a230'/>
<id>urn:sha1:39826a1e17c1957bd7b5cd7815b83940e5e3a230</id>
<content type='text'>
Signed-off-by: Kentaro Takeda &lt;takedakn@nttdata.co.jp&gt;
Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: Toshiharu Harada &lt;haradats@nttdata.co.jp&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
<entry>
<title>File operation restriction part.</title>
<updated>2009-02-12T04:15:05Z</updated>
<author>
<name>Kentaro Takeda</name>
</author>
<published>2009-02-05T08:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b69a54ee582373d76e4b5560970db5b8c618b12a'/>
<id>urn:sha1:b69a54ee582373d76e4b5560970db5b8c618b12a</id>
<content type='text'>
This file controls file related operations of TOMOYO Linux.

tomoyo/tomoyo.c calls the following six functions in this file.
Each function handles the following access types.

 * tomoyo_check_file_perm
sysctl()'s "read" and "write".

 * tomoyo_check_exec_perm
"execute".

 * tomoyo_check_open_permission
open(2) for "read" and "write".

 * tomoyo_check_1path_perm
"create", "unlink", "mkdir", "rmdir", "mkfifo",
"mksock", "mkblock", "mkchar", "truncate" and "symlink".

 * tomoyo_check_2path_perm
"rename" and "unlink".

 * tomoyo_check_rewrite_permission
"rewrite".
("rewrite" are operations which may lose already recorded data of a file,
i.e. open(!O_APPEND) || open(O_TRUNC) || truncate() || ftruncate())

The functions which actually checks ACLs are the following three functions.
Each function handles the following access types.
ACL directive is expressed by "allow_&lt;access type&gt;".

 * tomoyo_check_file_acl
Open() operation and execve() operation.
("read", "write", "read/write" and "execute")

 * tomoyo_check_single_write_acl
Directory modification operations with 1 pathname.
("create", "unlink", "mkdir", "rmdir", "mkfifo", "mksock",
 "mkblock", "mkchar", "truncate", "symlink" and "rewrite")

 * tomoyo_check_double_write_acl
Directory modification operations with 2 pathname.
("link" and "rename")

Also, this file contains handlers of some utility directives
for file related operations.

 * "allow_read":   specifies globally (for all domains) readable files.
 * "path_group":   specifies pathname macro.
 * "deny_rewrite": restricts rewrite operation.

Signed-off-by: Kentaro Takeda &lt;takedakn@nttdata.co.jp&gt;
Signed-off-by: Tetsuo Handa &lt;penguin-kernel@I-love.SAKURA.ne.jp&gt;
Signed-off-by: Toshiharu Harada &lt;haradats@nttdata.co.jp&gt;
Signed-off-by: James Morris &lt;jmorris@namei.org&gt;
</content>
</entry>
</feed>
