On Thu, 22 Oct 2020 18:40:07 +0200 Helge Deller <deller@xxxxxx> wrote: > The commit 75ae04206a4d ("parisc: Define O_NONBLOCK to become > 000200000") changed the O_NONBLOCK constant to have only one bit set > (like all other architectures). This change broke some existing > userspace code (e.g. udevadm, systemd-udevd, elogind) which called > specific syscalls which do strict value checking on their flag > parameter. > > This patch adds wrapper functions for the relevant syscalls. The > wrappers masks out any old invalid O_NONBLOCK flags, reports in the > syslog if the old O_NONBLOCK value was used and then calls the target > syscall with the new O_NONBLOCK value. > > Fixes: 75ae04206a4d ("parisc: Define O_NONBLOCK to become 000200000") > Signed-off-by: Helge Deller <deller@xxxxxx> That fixes all the previous problems. Regards, jer