Bug 189467 - avcstat wraps results at 2^32, on fast machines with good uptimes will give wrong results
Summary: avcstat wraps results at 2^32, on fast machines with good uptimes will give w...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libselinux
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-04-20 08:52 UTC by Russell Coker
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-05-09 19:05:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
patch to fix this bug (1.49 KB, patch)
2006-04-20 08:52 UTC, Russell Coker
no flags Details | Diff

Description Russell Coker 2006-04-20 08:52:31 UTC
Run avcstats on a machine with a long uptime that has been busy (preferably 
SMP or multi-code) and observe that if the sum of all results is greater than 
2^32 then wrong numbers are displayed.

Comment 1 Russell Coker 2006-04-20 08:52:31 UTC
Created attachment 128031 [details]
patch to fix this bug

Comment 2 Russell Coker 2006-04-20 08:53:21 UTC
#189466 is a report of the same issue for RHEL4.

Comment 3 Daniel Walsh 2006-05-09 19:05:43 UTC
libselinux-1.30.6-2.



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