CVSROOT: /cvs Module name: src Changes by: [email protected] 2018/07/07 10:14:40
Modified files:
sys/kern : kern_descrip.c
Log message:
Fix an argument type error that happens when translating fcntl(F_SETOWN)
to ioctl(TIOCSPGRP). The ioctl handlers expect a pointer to an int, so
read the argument into a local int variable and pass the variable's
address to the handler instead of referencing SCARG(uap, arg) directly.
OK guenther@, mpi@
