NetBSD-Bugs archive

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

Re: kern/55047: Missing COMPAT_43 Syscalls on amd64 for COMPAT_09 and COMPAT_NOMID



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

From: Paul Goyette <paul%whooppee.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: Dan Plassche <dplassche%gmail.com@localhost>
Subject: Re: kern/55047: Missing COMPAT_43 Syscalls on amd64 for COMPAT_09
 and COMPAT_NOMID
Date: Thu, 5 Mar 2020 16:17:33 -0800 (PST)

 Dan,
 
 I think I have this!
 
 Can you try something:
 
 1. Apply the attached patch to $SRC/sys/compat/netbsd32/syscalls.master
 2. Re-generate the various syscall files using
 
     # cd $SRC/sys/compat/netbsd32
     # /bin/sh $SRC/sys/kern/makesyscalls.sh syscalls.conf syscalls.master
 
 3. Rebuild and install your kernel and modules
 
 I _think_ this will address all of the syscalls you referenced, except
 for osigvec which should already be handled correctly.
 
 Short analysis:  the syscalls.master file uses "sys" prefix for these
 syscalls, since they don't need a wrapper.  But it says to load the
 compat_netbsd32_43 module, while the actual sys_* implementations are
 located in the compat_43 module.  The patch tells it to load from the
 correct module.
 
 Thanks!
 
 
 +--------------------+--------------------------+-----------------------+
 | Paul Goyette       | PGP Key fingerprint:     | E-mail addresses:     |
 | (Retired)          | FA29 0E3B 35AF E8AE 6651 | paul%whooppee.com@localhost     |
 | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost   |
 +--------------------+--------------------------+-----------------------+
 


Home | Main Index | Thread Index | Old Index