diff options
author | Shu-Chun Weng <scw@google.com> | 2022-01-26 13:25:58 -0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-01-27 16:58:33 +0100 |
commit | d3ced2a59a543b3c3fc7dee2e64ee360e9a698cd (patch) | |
tree | ab07701577c2ccb984abf679fe640bf79920c343 /meson | |
parent | 33f53ac52ab664f3d6ec34047c0ae21e32fa26b4 (diff) | |
download | qemu-d3ced2a59a543b3c3fc7dee2e64ee360e9a698cd.zip qemu-d3ced2a59a543b3c3fc7dee2e64ee360e9a698cd.tar.gz qemu-d3ced2a59a543b3c3fc7dee2e64ee360e9a698cd.tar.bz2 |
linux-user: rt_sigprocmask, check read perms first
Linux kernel does it this way (checks read permission before validating `how`)
and the latest version of ABSL's `AddressIsReadable()` depends on this
behavior.
c.f. https://github.com/torvalds/linux/blob/9539ba4308ad5bdca6cb41c7b73cbb9f796dcdd7/kernel/signal.c#L3147
Reviewed-by: Patrick Venture <venture@google.com>
Signed-off-by: Shu-Chun Weng <scw@google.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Patrick Venture <venture@google.com>
Message-Id: <20220126212559.1936290-2-venture@google.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'meson')
0 files changed, 0 insertions, 0 deletions