1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-21 15:45:02 +00:00

The recently introduced sv_sendsig entry of the sysentvec structure

is incorrectly set to 0, for the purpose of "ignoring" the signal.
This does not ignore the signal, but rather, executes the function
at location 0 in kernel mode, which shortly thereafter causes a panic.

The sv_sensig entry for ibcs2 emulation should be set to the system's
normal sendsig routine.
This commit is contained in:
Steven Wallace 1996-03-27 18:39:40 +00:00
parent bf0d367123
commit a5e1a0f2e9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=14843

View File

@ -27,11 +27,12 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: ibcs2_sysvec.c,v 1.1 1995/10/10 07:59:11 swallace Exp $
* $Id: ibcs2_sysvec.c,v 1.2 1996/03/02 19:37:43 peter Exp $
*/
#include <sys/param.h>
#include <sys/sysent.h>
#include <sys/signalvar.h>
#include <i386/ibcs2/ibcs2_syscall.h>
extern int bsd_to_ibcs2_sig[];
@ -49,7 +50,7 @@ struct sysentvec ibcs2_svr3_sysvec = {
ELAST,
bsd_to_ibcs2_errno,
0, /* fixup */
0, /* sendsig, ignore */
sendsig,
sigcode, /* use generic trampoline */
&szsigcode, /* use generic trampoline size */
0 /* prepsyscall */