Re: [PATCH 3/4] xattr: Use dedicated slab buckets for setxattr()

From: Eric Biggers
Date: Mon Mar 04 2024 - 17:17:03 EST


On Mon, Mar 04, 2024 at 10:49:31AM -0800, Kees Cook wrote:
> xattr: Use dedicated slab buckets for setxattr()

This patch actually changes listxattr(), not setxattr().

getxattr(), setxattr(), and listxattr() all allocate a user controlled size.
Perhaps you meant to change all three? What is special about listxattr() (or
setxattr() if you actually meant to change that one)?

- Eric