<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/fcntl.c, branch linux-3.12.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.12.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-3.12.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2013-08-05T14:25:32Z</updated>
<entry>
<title>vfs: add missing check for __O_TMPFILE in fcntl_init()</title>
<updated>2013-08-05T14:25:32Z</updated>
<author>
<name>Zheng Liu</name>
</author>
<published>2013-07-25T00:13:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3d62c45b38e534262d443b5820fb06a0e6d0d42f'/>
<id>urn:sha1:3d62c45b38e534262d443b5820fb06a0e6d0d42f</id>
<content type='text'>
As comment in include/uapi/asm-generic/fcntl.h described, when
introducing new O_* bits, we need to check its uniqueness in
fcntl_init().  But __O_TMPFILE bit is missing.  So fix it.

Signed-off-by: Zheng Liu &lt;wenqing.lz@taobao.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>new helper: file_inode(file)</title>
<updated>2013-02-23T04:31:31Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2013-01-23T22:07:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=496ad9aa8ef448058e36ca7a787c61f2e63f0f54'/>
<id>urn:sha1:496ad9aa8ef448058e36ca7a787c61f2e63f0f54</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>Fix F_DUPFD_CLOEXEC breakage</title>
<updated>2012-10-09T06:52:31Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-10-08T22:21:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=121977187ca0a7f20b848530deb04cc56167769b'/>
<id>urn:sha1:121977187ca0a7f20b848530deb04cc56167769b</id>
<content type='text'>
Fix a braino in F_DUPFD_CLOEXEC; f_dupfd() expects flags for alloc_fd(),
get_unused_fd() etc and there clone-on-exec if O_CLOEXEC, not
FD_CLOEXEC.

Reported-by: Richard W.M. Jones &lt;rjones@redhat.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>fcntl: fix misannotations</title>
<updated>2012-09-27T02:20:20Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-09-27T01:43:05Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=63784dd02b2ac85e867be9d6a6f5536c4ff738be'/>
<id>urn:sha1:63784dd02b2ac85e867be9d6a6f5536c4ff738be</id>
<content type='text'>
__user * != * __user...

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>switch simple cases of fget_light to fdget</title>
<updated>2012-09-27T02:20:08Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-08-28T16:52:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2903ff019b346ab8d36ebbf54853c3aaf6590608'/>
<id>urn:sha1:2903ff019b346ab8d36ebbf54853c3aaf6590608</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>take purely descriptor-related stuff from fcntl.c to file.c</title>
<updated>2012-09-27T01:09:57Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-08-21T15:48:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=fe17f22d7fd0e344ef6447238f799bb49f670c6f'/>
<id>urn:sha1:fe17f22d7fd0e344ef6447238f799bb49f670c6f</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>take rlimit check to callers of expand_files()</title>
<updated>2012-09-27T01:08:53Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-08-12T20:17:59Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f33ff9927f42045116d738ee47ff7bc59f739bd7'/>
<id>urn:sha1:f33ff9927f42045116d738ee47ff7bc59f739bd7</id>
<content type='text'>
... except for one in android, where the check is different
and already done in caller.  No need to recalculate rlimit
many times in alloc_fd() either.

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>c/r: fcntl: add F_GETOWNER_UIDS option</title>
<updated>2012-07-31T00:25:21Z</updated>
<author>
<name>Cyrill Gorcunov</name>
</author>
<published>2012-07-30T21:43:00Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=1d151c337d79fa3de88654d2514f58fbd916a8e0'/>
<id>urn:sha1:1d151c337d79fa3de88654d2514f58fbd916a8e0</id>
<content type='text'>
When we restore file descriptors we would like them to look exactly as
they were at dumping time.

With help of fcntl it's almost possible, the missing snippet is file
owners UIDs.

To be able to read their values the F_GETOWNER_UIDS is introduced.

This option is valid iif CONFIG_CHECKPOINT_RESTORE is turned on, otherwise
returning -EINVAL.

Signed-off-by: Cyrill Gorcunov &lt;gorcunov@openvz.org&gt;
Acked-by: "Eric W. Biederman" &lt;ebiederm@xmission.com&gt;
Cc: "Serge E. Hallyn" &lt;serge@hallyn.com&gt;
Cc: Oleg Nesterov &lt;oleg@redhat.com&gt;
Cc: Pavel Emelyanov &lt;xemul@parallels.com&gt;
Signed-off-by: Andrew Morton &lt;akpm@linux-foundation.org&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>switch fcntl to fget_raw_light/fput_light</title>
<updated>2012-05-30T03:28:30Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2012-04-21T22:42:19Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=545ec2c7945bf7d22d0779e7dc9bf16f7dd9ae34'/>
<id>urn:sha1:545ec2c7945bf7d22d0779e7dc9bf16f7dd9ae34</id>
<content type='text'>
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>userns: Use uid_eq gid_eq helpers when comparing kuids and kgids in the vfs</title>
<updated>2012-05-03T10:29:34Z</updated>
<author>
<name>Eric W. Biederman</name>
</author>
<published>2012-03-04T05:17:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8e96e3b7b8407be794ab1fd8e4b332818a358e78'/>
<id>urn:sha1:8e96e3b7b8407be794ab1fd8e4b332818a358e78</id>
<content type='text'>
Acked-by: Serge Hallyn &lt;serge.hallyn@canonical.com&gt;
Signed-off-by: Eric W. Biederman &lt;ebiederm@xmission.com&gt;
</content>
</entry>
</feed>
