summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock.8.in
diff options
context:
space:
mode:
authorJ William Piggott2017-03-04 17:04:10 +0100
committerJ William Piggott2017-03-04 17:04:10 +0100
commit7a3000f7ba548cf7d74ac77cc63fe8de228a669e (patch)
tree9b53ef9b18a581dda3099ba66b4d3e8e3d50e2df /sys-utils/hwclock.8.in
parentbuild-sys: add parse-date.y (diff)
downloadkernel-qcow2-util-linux-7a3000f7ba548cf7d74ac77cc63fe8de228a669e.tar.gz
kernel-qcow2-util-linux-7a3000f7ba548cf7d74ac77cc63fe8de228a669e.tar.xz
kernel-qcow2-util-linux-7a3000f7ba548cf7d74ac77cc63fe8de228a669e.zip
hwclock: use parse_date function
* hwclock.c: replace interpret_date_string() with parse_date(). Eliminates shell injection vulnerability from popen() date(1). Removes system dependency on date(1). Reduction in hwclock execution time. Significant cleanup of hwclock.c code. * Bug fix for "hwclock --predict --date 'bad_date'" printing: hwclock: No usable set-to time. Cannot set clock. The message now matches date(1) for an invalid --date argument. Signed-off-by: J William Piggott <elseifthen@gmx.com>
Diffstat (limited to 'sys-utils/hwclock.8.in')
0 files changed, 0 insertions, 0 deletions