Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Oct 2001 18:40:09 +0200
From:      "Georg-W. Koltermann" <gwk@sgi.com>
To:        Robert Watson <rwatson@freebsd.org>
Cc:        current@freebsd.org
Subject:   Re: VMWare2 permission problems on -current as of Sep 26
Message-ID:  <lthu1xa6q6u.wl@hunter.munich.sgi.com>
In-Reply-To: <Pine.NEB.3.96L.1011007191434.79312B-100000@fledge.watson.org>
References:  <lth8zenktln.wl@hunter.munich.sgi.com> <Pine.NEB.3.96L.1011007191434.79312B-100000@fledge.watson.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?lthu1xa6q6u.wl>