Bug 180271 - getutent blows away itimer
getutent blows away itimer
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jakub Jelinek
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2006-02-06 15:58 EST by Jonathan Kamens
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-02-06 16:56:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
C program that shows the bug (641 bytes, text/plain)
2006-02-06 15:58 EST, Jonathan Kamens
no flags Details

  None (edit)
Description Jonathan Kamens 2006-02-06 15:58:54 EST
The attached program sets an itimer and then calls setutent and then 
getutent.  After setitimer, setutent and getutent, it calls getitimer to 
display the currently set timer.  After the call to setitimer and setutent, 
the data returned by getitimer is correct.  After the call to getutent, the 
itimer has been cleared.  An unfortunate and very bad side effect!

I'm using glibc and other packages from Raw Hide current as of February 14.
Comment 1 Jonathan Kamens 2006-02-06 15:58:54 EST
Created attachment 124276 [details]
C program that shows the bug
Comment 2 Jonathan Kamens 2006-02-06 16:56:03 EST
Probably a kernel bug, not a glibc bug.  Fixed with current Raw Hide glibc and 

Note You need to log in before you can comment on or make changes to this bug.