diff options
author | Visa Hankala <visa@cvs.openbsd.org> | 2018-07-01 16:33:16 +0000 |
---|---|---|
committer | Visa Hankala <visa@cvs.openbsd.org> | 2018-07-01 16:33:16 +0000 |
commit | acc217be4c2bd21627b99a8df031f89fa0a4dc54 (patch) | |
tree | 66135d8afd4c28817ca3f22934f3775ca07fe245 /sys/ddb/db_watch.c | |
parent | 6fe7029021e7db12c29322b45521dc33412e00e2 (diff) |
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@
Diffstat (limited to 'sys/ddb/db_watch.c')
0 files changed, 0 insertions, 0 deletions