NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/58225 - netbsd9/amd64 requires COMPAT_16 for 32bit support



The following reply was made to PR kern/58225; it has been noted by GNATS.

From: Martin Husemann <martin%duskware.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: kern/58225 - netbsd9/amd64 requires COMPAT_16 for 32bit support
Date: Thu, 5 Sep 2024 10:30:48 +0200

 On Thu, Sep 05, 2024 at 08:15:02AM +0000,  Paul Goyette  via gnats wrote:
 >  > I guess the **real** question is ``why is a i386 tcsh binary
 >  > for netbsd9 saying it wants the old sigcontext-style signal 
 >  > trampoline?''
 >  
 >  Any thoughts on this?
 
 One of the backtraces I copied does answer this:
 
 	src/lib/libc/compat/sys/compat___sigaction14_sigtramp.c:68
 
          /*
           * We select the non-SA_SIGINFO trampoline if SA_SIGINFO is not   
           * set in the sigaction.
           */
 
 
 and tcsh does:
 
     struct sigaction act;
  
     act.sa_handler = fn;
     sigemptyset(&act.sa_mask);
     act.sa_flags = 0;
     if (sigaction(sig, &act, NULL) == 0) {
 
 
 Martin
 


Home | Main Index | Thread Index | Old Index