Package: adjtimex / 1.29-9

Metadata

Package Version Patches format
adjtimex 1.29-9 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
01 makefile.in ldflags.diff | (download)

Makefile.in | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 add extra flags to makefile.in to allow gcc hardening
             and modify the original upstream CFLAGS to accept flags
             from DH9.
02 fix manpage | (download)

adjtimex.8 | 10 5 + 5 - 0 !
1 file changed, 5 insertions(+), 5 deletions(-)

 fix some hyphen used as minus sign in manpage.


03 adjtimex Blocks the access to the hardware cmos clock.patch | (download)

adjtimex.c | 45 25 + 20 - 0 !
1 file changed, 25 insertions(+), 20 deletions(-)

 adjtimex: blocks the access to the hardware (cmos) clock

Package: adjtimex
Version: 1.29-2.2
Severity: normal
Tags: patch

Dear Maintainer,

  while "adjtimex" runs, the command "hwclock --show" does not work.

  The command keeps the device "/dev/rtc" open the whole time.

  It does not need to be open while the command sleeps, which is most of
the time it is running.

  Necessary changes:
  a) Open the device inside the while loop (not in front of it)
  b) Close it before the program goes to sleep before the end of the
     while loop

  Other changes
  a) Fixed some code to eliminate warnings from the compiler
  b) Some cosmetic changes.

Closes: #724929
[rogershimizu@gmail.com: slightly modified]
Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
Signed-off-by: Roger Shimizu <rogershimizu@gmail.com>

04 fix protential uninitialized memory accessing.patch | (download)

adjtimex.c | 3 1 + 2 - 0 !
1 file changed, 1 insertion(+), 2 deletions(-)

 adjtimex does not check the return value of stat()

adjtimex does not check the return value of stat() and uses possibly
uninitialized memory.

Closes: #688933

05 avoid gcc warnings.patch | (download)

adjtimex.c | 19 9 + 10 - 0 !
1 file changed, 9 insertions(+), 10 deletions(-)

 avoid a few gcc warnings

Signed-off-by: Roger Shimizu <rogershimizu@gmail.com>

06 improve precision.patch | (download)

adjtimex.c | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 improve precision

Thanks Christopher Alexander Tobias Schulze.

Closes: #633082

07 update manpage adjtimex.8.patch | (download)

adjtimex.8 | 10 7 + 3 - 0 !
1 file changed, 7 insertions(+), 3 deletions(-)

 update manpage adjtimex.8

- Add a few new timex status from kernel parameter, which was appended
  by commit:
   https://github.com/torvalds/linux/commit/eea83d896e318bda54be2d2770d2c5d6668d11db
  Thanks to Chris Hiestand <chiestand@salk.edu>.
- Update the example to explain --frequency calculation.
  Thanks to Marco Marongiu <brontolinux@gmail.com>.

Closes: #759399
Closes: #743444
Signed-off-by: Roger Shimizu <rogershimizu@gmail.com>