summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2007-07-03 17:46:37 +0000
committerkib <kib@FreeBSD.org>2007-07-03 17:46:37 +0000
commit764028016fb7c8690eca612fc2105107e23ed996 (patch)
tree55a187ec386c3dc03049b96e7265897c950251c9 /sbin
parenta1bd6e4f521b174d396ccbdef6bd171a2e37d5ae (diff)
downloadFreeBSD-src-764028016fb7c8690eca612fc2105107e23ed996.zip
FreeBSD-src-764028016fb7c8690eca612fc2105107e23ed996.tar.gz
Lock Giant and proctree lock around dereferencing p_session->s_ttyvp->v_rdev.
Lock cdev mutex too to close the race with tty being freed. Relock clone_drain_lock to prevent the LOR with proctree lock, thus add #include <fs/devfs/devfs_int.h>. Suggested by: tegge Debugging help and testing by: Peter Holm Approved by: re (kensmith)
Diffstat (limited to 'sbin')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud