git: kernel - Fix tty session panic

看板DFBSD_commit作者時間15年前 (2010/08/27 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 94a6eea8b2dcb172e2c46bb304dd0c23780a6406 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Thu Aug 26 10:50:00 2010 -0700 kernel - Fix tty session panic * Ref-count the session->s_ttyp references to ttys and do not destroy a tty unless it is zero. * This should fix remaining panics in this area. My last attempt to fix it (testing tp->t_session) did not work due to the possibility of the tty being half-closed. Summary of changes: sys/kern/kern_proc.c | 6 ++++++ sys/kern/tty.c | 21 ++++++++++++++++++++- sys/kern/tty_pty.c | 4 ++-- 3 files changed, 28 insertions(+), 3 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/94a6eea8b2dcb172e2c46bb304dd0c23780a6406 -- DragonFly BSD source repository
文章代碼(AID): #1CTglgQz (DFBSD_commit)