<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/f2fs/acl.c, branch linux-3.17.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.17.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-07-09T21:04:25Z</updated>
<entry>
<title>f2fs: remove the redundant validation check of acl</title>
<updated>2014-07-09T21:04:25Z</updated>
<author>
<name>Gu Zheng</name>
</author>
<published>2014-06-24T10:18:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=34e6d456da4a61f655655a6d431657da5753913f'/>
<id>urn:sha1:34e6d456da4a61f655655a6d431657da5753913f</id>
<content type='text'>
kernel side(xx_init_acl), the acl is get/cloned from the parent dir's,
which is credible. So remove the redundant validation check of acl
here.

Signed-off-by: Gu Zheng &lt;guz.fnst@cn.fujitsu.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk@kernel.org&gt;
</content>
</entry>
<entry>
<title>f2fs: pass flags field to setxattr functions</title>
<updated>2014-05-07T01:21:56Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-04-23T03:23:14Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=c02745ef684f9a6f98f30388ed048ee460db5483'/>
<id>urn:sha1:c02745ef684f9a6f98f30388ed048ee460db5483</id>
<content type='text'>
This patch passes the "flags" field to the low level setxattr functions
to use XATTR_REPLACE in the following patches.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>f2fs: check the acl's validity before setting</title>
<updated>2014-04-07T03:18:30Z</updated>
<author>
<name>ZhangZhen</name>
</author>
<published>2014-04-04T01:47:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3a8861e2715e3b985bfaac43bcdfcfebe9b423cb'/>
<id>urn:sha1:3a8861e2715e3b985bfaac43bcdfcfebe9b423cb</id>
<content type='text'>
Before setting the acl, call posix_acl_valid() to check if it is
valid or not.

Signed-off-by: zhangzhen &lt;zhenzhang.zhang@huawei.com&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>f2fs: avoid RECLAIM_FS-ON-W warning</title>
<updated>2014-03-20T13:21:08Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2014-03-20T13:21:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=808a1d7490671a74ffa077cf92779c7b0c9f66da'/>
<id>urn:sha1:808a1d7490671a74ffa077cf92779c7b0c9f66da</id>
<content type='text'>
This patch should resolve the following possible bug.

RECLAIM_FS-ON-W at:
 mark_held_locks+0xb9/0x140
 lockdep_trace_alloc+0x85/0xf0
 __kmalloc+0x53/0x1d0
 read_all_xattrs+0x3d1/0x3f0 [f2fs]
 f2fs_getxattr+0x4f/0x100 [f2fs]
 f2fs_get_acl+0x4c/0x290 [f2fs]
 get_acl+0x4f/0x80
 posix_acl_create+0x72/0x180
 f2fs_init_acl+0x29/0xcc [f2fs]
 __f2fs_add_link+0x259/0x710 [f2fs]
 f2fs_create+0xad/0x1c0 [f2fs]
 vfs_create+0xed/0x150
 do_last+0xd36/0xed0
 path_openat+0xc5/0x680
 do_filp_open+0x43/0xa0
 do_sys_open+0x13c/0x230
 SyS_creat+0x1e/0x20
 system_call_fastpath+0x16/0x1b

Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>f2fs: use generic posix ACL infrastructure</title>
<updated>2014-01-26T04:58:19Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2013-12-20T13:16:45Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=a6dda0e63e97122ce9e0ba04367e37cca28315fa'/>
<id>urn:sha1:a6dda0e63e97122ce9e0ba04367e37cca28315fa</id>
<content type='text'>
f2fs has some weird mode bit handling, so still using the old
chmod code for now.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>fs: make posix_acl_create more useful</title>
<updated>2014-01-26T04:58:18Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2013-12-20T13:16:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=37bc15392a2363ca822b2c2828e0ccafbea32f75'/>
<id>urn:sha1:37bc15392a2363ca822b2c2828e0ccafbea32f75</id>
<content type='text'>
Rename the current posix_acl_created to __posix_acl_create and add
a fully featured helper to set up the ACLs on file creation that
uses get_acl().

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Jan Kara &lt;jack@suse.cz&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>fs: make posix_acl_chmod more useful</title>
<updated>2014-01-26T04:58:18Z</updated>
<author>
<name>Christoph Hellwig</name>
</author>
<published>2013-12-20T13:16:41Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=5bf3258fd2acd8515450ab8efcd97c9d3b69f7f9'/>
<id>urn:sha1:5bf3258fd2acd8515450ab8efcd97c9d3b69f7f9</id>
<content type='text'>
Rename the current posix_acl_chmod to __posix_acl_chmod and add
a fully featured ACL chmod helper that uses the -&gt;set_acl inode
operation.

Signed-off-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: Jan Kara &lt;jack@suse.cz&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>f2fs: fix a deadlock during init_acl procedure</title>
<updated>2013-10-28T04:39:09Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2013-10-28T04:17:54Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ed2d5b33cb564025b1eb90650d70a0a3592c0e3'/>
<id>urn:sha1:2ed2d5b33cb564025b1eb90650d70a0a3592c0e3</id>
<content type='text'>
The deadlock is found through the following scenario.

sys_mkdir()
 -&gt; f2fs_add_link()
  -&gt; __f2fs_add_link()
   -&gt; init_inode_metadata()
     : lock_page(inode);
    -&gt; f2fs_init_acl()
     -&gt; f2fs_set_acl()
      -&gt; f2fs_setxattr(..., NULL)
       : This NULL page incurs a deadlock at update_inode_page().

So, likewise f2fs_init_security(), this patch adds a parameter to transfer the
locked inode page to f2fs_setxattr().

Found by Linux File System Verification project (linuxtesting.org).

Reported-by: Alexey Khoroshilov &lt;khoroshilov@ispras.ru&gt;
Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>f2fs: clean up acl flow for better readability</title>
<updated>2013-10-28T04:38:21Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2013-10-28T04:12:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b8b60e1a65893728ca868493cb4c4b64b55e7f9c'/>
<id>urn:sha1:b8b60e1a65893728ca868493cb4c4b64b55e7f9c</id>
<content type='text'>
This patch cleans up a couple of acl codes.

Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
<entry>
<title>f2fs: support xattr security labels</title>
<updated>2013-06-11T07:01:03Z</updated>
<author>
<name>Jaegeuk Kim</name>
</author>
<published>2013-06-03T10:46:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8ae8f1627f39bae505b90cade50cd8a911b8bda6'/>
<id>urn:sha1:8ae8f1627f39bae505b90cade50cd8a911b8bda6</id>
<content type='text'>
This patch adds the support of security labels for f2fs, which will be used
by Linus Security Models (LSMs).

Quote from http://en.wikipedia.org/wiki/Linux_Security_Modules:
"Linux Security Modules (LSM) is a framework that allows the Linux kernel to
support a variety of computer security models while avoiding favoritism toward
any single security implementation. The framework is licensed under the terms of
the GNU General Public License and is standard part of the Linux kernel since
Linux 2.6. AppArmor, SELinux, Smack and TOMOYO Linux are the currently accepted
modules in the official kernel.".

Signed-off-by: Jaegeuk Kim &lt;jaegeuk.kim@samsung.com&gt;
</content>
</entry>
</feed>
