Subject: kern/7349: No setresuid system call for Linux emulation
To: None <gnats-bugs@gnats.netbsd.org>
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
List: netbsd-bugs
Date: 04/09/1999 14:46:52
>Number:         7349
>Category:       kern
>Synopsis:       No setresuid system call for Linux emulation
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr  9 05:50:00 1999
>Last-Modified:
>Originator:     Hubert Feyrer
>Organization:
	
>Release:        19990407
>Environment:
	
System: NetBSD yui 1.4_ALPHA NetBSD 1.4_ALPHA (YUI) #18: Wed Apr 7 16:17:19 MEST 1999 feyrer@yui:/usr/cvs/src/sys/arch/i386/compile/YUI i386


>Description:
	I tried running vmware, but got:

yui# ./vmware
Bad system call (core dumped)

	ktrace says:

...
 29916 vmware   CALL  geteuid
 29916 vmware   RET   geteuid 0
 29916 vmware   CALL  getuid
 29916 vmware   RET   getuid 0
 29916 vmware   CALL  #164 (unimplemented setresuid)
 29916 vmware   PSIG  SIGSYS SIG_DFL
 29916 vmware   NAMI  "vmware.core"




>How-To-Repeat:
	get http://www.vmware.com/software/vmware106.tar.gz, unpack
	./vmware

>Fix:
	Add a setresuid system call.
>Audit-Trail:
>Unformatted: