Thread (12 messages) 12 messages, 3 authors, 2021-04-20

RE: [PATCH 1/5] xattr: Complete constify ->name member of "struct xattr"

From: Roberto Sassu <roberto.sassu@huawei.com>
Date: 2021-04-15 12:26:11
Also in: linux-integrity, lkml, selinux, stable

From: Tetsuo Handa [mailto:penguin-kernel@i-love.sakura.ne.jp]
Sent: Thursday, April 15, 2021 1:20 PM
On 2021/04/15 19:04, Roberto Sassu wrote:
quoted
This patch completes commit 9548906b2bb7 ('xattr: Constify ->name
member of
quoted
"struct xattr"'). It fixes the documentation of the inode_init_security
hook, by removing the xattr name from the objects that are expected to
be
quoted
allocated by LSMs (only the value is allocated). Also, it removes the
kfree() of name and setting it to NULL in the reiserfs code.
Good catch, but well, grep does not find any reiserfs_security_free() callers.
Is reiserfs_security_free() a dead code?
Uhm, I also don't see it.

Thanks

Roberto

HUAWEI TECHNOLOGIES Duesseldorf GmbH, HRB 56063
Managing Director: Li Peng, Li Jian, Shi Yanli
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help