Skip to content
Commit 11623e8f authored by Emmanuel Gil Peyrot's avatar Emmanuel Gil Peyrot Committed by Simon Ser
Browse files

wayland-shm: Don’t set SIGBUS handlers on unshrinkable fd



If a client set the F_SEAL_SHRINK seal on the fd before passing it to
the compositor, the kernel will ensure this fd won’t be able to shrink,
ever.  This allows us to avoid setting up the SIGBUS handlers on such
file descriptors.

Signed-off-by: default avatarEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>
parent d5055ad9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment