From owner-freebsd-current Mon Oct 8 20:21:36 2001 Delivered-To: freebsd-current@freebsd.org Received: from rj.sgi.com (rj.SGI.COM [204.94.215.100]) by hub.freebsd.org (Postfix) with ESMTP id 8DC2A37B406; Mon, 8 Oct 2001 20:21:31 -0700 (PDT) Received: from relay1.corp.sgi.com (spindle.corp.sgi.com [198.29.75.13]) by rj.sgi.com (8.11.4/8.11.4/linux-outbound_gateway-1.0) with ESMTP id f993LVW22001; Mon, 8 Oct 2001 20:21:31 -0700 Received: from yog-sothoth.sgi.com (eugate.neu.sgi.com [144.253.131.5]) by relay1.corp.sgi.com (980427.SGI.8.8.8/970903.SGI.AUTOCF) via ESMTP id JAA07999; Mon, 8 Oct 2001 09:41:25 -0700 (PDT) Received: from sgiger.munich.sgi.com (sgiger.munich.sgi.com [144.253.192.2]) by yog-sothoth.sgi.com (980305.SGI.8.8.8-aspam-6.2/980304.SGI-aspam-europe) via SMTP id SAA2741844; Mon, 8 Oct 2001 18:40:55 +0200 (CEST) mail_from (gwk@sgi.com) Received: from cuckoo.munich.sgi.com (cuckoo.munich.sgi.com [144.253.192.109]) by sgiger.munich.sgi.com (950413.SGI.8.6.12/950213.SGI.AUTOCF) via ESMTP id SAA19603; Mon, 8 Oct 2001 18:40:52 +0200 Received: from hunter.munich.sgi.com (hunter.munich.sgi.com [144.253.197.18]) by cuckoo.munich.sgi.com (SGI-8.9.3/8.9.3) with ESMTP id SAA76934; Mon, 8 Oct 2001 18:40:50 +0200 (CEST) Received: from hunter.munich.sgi.com (localhost.munich.sgi.com [127.0.0.1]) by hunter.munich.sgi.com (8.11.5/8.11.5) with ESMTP id f98Ge9Z23609; Mon, 8 Oct 2001 18:40:11 +0200 (CEST) (envelope-from gwk@sgi.com) Date: Mon, 08 Oct 2001 18:40:09 +0200 Message-ID: From: "Georg-W. Koltermann" To: Robert Watson Cc: current@freebsd.org Subject: Re: VMWare2 permission problems on -current as of Sep 26 In-Reply-To: References: User-Agent: Wanderlust/2.4.1 (Stand By Me) SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) Emacs/20.7 (i386--freebsd) MULE/4.0 (HANANOEN) Organization: SGI X-Attribution: gwk MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG No, I wan't using linux_kdump, thanks for the education. Today I've installed linux_kdump from the package on jp.current.freebsd.org, and now I get 1207 vmware CALL linux_access(0xbfbff759,0x4) 1207 vmware NAMI "/compat/linux/home/hunter/gwk/.Xauthority" 1207 vmware NAMI "/home/hunter/gwk/.Xauthority" 1207 vmware RET linux_access -1 errno 13 Permission denied which looks a little more meaningful (no negative errno any more, and a linux_* syscall is listed). Still needs debugging, which I'll attempt to do when I get a little time. -- Regards, Georg. At Sun, 7 Oct 2001 19:28:35 -0400 (EDT), Robert Watson wrote: > > > On Sun, 7 Oct 2001, Georg-W. Koltermann wrote: > > [...] > > I ran the vmware command through ktrace(1) (had to do that as root since > > it won't trace a SUID program for a normal user), and it does get an > > error return from an access(2) on .Xauthority: > > > > 1207 vmware CALL access(0xbfbff759,0x4) > > 1207 vmware NAMI "/compat/linux/home/hunter/gwk/.Xauthority" > > 1207 vmware NAMI "/home/hunter/gwk/.Xauthority" > > 1207 vmware RET access -1 errno -13 Unknown error: -13 > > > > It seems I am going to debug the access() call next. > > I'm a little surprised that they're calling access(). Are you using the > linux_kdump from the ports collection, btw? Otherwise the system calls > aren't listed right, due to differences in system call number. > > Robert N M Watson FreeBSD Core Team, TrustedBSD Project > robert@fledge.watson.org NAI Labs, Safeport Network Services > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message