diff options
author | Konstantin Khlebnikov <khlebnikov@yandex-team.ru> | 2017-02-08 12:28:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-02-10 16:02:26 +0100 |
commit | 17627157cda13089d8a6c1c2d35acb07334b899c (patch) | |
tree | 9a717bcda9657c2e46943d852631e0a53fe3e45a /security | |
parent | Introduce STATIC_USERMODEHELPER to mediate call_usermodehelper() (diff) | |
download | linux-17627157cda13089d8a6c1c2d35acb07334b899c.tar.xz linux-17627157cda13089d8a6c1c2d35acb07334b899c.zip |
kernfs: handle null pointers while printing node name and path
Null kernfs nodes could be found at cgroups during construction.
It seems safer to handle these null pointers right in kernfs in
the same way as printf prints "(null)" for null pointer string.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions