Subject: Support for linux syscall fcntl64
To: None <current-users@netbsd.org>
From: Tero Kivinen <kivinen@ssh.fi>
List: current-users
Date: 12/04/2001 16:37:25
I am trying to run vuescan 7.1 on netbsd machine, and I run into
problems. The vuescan binary seems to use linux fcntl64 system call
and exits immediately if it is not found. Is there any plans adding
support for that? Is there other linux system calls netbsd current is
missing?

The ktrace of the vuescan_static is:
----------------------------------------------------------------------
 17143 ktrace   EMUL  "netbsd"
 17143 ktrace   CALL  execve(0xbfbfd50b,0xbfbfd408,0xbfbfd410)
 17143 ktrace   NAMI  "./vuescan_static"
 17143 vuescan_static EMUL  "linux"
 17143 vuescan_static RET   execve -1 errno -2 No such file or directory
 17143 vuescan_static CALL  #221 (unimplemented fcntl64)
 17143 vuescan_static RET   #221 (unimplemented fcntl64) -1 errno -38 Too many processes
 17143 vuescan_static CALL  fcntl(0,0x1,0)
 17143 vuescan_static RET   fcntl 0
 17143 vuescan_static CALL  fcntl(0x1,0x1,0)
 17143 vuescan_static RET   fcntl 0
 17143 vuescan_static CALL  fcntl(0x2,0x1,0)
 17143 vuescan_static RET   fcntl 0
 17143 vuescan_static CALL  uname(0xbfbfd1b0)
 17143 vuescan_static RET   uname 0
 17143 vuescan_static CALL  write(0x2,0x844fbe9,0x16)
 17143 vuescan_static GIO   fd 2 wrote 22 bytes
       "FATAL: kernel too old
       "
 17143 vuescan_static RET   write 22/0x16
 17143 vuescan_static CALL  rt_sigprocmask(0x1,0xbfbfd070,0,0x8)
 17143 vuescan_static RET   rt_sigprocmask 0
 17143 vuescan_static CALL  kill(0,0x6)
 17143 vuescan_static PSIG  SIGABRT SIG_DFL
 17143 vuescan_static NAMI  "vuescan_static.core"
-- 
kivinen@ssh.fi
SSH Communications Security                  http://www.ssh.fi/
SSH IPSEC Toolkit                            http://www.ssh.fi/ipsec/