mbox series

[v2,0/2] linux-user: check read permissions before how

Message ID 20220126175850.1904968-1-venture@google.com
Headers show
Series linux-user: check read permissions before how | expand

Message

Patrick Leis Jan. 26, 2022, 5:58 p.m. UTC
In sigprocmask check the read permissions first before checking the `how`.

This is done for both: TARGET_NR_sigprocmask and TARGET_NR_rt_sigprocmask

v2:
 * Update code style during code change
 * Also update check order for TARGET_NR_sigprocmask

Patrick Venture (1):
  linux-user: sigprocmask check read perms first

Shu-Chun Weng (1):
  linux-user: rt_sigprocmask, check read perms first

 linux-user/syscall.c | 24 ++++++++++++++----------
 1 file changed, 14 insertions(+), 10 deletions(-)