<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/fs/xattr.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>2012-12-20T23:50:11Z</updated>
<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>
<entry>
<title>vfs: allow setxattr to retry once on ESTALE errors</title>
<updated>2012-12-20T23:50:08Z</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=68f1bb8bb89e0bb813c893a42373a26ebdab7f9c'/>
<id>urn:sha1:68f1bb8bb89e0bb813c893a42373a26ebdab7f9c</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>fs, xattr: fix bug when removing a name not in xattr list</title>
<updated>2012-10-18T19:35:58Z</updated>
<author>
<name>David Rientjes</name>
</author>
<published>2012-10-18T03:41:15Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=43385846968b082bb6c174e8b17479e5123b8d73'/>
<id>urn:sha1:43385846968b082bb6c174e8b17479e5123b8d73</id>
<content type='text'>
Commit 38f38657444d ("xattr: extract simple_xattr code from tmpfs") moved
some code from tmpfs but introduced a subtle bug along the way.

If the name passed to simple_xattr_remove() does not exist in the list of
xattrs, then it is possible to call kfree(new_xattr) when new_xattr is
actually initialized to itself on the stack via uninitialized_var().

This causes a BUG() since the memory was not allocated via the slab
allocator and was not bypassed through to the page allocator because it
was too large.

Initialize the local variable to NULL so the kfree() never takes place.

Reported-by: Fengguang Wu &lt;fengguang.wu@intel.com&gt;
Signed-off-by: David Rientjes &lt;rientjes@google.com&gt;
Acked-by: Hugh Dickins &lt;hughd@google.com&gt;
Acked-by: Aristeu Rozanski &lt;aris@redhat.com&gt;
Signed-off-by: Linus Torvalds &lt;torvalds@linux-foundation.org&gt;
</content>
</entry>
<entry>
<title>audit: set the name_len in audit_inode for parent lookups</title>
<updated>2012-10-12T04:32:01Z</updated>
<author>
<name>Jeff Layton</name>
</author>
<published>2012-10-10T19:25:23Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bfcec7087458812f575d9022b2d151641f34ee84'/>
<id>urn:sha1:bfcec7087458812f575d9022b2d151641f34ee84</id>
<content type='text'>
Currently, this gets set mostly by happenstance when we call into
audit_inode_child. While that might be a little more efficient, it seems
wrong. If the syscall ends up failing before audit_inode_child ever gets
called, then you'll have an audit_names record that shows the full path
but has the parent inode info attached.

Fix this by passing in a parent flag when we call audit_inode that gets
set to the value of LOOKUP_PARENT. We can then fix up the pathname for
the audit entry correctly from the get-go.

While we're at it, clean up the no-op macro for audit_inode in the
!CONFIG_AUDITSYSCALL case.

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>
