Re: restarting SYSCALL system call on amd64 loses arguments

2013-09-24 Thread Jilles Tjoelker
On Tue, Sep 24, 2013 at 10:29:09PM +0300, Konstantin Belousov wrote: > On Tue, Sep 24, 2013 at 09:19:49PM +0200, Jilles Tjoelker wrote: > > On Tue, Sep 24, 2013 at 12:37:30AM +0300, Konstantin Belousov wrote: > > > On Mon, Sep 23, 2013 at 10:26:13PM +0200, Tijl Coosemans wrote: > > > > Has anyone t

Re: restarting SYSCALL system call on amd64 loses arguments

2013-09-24 Thread Konstantin Belousov
On Tue, Sep 24, 2013 at 09:19:49PM +0200, Jilles Tjoelker wrote: > On Tue, Sep 24, 2013 at 12:37:30AM +0300, Konstantin Belousov wrote: > > On Mon, Sep 23, 2013 at 10:26:13PM +0200, Tijl Coosemans wrote: > > > Has anyone taken a look at this PR yet? > > > > http://www.freebsd.org/cgi/query-pr.cgi?

Re: restarting SYSCALL system call on amd64 loses arguments

2013-09-24 Thread Jilles Tjoelker
On Tue, Sep 24, 2013 at 12:37:30AM +0300, Konstantin Belousov wrote: > On Mon, Sep 23, 2013 at 10:26:13PM +0200, Tijl Coosemans wrote: > > Has anyone taken a look at this PR yet? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=182161 > This looks like a valid bug, but probably not a valid testcase

Re: restarting SYSCALL system call on amd64 loses arguments

2013-09-24 Thread Russ Cox
I don't have a machine at hand that I can rebuild the kernel on, but I agree that setting PCB_FULL_IRET should fix the problem. Russ ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, se

Re: restarting SYSCALL system call on amd64 loses arguments

2013-09-23 Thread Konstantin Belousov
On Mon, Sep 23, 2013 at 10:26:13PM +0200, Tijl Coosemans wrote: > Has anyone taken a look at this PR yet? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=182161 This looks like a valid bug, but probably not a valid testcase. Let me elaborate. When a signal is delivered, return from the signal ha

restarting SYSCALL system call on amd64 loses arguments

2013-09-23 Thread Tijl Coosemans
Has anyone taken a look at this PR yet? http://www.freebsd.org/cgi/query-pr.cgi?pr=182161 signature.asc Description: PGP signature