Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Dec 2006 21:26:37 -0600
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Divacky Roman" <xdivac02@stud.fit.vutbr.cz>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: linuxolator: amd64 Linux Test Project failures
Message-ID:  <790a9fff0612301926n1562d560r1f3fff9af4bdb138@mail.gmail.com>
In-Reply-To: <20061230120722.GA36814@stud.fit.vutbr.cz>
References:  <790a9fff0612290911t5ae69715gd2bf0dda0f9228f2@mail.gmail.com> <20061229213509.GA86839@stud.fit.vutbr.cz> <790a9fff0612291424g4ecbd088i7846d248851b3e63@mail.gmail.com> <20061230120722.GA36814@stud.fit.vutbr.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 12/30/06, Divacky Roman <xdivac02@stud.fit.vutbr.cz> wrote:
> > I just added another %p to the format, here are my results with all of
> > the debugging printfs.
> >
> > Dec 29 15:32:38 hp010 kernel: linux(1807): access(Checking if path
> > [0xffffffffffffffff/0xffffffffa3bc8be0/0x28069000] exists) <-
> > &args-path, args-path
>
> the access03 test passes 0 as the path address. interesting that it
> gets this non-0 address. is the address consistent among runs?
> I wonder if glibc mangles it somehow (it shouldnt but you never know)
>
> can you try simple program like
>
> main()
> {
>    access(0, 0);
> }
>
> and show its output?
>
I changed the test program to use:

    access(0xffffffffffffffff,0);

Dec 30 21:14:47 hp010 kernel: linux(1225): access(Checking if path
[0xffffffffffffffff/0xffffffffa39f2be0/0xffffffff] exists)
Dec 30 21:14:47 hp010 kernel: kern_alternate_path: error = 14, path =
0xffffffffa39f2980

And it failed as expected.

Scot
-- 
DISCLAIMER:
No electrons were mamed while sending this message. Only slightly bruised.



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