<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/xattr.c, branch linux-4.0.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-4.0.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2014-11-19T18:01:26Z</updated>
<entry>
<title>new helper: audit_file()</title>
<updated>2014-11-19T18:01:26Z</updated>
<author>
<name>Al Viro</name>
</author>
<published>2014-10-31T21:44:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9f45f5bf302daad6835ce64701fb3c286a2cc6af'/>
<id>urn:sha1:9f45f5bf302daad6835ce64701fb3c286a2cc6af</id>
<content type='text'>
... for situations when we don't have any candidate in pathnames - basically,
in descriptor-based syscalls.

[Folded the build fix for !CONFIG_AUDITSYSCALL configs from Chen Gang]

Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>vfs: Deduplicate code shared by xattr system calls operating on paths</title>
<updated>2014-10-12T21:09:10Z</updated>
<author>
<name>Eric Biggers</name>
</author>
<published>2014-10-12T16:59:58Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=8cc431165d8fbda43634dd15ab17f76a151c39a8'/>
<id>urn:sha1:8cc431165d8fbda43634dd15ab17f76a151c39a8</id>
<content type='text'>
The following pairs of system calls dealing with extended attributes only
differ in their behavior on whether the symbolic link is followed (when
the named file is a symbolic link):

- setxattr() and lsetxattr()
- getxattr() and lgetxattr()
- listxattr() and llistxattr()
- removexattr() and lremovexattr()

Despite this, the implementations all had duplicated code, so this commit
redirects each of the above pairs of system calls to a corresponding
function to which different lookup flags (LOOKUP_FOLLOW or 0) are passed.

For me this reduced the stripped size of xattr.o from 8824 to 8248 bytes.

Signed-off-by: Eric Biggers &lt;ebiggers3@gmail.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>simple_xattr: permit 0-size extended attributes</title>
<updated>2014-07-23T22:10:55Z</updated>
<author>
<name>Hugh Dickins</name>
</author>
<published>2014-07-23T21:00:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=4e66d445d0421a159135572a0ba44b75c7c4adfa'/>
<id>urn:sha1:4e66d445d0421a159135572a0ba44b75c7c4adfa</id>
<content type='text'>
If a filesystem uses simple_xattr to support user extended attributes,
LTP setxattr01 and xfstests generic/062 fail with "Cannot allocate
memory": simple_xattr_alloc()'s wrap-around test mistakenly excludes
values of zero size.  Fix that off-by-one (but apparently no filesystem
needs them yet).

Signed-off-by: Hugh Dickins &lt;hughd@google.com&gt;
Cc: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
Cc: Jeff Layton &lt;jlayton@poochiereds.net&gt;
Cc: Aristeu Rozanski &lt;aris@redhat.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>vfs: make lremovexattr retry once on ESTALE error</title>
<updated>2012-12-20T23:50:11Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-12-11T17:10:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b729d75d19777a5dd34672020516eada43ff026f'/>
<id>urn:sha1:b729d75d19777a5dd34672020516eada43ff026f</id>
<content type='text'>
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>vfs: make removexattr retry once on ESTALE</title>
<updated>2012-12-20T23:50:10Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-12-11T17:10:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=12f06212990400db1b54bd7b49b7f6f5f1b32469'/>
<id>urn:sha1:12f06212990400db1b54bd7b49b7f6f5f1b32469</id>
<content type='text'>
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>vfs: make llistxattr retry once on ESTALE error</title>
<updated>2012-12-20T23:50:10Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-12-11T17:10:17Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bd9bbc9842bde1b14046cdbda1153f0d49061135'/>
<id>urn:sha1:bd9bbc9842bde1b14046cdbda1153f0d49061135</id>
<content type='text'>
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>vfs: make listxattr retry once on ESTALE error</title>
<updated>2012-12-20T23:50:10Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-12-11T17:10:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=10a90cf36efe0fca5c7719fd9b0299abd6be51aa'/>
<id>urn:sha1:10a90cf36efe0fca5c7719fd9b0299abd6be51aa</id>
<content type='text'>
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>vfs: make lgetxattr retry once on ESTALE</title>
<updated>2012-12-20T23:50:09Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-12-11T17:10:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3a3e159dbfe405517584b09bbcefd72115d93342'/>
<id>urn:sha1:3a3e159dbfe405517584b09bbcefd72115d93342</id>
<content type='text'>
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>vfs: make getxattr retry once on an ESTALE error</title>
<updated>2012-12-20T23:50:09Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-12-11T17:10:16Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=60e66b48ca20819d97ec4851007accc0b013985a'/>
<id>urn:sha1:60e66b48ca20819d97ec4851007accc0b013985a</id>
<content type='text'>
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
<entry>
<title>vfs: allow lsetxattr() to retry once on ESTALE errors</title>
<updated>2012-12-20T23:50:09Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-12-11T17:10:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=49e09e1cc576daa99ea22f3a3c699062c34f8c0f'/>
<id>urn:sha1:49e09e1cc576daa99ea22f3a3c699062c34f8c0f</id>
<content type='text'>
Signed-off-by: Jeff Layton &lt;jlayton@redhat.com&gt;
Signed-off-by: Al Viro &lt;viro@zeniv.linux.org.uk&gt;
</content>
</entry>
</feed>
