diff --git a/man2/adjtimex.2 b/man2/adjtimex.2 index 7a174edce..2325bcfd5 100644 --- a/man2/adjtimex.2 +++ b/man2/adjtimex.2 @@ -106,6 +106,12 @@ error occurs if the supplied value is out of range. .BR ADJ_FREQUENCY Set frequency offset from .IR buf.freq . +Since Linux 2.6.26, +.\" commit 074b3b87941c99bc0ce35385b5817924b1ed0c23 +the supplied value is clamped to the range (\-32768000, +32768000). +In older kernels, an +.IB EINVAL +error occurs if the supplied value is out of range. .TP .BR ADJ_MAXERROR Set maximum time error from @@ -386,6 +392,13 @@ does not point to writable memory. .TP .BR EINVAL " (kernels before Linux 2.6.26)" An attempt was made to set +.I buf.freq +to a value outside the range (\-33554432, +33554432). +.\" From a quck glance, it appears there was no clamping or range check +.\" for buf.freq in kernels before 2.0 +.TP +.BR EINVAL " (kernels before Linux 2.6.26)" +An attempt was made to set .I buf.offset to a value outside the permitted range. In kernels before Linux 2.0, the permitted range was (\-131072, +131072).