CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2020/01/08 09:27:42
Modified files:
regress/sys/dev/wscons: sigio.c
share/man/man9 : sigio_init.9
sys/dev/wscons : wskbd.c wsmouse.c wsmux.c
sys/kern : kern_descrip.c kern_sig.c subr_log.c
sys_generic.c sys_pipe.c sys_socket.c tty.c
sys/net : bpf.c if_tun.c
sys/sys : sigio.h
Log message:
Unify handling of ioctls FIOSETOWN/SIOCSPGRP/TIOCSPGRP and
FIOGETOWN/SIOCGPGRP/TIOCGPGRP. Do this by determining the meaning of
the ID parameter inside the sigio code. Also add cases for FIOSETOWN
and FIOGETOWN where there have been TIOCSPGRP and TIOCGPGRP before.
These changes allow removing the ID translation from sys_fcntl() and
sys_ioctl().
Idea from NetBSD
OK mpi@, claudio@