Commit 5c7fae14 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov

show: Fix useless sigaction mask dereference which lead to sigsev

struct sa_entry was converted to native format so
no need for dereference here.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
parent 8e5dc8a1
...@@ -230,7 +230,7 @@ static void show_sigacts(char *name, int fd_sigacts, bool show_header) ...@@ -230,7 +230,7 @@ static void show_sigacts(char *name, int fd_sigacts, bool show_header)
pr_info("sigaction: %016lx mask: %08lx " pr_info("sigaction: %016lx mask: %08lx "
"flags: %016lx restorer: %016lx\n", "flags: %016lx restorer: %016lx\n",
(long)e.sigaction, (long)e.sigaction,
*(long *)e.mask, (long)e.mask,
(long)e.flags, (long)e.flags,
(long)e.restorer); (long)e.restorer);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment