CVSROOT: /cvs Module name: src Changes by: v...@cvs.openbsd.org 2018/07/01 10:33:15
Modified files: sys/kern : kern_descrip.c kern_sysctl.c uipc_usrreq.c Log message: Lock the file descriptor table when accessing the `fd_ofileflags' array. This prevents the array from being freed too early. In the function unp_internalize(), the locking also ensures the per-fdp flags stay coherent with the file instance. OK mpi@