[lkml]   [2018]   [May]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/8] signal: refactor some functions

This series refactors a bunch of functions in signal.c to simplify parts
of the code.
The greatest single change is declaring the static do_sigpending()
helper as void which makes it possible to remove a bunch of unnecessary
checks in the syscalls later on.


Christian Brauner (8):
signal: make force_sigsegv() void
signal: make kill_as_cred_perm() return bool
signal: make may_ptrace_stop() return bool
signal: add copy_pending() helper
signal: flatten do_send_sig_info()
signal: drop else branch in do_signal_stop()
signal: make do_sigpending() void
signal: simplify rt_sigaction()

include/linux/sched/signal.h | 2 +-
kernel/signal.c | 154 +++++++++++++++++------------------
2 files changed, 78 insertions(+), 78 deletions(-)


 \ /
  Last update: 2018-05-28 15:51    [W:0.076 / U:14.336 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site