I'm trying to run a SCO SVR4 executable on FreeBSD but I get a SIGSYS
(invalid system call) at the very beginning.  Here is the kdump:

 39525 ktrace   RET   ktrace 0
 39525 ktrace   CALL  sigprocmask(0x1,0x28061000,0x28061010)
 39525 ktrace   RET   sigprocmask 0
 39525 ktrace   CALL  sigprocmask(0x3,0x28061010,0)
 39525 ktrace   RET   sigprocmask 0
 39525 ktrace   CALL  sigprocmask(0x1,0x28061000,0x28061010)
 39525 ktrace   RET   sigprocmask 0
 39525 ktrace   CALL  sigprocmask(0x3,0x28061010,0)
 39525 ktrace   RET   sigprocmask 0
 39525 ktrace   CALL  sigprocmask(0x1,0x28061000,0x28061010)
 39525 ktrace   RET   sigprocmask 0
 39525 ktrace   CALL  sigprocmask(0x3,0x28061010,0)
 39525 ktrace   RET   sigprocmask 0
 39525 ktrace   CALL  execve(0xbfbff9a3,0xbfbff880,0xbfbff88c)
 39525 ktrace   NAMI  "./scobin"
 39525 ktrace   NAMI  "/compat/svr4/usr/lib/libc.so.1"
 39525 scobin   RET   execve 0
 39525 scobin   CALL  getuid
 39525 scobin   RET   getuid 1001/0x3e9
 39525 scobin   CALL  getuid
 39525 scobin   RET   getuid 1001/0x3e9
 39525 scobin   CALL  getgid
 39525 scobin   RET   getgid 0
 39525 scobin   CALL  getgid
 39525 scobin   RET   getgid 0
 39525 scobin   CALL  setlogin(0x72,0x805056c)
 39525 scobin   RET   setlogin 0
 39525 scobin   CALL  setlogin(0x28,0x280a9764)
 39525 scobin   RET   setlogin 0
 39525 scobin   CALL  break(0x8051580)
 39525 scobin   RET   break 0
 39525 scobin   CALL  setlogin(0x68,0x8049830)
 39525 scobin   RET   setlogin 0
 39525 scobin   CALL  getpid
 39525 scobin   RET   getpid 39525/0x9a65
 39525 scobin   CALL  old.lstat
 39525 scobin   PSIG  SIGSYS SIG_DFL
 39525 scobin   NAMI  "scobin.core"

Which call is it about?  I see an "old.lstat" but I couldn't find any
reference in the kernel source tree.  Is there any doc I could read to
see if I can hack this syscall in the emulator?

Thanks,

-- 
walter pelissero
http://www.pelissero.org


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to