Skip to content
Commit c8e477c6 authored by Al Viro's avatar Al Viro
Browse files

->getprocattr(): attribute name is const char *, TYVM...



cast of ->d_name.name to char * is completely wrong - nothing is
allowed to modify its contents.

Reviewed-by: default avatarChristian Brauner (Microsoft) <brauner@kernel.org>
Acked-by: default avatarPaul Moore <paul@paul-moore.com>
Acked-by: default avatarCasey Schaufler <casey@schaufler-ca.com>
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 568035b0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment