login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
8
Re: compat_sys_times() bogus until jiffies >= 0.
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Andrew Morton <akpm@...>
To: David Miller <davem@...>
Cc: <lkml@...>, <linux-kernel@...>, <drepper@...>, <mtk-manpages@...>
Subject:
Re: compat_sys_times() bogus until jiffies >= 0.
Date: Wednesday, November 7, 2007 - 9:13 pm
> On Wed, 07 Nov 2007 16:50:22 -0800 (PST) David Miller <davem@davemloft.net> wrote:
quoted text
> From: Andrew Morton <akpm@linux-foundation.org> > Date: Wed, 7 Nov 2007 15:28:33 -0800 > > > Perhaps this is a bug in glibc: it is interpreting the times() return value > > in the same way as other syscalls. > > The problem is more likely that we are failing to > invoke force_successful_syscall_return() here. > > Otherwise the syscall return path interprets negative > values as errors, and sets the cpu condition codes. > > And that is what userspace is actually checking for > to determine if there is an error or not.
hm, I'd forgotten about that. It seems to be a no-op on lots of architectures? -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
compat_sys_times() bogus until jiffies >= 0.
, David Brown
, (Wed Nov 7, 6:47 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andrew Morton
, (Wed Nov 7, 7:28 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, David Brown
, (Thu Nov 8, 2:00 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andrew Morton
, (Wed Nov 7, 8:18 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andreas Schwab
, (Wed Nov 7, 8:54 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andrew Morton
, (Wed Nov 7, 9:17 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, Paul Mackerras
, (Wed Nov 7, 9:53 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andrew Morton
, (Wed Nov 7, 11:07 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, Denys Vlasenko
, (Thu Nov 8, 3:27 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, David Miller
, (Wed Nov 7, 11:13 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, Paul Mackerras
, (Thu Nov 8, 1:15 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, David Miller
, (Thu Nov 8, 2:24 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, Paul Mackerras
, (Thu Nov 8, 12:59 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andrew Morton
, (Thu Nov 8, 1:20 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, David Miller
, (Thu Nov 8, 2:25 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andrew Morton
, (Thu Nov 8, 3:09 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, David Miller
, (Thu Nov 8, 3:14 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, Paul Mackerras
, (Thu Nov 8, 4:53 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, Paul Mackerras
, (Thu Nov 8, 1:36 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andrew Morton
, (Thu Nov 8, 2:12 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, David Miller
, (Thu Nov 8, 2:22 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, David Miller
, (Wed Nov 7, 10:09 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andreas Schwab
, (Thu Nov 8, 6:20 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, Chris Friesen
, (Thu Nov 8, 10:42 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, Ulrich Drepper
, (Fri Nov 9, 2:20 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, Michael Kerrisk
, (Thu Dec 20, 7:36 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, David Miller
, (Thu Dec 20, 7:51 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andi Kleen
, (Fri Dec 21, 8:42 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, David Miller
, (Fri Dec 21, 9:41 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andi Kleen
, (Fri Dec 21, 9:49 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, David Miller
, (Fri Dec 21, 9:45 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andi Kleen
, (Fri Dec 21, 9:53 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, David Miller
, (Sat Dec 22, 12:36 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andi Kleen
, (Sat Dec 22, 8:47 am)
Re: compat_sys_times() bogus until jiffies >= 0.
, Denys Vlasenko
, (Thu Nov 8, 3:25 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, David Miller
, (Wed Nov 7, 8:50 pm)
Re: compat_sys_times() bogus until jiffies >= 0.
, Andrew Morton
, (Wed Nov 7, 9:13 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
[GIT PATCH] driver core patches against 2.6.24
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Vu Pham
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Adrian Bunk
Re: Linux 2.6.21
git
:
linux-netdev
:
Gerrit Renker
[PATCH 15/37] dccp: Set per-connection CCIDs via socket options
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Radu Rendec
Endianness problem with u32 classifier hash masks
Benjamin Herrenschmidt
[PATCH 0/11] ibm_newemac: Candidate patches for 2.6.25
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
801 guests
online.
Online users
janel105
jraval618
Syndicate