Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Feb 2007 18:47:35 -0600
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Kirk Strauser" <kirk@strauser.com>, freebsd-emulation@FreeBSD.org
Subject:   Re: Weird perms with linux_base-gentoo-stage3
Message-ID:  <790a9fff0702081647p6c9987acpdcfe7b5879521984@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
> and it seems that the problem is trigged by the utimes() syscall.  Has anyone
> found a workaround to this problem?  It doesn't look like it's been patched
> in FreeBSD itself yet, and I haven't gotten a reply from the author of the
> above post when I asked him if he'd solved the problem.  Neither was I able
> to find the patch he mention.
>
> Any pointers would be most appreciated!

The utimes() syscall has been implement, and it was added to -CURRENT
on 12/31/06.
The below patches from current implement the utimes() syscall, as well
as the rt_sigtimedwait() syscall.

http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/linux32/linux32_dummy.c.diff?r1=1.6&r2=1.7
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/linux32/linux32_proto.h.diff?r1=1.27&r2=1.28
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/linux32/linux32_syscall.h.diff?r1=1.27&r2=1.28
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/linux32/linux32_sysent.c.diff?r1=1.27&r2=1.28
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/amd64/linux32/syscalls.master.diff?r1=1.24&r2=1.25
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/compat/linux/linux_misc.c.diff?r1=1.201&r2=1.202
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/compat/linux/linux_signal.c.diff?r1=1.61&r2=1.63http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/linux_dummy.c.diff?r1=1.44&r2=1.45
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/linux_proto.h.diff?r1=1.89&r2=1.90
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/linux_syscall.h.diff?r1=1.82&r2=1.83
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/linux_sysent.c.diff?r1=1.89&r2=1.90
http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/i386/linux/syscalls.master.diff?r1=1.84&r2=1.85

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?790a9fff0702081647p6c9987acpdcfe7b5879521984>