Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 00:40:04 -0700 (PDT)
From:      "Jaeho Kang" <jhkang@isofree.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/27242: SIGHUP propagation failure to processes of switched user and the command may run infinitely
Message-ID:  <200105100740.f4A7e4F42295@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/27242; it has been noted by GNATS.

From: "Jaeho Kang" <jhkang@isofree.net>
To: <freebsd-gnats-submit@FreeBSD.org>, <jhkang@isofree.net>
Cc:  
Subject: Re: kern/27242: SIGHUP propagation failure to processes of switched user and the command may run infinitely
Date: Thu, 10 May 2001 16:38:32 +0900

 Follwing patch for kernel may help to solve the problem.
 I could not guess side effect (e.g. security hole) of this patch.
 
 vm-freebsd# pwd
 /usr/src/sys/kern
 vm-freebsd# diff kern_sig.c.orig kern_sig.c
 97a98
 >  * 20010509 - jhkang - add SIGHUP propagation via session (terminal?)
 101c102
 <       ((sig) == SIGCONT && (q)->p_session == (p)->p_session))
 ---
 >       (((sig) == SIGCONT) || ((sig) == SIGHUP) && (q)->p_session == (p)->p_session))
 
 the patch is avaliable at
 http://ai.ce.pusan.ac.kr/~jhkang/files/patch.kern.infinite-loop.20010509.jhkang
 
 ---
 Jaeho Kang jhkang@isofree.net
 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105100740.f4A7e4F42295>