Bug 142789

Summary: ITIMER_REAL should be per-process, not per thread
Product: [Fedora] Fedora Reporter: Roland McGrath <roland>
Component: kernelAssignee: Roland McGrath <roland>
Status: CLOSED CURRENTRELEASE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: FC4 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-09 07:00:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 136451    
Attachments:
Description Flags
patch posted upstream none

Description Roland McGrath 2004-12-14 04:06:44 UTC
*** This bug has been split off bug 118044 ***

Description of problem:
setitimer operates on individual threads, even under NPTL.
POSIX says it should be process-wide. 

Version-Release number of selected component (if applicable):


How reproducible:
Easily seen in a MT program

Steps to Reproduce:
1.Call setitimer in one thread
2.Exit the thread
3.Process never gets the ALRMs
  
Actual results:


Expected results:


Additional info:

Tracking bug for upstream work, patches on the way.

Comment 1 Roland McGrath 2004-12-14 04:06:44 UTC
Created attachment 108490 [details]
patch posted upstream

Comment 2 Roland McGrath 2005-03-13 04:16:43 UTC
My changes are in Linus's tree now, hopefully in 2.6.12  

Comment 3 Roland McGrath 2005-04-24 01:13:07 UTC
Rawhide 2.6.12rcN kernels have this.

Comment 4 Roland McGrath 2005-08-09 07:00:17 UTC
All good in FC4.