Package hwclock: Information

  • Default inline alert: Version in the repository: 2.39.2-alt1

Binary package: hwclock
Version: 2.38.1-alt1
Architecture: x86_64
Build time:  Oct 15, 2022, 06:12 PM in the task #308470
Source package: util-linux
Category: System/Base
Report package bug
License: GPL-2.0 and GPL-2.0-or-later and LGPL-2.1-or-later and BSD-3-Clause and BSD-4-Clause-UC and ALT-Public-Domain
Summary: Query and set the hardware clock
Description: 
Hwclock is a program that runs under Linux and sets and queries the
Hardware Clock, which is often called the Real Time Clock, RTC, or
CMOS clock.

You can set the Hardware Clock to a particular time or from the Linux
System Time.  You can set the Linux System Time from the Hardware
Clock, and a typical usage is to invoke Hwclock from a system startup
script to initialize the System Time.

Hwclock's --adjust function corrects systematic drift in the Hardware
Clock.  You just invoke it regularly and it corrects for a fast or
slow Hardware Clock.  Hwclock automatically computes how fast or slow
the Hardware Clock is every time you set it.

Hwclock uses /dev/rtc if it is available.  Otherwise, it uses its own
direct I/O to do what the rtc device driver would normally do.

Maintainer: Alexey Gladkov


Last changed


Oct. 15, 2022 Alexey Gladkov 2.38.1-alt1
- New version (2.38.1) (fixes: CVE-2023-0563).
Jan. 25, 2022 Alexey Gladkov 2.37.3-alt2
- Set restricted execution mode to mount/umount/write by default.
Jan. 24, 2022 Alexey Gladkov 2.37.3-alt1
- New version (2.37.3).
- Security fixes:
  + CVE-2021-3995: This issue is related to parsing the /proc/self/mountinfo
  file allows an unprivileged user to unmount other user's filesystems that are
  either world-writable themselves or mounted in a world-writable directory.
  + CVE-2021-3996: Improper UID check in libmount allows an unprivileged user to
  unmount FUSE filesystems of users with similar UID.