[Bugme-new] [Bug 11370] New: adjtimex() fails to set frequency correctly

bugme-daemon at bugzilla.kernel.org bugme-daemon at bugzilla.kernel.org
Tue Aug 19 08:49:03 PDT 2008


http://bugzilla.kernel.org/show_bug.cgi?id=11370

           Summary: adjtimex() fails to set frequency correctly
           Product: Timers
           Version: 2.5
     KernelVersion: 2.6.26-1
          Platform: All
        OS/Version: Linux
              Tree: Mainline
            Status: NEW
          Severity: low
          Priority: P1
         Component: Other
        AssignedTo: johnstul at us.ibm.com
        ReportedBy: ziegler at uni-freiburg.de


adjtimex() (in sys/timex.h) reduces odd positive frequencies by 1.
Negative frequencies are correctly set.

Note:
Kernels from 2.6.21 to 2.6.25 adjtimex() changed frequencies to the next
frequency
divisible by 16.  In older kernels adjtimex() set frequencies correctly.

Note also that, if you use adjtimex() to change the frequency as non-root, and
then use it to read the actual frequency, it reports the "expected" new
frequency. While of course nothing has changed.


-- 
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


More information about the Bugme-new mailing list