This proof of concept exploit sets permissions to 444 on an arbitrary file specified as an argument by leveraging SIGSTOP/SIGCONT signals and the Inotify API to win a race condition in X.
0ea22872b6b51bf5249b0a70a12ebe97e3272ad611f24a936335036486484018