[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071221.174547.136433173.davem@davemloft.net>
Date: Fri, 21 Dec 2007 17:45:47 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: andi@...stfloor.org
Cc: mtk.manpages@...glemail.com, akpm@...ux-foundation.org,
lkml@...idb.org, paulus@...ba.org, drepper@...hat.com,
cfriesen@...tel.com, schwab@...e.de, linux-kernel@...r.kernel.org
Subject: Re: compat_sys_times() bogus until jiffies >= 0.
From: David Miller <davem@...emloft.net>
Date: Fri, 21 Dec 2007 17:41:24 -0800 (PST)
> I'm suggesting that you set the condition codes based upon whether
> there is an error or not. That is the critical thing x86 doesn't do
> that all the other platforms do.
And if you still don't get it, I'm saying that x86, in the syscall
trap return path, should set the conditon codes based upon whether the
system call is really signalling an error or not.
And to handle potentially ambiguous cases we, for a long time, have
the force_successful_syscall_return() arch hook. System call
implementations use this when the return values they give could be
mis-construed as error values.
And if you'll notice x86 makes no attempt to implement that hook,
because it currently can't. That's what needs to be fixed.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists