]>
git.ipfire.org Git - thirdparty/util-linux.git/log
Karel Zak [Wed, 16 Jun 2021 13:13:50 +0000 (15:13 +0200)]
login: remove obsolete and confusing comment
Reported-by: Jan Pazdziora <jpazdziora@redhat.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Jun 2021 10:04:43 +0000 (12:04 +0200)]
mkswap: fix holes detection (infinite loop and/or stack-buffer-underflow)
Reported-by: Brian Lane <bcl@redhat.com>
Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=
1971877
Fix: https://github.com/karelzak/util-linux/issues/1348
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 15 Jun 2021 08:34:46 +0000 (10:34 +0200)]
lib/loopdev: perform retry on EAGAIN
Suggested-by: Ingo Franzki <ifranzki@linux.ibm.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
Topi Miettinen [Sat, 12 Jun 2021 08:34:36 +0000 (11:34 +0300)]
mount.8.adoc: document SELinux use of nosuid mount flag
Using mount flag `nosuid` also affects SELinux domain transitions but
this has not been documented well.
Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
Platon Pronko [Fri, 11 Jun 2021 18:20:58 +0000 (21:20 +0300)]
dmesg: fix indentation in man page
Double-semicolon at the end of the option line results in description
being indented extra tab to the right. Replacing them with double-colons
allows all options to be displayed at the same indent level.
Karel Zak [Fri, 11 Jun 2021 13:43:36 +0000 (15:43 +0200)]
lib/path: fix possible leak when use ul_path_read_string() [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 11 Jun 2021 13:17:42 +0000 (15:17 +0200)]
hwclock: close adjtime on write error [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 11 Jun 2021 13:10:22 +0000 (15:10 +0200)]
newgrp: fix memory leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 10 Jun 2021 11:44:25 +0000 (13:44 +0200)]
dmesg: fix possible memory leak [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 10 Jun 2021 11:35:05 +0000 (13:35 +0200)]
findmnt: (verify) fix memory leak [asan]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 10 Jun 2021 11:28:35 +0000 (13:28 +0200)]
findmnt: (verify) fix cache related memory leaks on --nocanonicalize [coverity scan]
Signed-off-by: Karel Zak <kzak@redhat.com>
John Baublitz [Fri, 4 Jun 2021 11:02:39 +0000 (07:02 -0400)]
libblkid: Add hyphens to UUID string representation in Stratis superblock parsing
[kzak@redhat.com: - small code cleanup]
Signed-off-by: Karel Zak <kzak@redhat.com>
Samir Benmendil [Wed, 9 Jun 2021 00:21:46 +0000 (01:21 +0100)]
hexdump: correctly display signed single byte integers
When using the format string '/1 "%d"', the byte did not display as a
signed integer as expected, it was interpreted as unsigned.
ratijas [Tue, 8 Jun 2021 16:12:19 +0000 (19:12 +0300)]
lsblk: fix formatting in -e option
Qais Yousef [Mon, 7 Jun 2021 16:11:11 +0000 (17:11 +0100)]
uclampset: Fix left over optind++
The code was changed to use ':' in getopt_long() but these were left
over by mistake causing weird random errors when using these options
depending on the order they were fed.
Signed-off-by: Qais Yousef <qais.yousef@arm.com>
Nicolai Dagestad [Sun, 6 Jun 2021 16:28:35 +0000 (18:28 +0200)]
rfkill: Set scols table name to make the json output valid
[kzak@redhat.com: - s/rfkill/rfkilldevices/]
Fixes: https://github.com/karelzak/util-linux/issues/1339
Signed-off-by: Nicolai Dagestad <nicolai@dagestad.fr>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 7 Jun 2021 08:32:20 +0000 (10:32 +0200)]
libsmartcols: fix bare array on JSON output
The bare array ({[...]}) for top level list of entries is invalid. It
seems better to print empty string than nothing. This is workaround
for broken utils, better is to define a table name.
Addresses: https://github.com/karelzak/util-linux/issues/1339
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 4 Jun 2021 09:42:03 +0000 (11:42 +0200)]
build-sys: make re-use of generated man-pages more robust
We need to ignore man-pages at all if not available (not generated
yet), but asciidoctor is not installed.
Fix: https://github.com/karelzak/util-linux/issues/1334
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 3 Jun 2021 10:17:27 +0000 (12:17 +0200)]
build-sys: add generated man-pages to distribution tarball
Signed-off-by: Karel Zak <kzak@redhat.com>
Georgy Yakovlev [Wed, 2 Jun 2021 20:59:26 +0000 (13:59 -0700)]
lscpu: fix build on powerpc
fails with error: label at end of compound statement
and fix typo as bonus.
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Karel Zak [Wed, 2 Jun 2021 11:32:43 +0000 (13:32 +0200)]
lsblk: use ID_MODEL_ENC is possible
Fix: https://github.com/karelzak/util-linux/issues/1098
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 14 Jun 2021 14:29:21 +0000 (16:29 +0200)]
include/strutils: fix heap-buffer-overflow in normalize_whitespace()
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Jun 2021 09:55:44 +0000 (11:55 +0200)]
build-sys: fix {release-version} man pages
* define {release-version} as $VERSION
* do not use {docdir} in adoc; it's built-in ascidoctor variable
https://docs.asciidoctor.org/asciidoc/latest/attributes/document-attributes-reference/#intrinsic-attributes
Addresses: https://github.com/karelzak/util-linux/issues/1327
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 2 Jun 2021 09:14:36 +0000 (11:14 +0200)]
build-sys: install hardlink bash-completion
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 1 Jun 2021 08:37:01 +0000 (10:37 +0200)]
docs: fix typo in v2.37-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 1 Jun 2021 08:31:49 +0000 (10:31 +0200)]
docs: add uclampset to AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 1 Jun 2021 07:52:10 +0000 (09:52 +0200)]
build-sys: release++ (v2.37)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 1 Jun 2021 07:46:40 +0000 (09:46 +0200)]
docs: update v2.37-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Tue, 1 Jun 2021 07:45:03 +0000 (09:45 +0200)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 31 May 2021 16:36:06 +0000 (18:36 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Seong-ho Cho [Mon, 31 May 2021 16:20:33 +0000 (18:20 +0200)]
po: add ko.po (from translationproject.org)
Yuri Chornoivan [Mon, 31 May 2021 16:20:33 +0000 (18:20 +0200)]
po: update uk.po (from translationproject.org)
Pedro Albuquerque [Mon, 31 May 2021 16:20:33 +0000 (18:20 +0200)]
po: update pt.po (from translationproject.org)
Jakub Bogusz [Mon, 31 May 2021 16:20:33 +0000 (18:20 +0200)]
po: update pl.po (from translationproject.org)
Božidar Putanec [Mon, 31 May 2021 16:20:33 +0000 (18:20 +0200)]
po: update hr.po (from translationproject.org)
Frédéric Marchal [Mon, 31 May 2021 16:20:33 +0000 (18:20 +0200)]
po: update fr.po (from translationproject.org)
Mario Blättermann [Mon, 31 May 2021 16:20:33 +0000 (18:20 +0200)]
po: update de.po (from translationproject.org)
Petr Písař [Mon, 31 May 2021 16:20:33 +0000 (18:20 +0200)]
po: update cs.po (from translationproject.org)
Karel Zak [Mon, 31 May 2021 16:16:57 +0000 (18:16 +0200)]
libblkid: fix docs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 31 May 2021 16:12:07 +0000 (18:12 +0200)]
docs: update copyright years
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 31 May 2021 15:44:10 +0000 (17:44 +0200)]
build-sys: remove with-cryptsetup from tools/config-gen.d/all.conf
Unfortunately libtools is not smart enough to link libblkid
dynamically if we link in-tree static libmount.a for libmount tests.
In this case libtools always uses also libblkid.a, but it's problem
for libcryptsetup which requires versioned symbols from libblkid.so
This is no problem for normal binaries, but for libmount tests only
(where we need static library to by-pass public library API).
Signed-off-by: Karel Zak <kzak@redhat.com>
Ville Skyttä [Sun, 30 May 2021 12:14:38 +0000 (15:14 +0300)]
lscpu: fix NVIDIA ARM hw implementer spelling case
Ref respective vendor sites.
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Ville Skyttä [Sun, 30 May 2021 12:13:39 +0000 (15:13 +0300)]
lscpu: recognize more ARM implementers
Add just the implementer string, no parts yet.
Refs https://developer.arm.com/documentation/ddi0595/2021-03/AArch64-Registers/MIDR-EL1--Main-ID-Register
Refs https://github.com/torvalds/linux/blob/
b90e90f40b4ff23c753126008bf4713a42353af6 /arch/arm64/include/asm/cputype.h#L54
Signed-off-by: Ville Skyttä <ville.skytta@iki.fi>
Karel Zak [Thu, 27 May 2021 08:39:58 +0000 (10:39 +0200)]
po: add xgettext hint for non-c-format string
Reported-by: Petr Pisar <petr.pisar@atlas.cz>
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 26 May 2021 09:54:47 +0000 (11:54 +0200)]
lscpu: cleanup tab vs. space
Do not mix tab and space in structs initializations.
Signed-off-by: Karel Zak <kzak@redhat.com>
Bader Zaidan [Fri, 21 May 2021 22:55:17 +0000 (00:55 +0200)]
lscpu: Replace space with tabs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Sun, 23 May 2021 21:52:00 +0000 (23:52 +0200)]
lscpu: add MHZ to the -e output
Addresses: https://github.com/karelzak/util-linux/issues/1314
Signed-off-by: Karel Zak <kzak@redhat.com>
Zbigniew Jędrzejewski-Szmek [Fri, 21 May 2021 08:45:35 +0000 (10:45 +0200)]
fstrim: do not start the timer in initrd
I'm working on building initramfs images directly from normal
packages, which means that the pristine system rpms should behave
correctly as much as possible also in the initrd. There usually isn't
enough time for the timer to actually fire, but starting it gives a
line on the console and generally looks confusing and sloppy. So let's
skip the timer if it ever ends up being enabled in the initrd.
Checking for /etc/initrd-release is the standard condition that
systemd's initrd units use.
Karel Zak [Thu, 20 May 2021 07:32:53 +0000 (09:32 +0200)]
Merge branch 'more-floating-point' of https://github.com/kerolasa/util-linux
* 'more-floating-point' of https://github.com/kerolasa/util-linux:
more: fix floating point exception core dump
Karel Zak [Thu, 20 May 2021 07:25:46 +0000 (09:25 +0200)]
fstrim: fix paths comparison
Fix: https://github.com/karelzak/util-linux/issues/1312
Signed-off-by: Karel Zak <kzak@redhat.com>
Sami Kerola [Wed, 19 May 2021 19:23:48 +0000 (20:23 +0100)]
more: fix floating point exception core dump
Make the code avoid divided by zero. This can happen when file has content
but is zero in size. Such files can be found from procfs, possibly some
other pseudo-filesystems. To reproduce the issue run the following.
$ more /proc/crypto
...
Floating point exception (core dumped)
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Karel Zak [Thu, 13 May 2021 10:21:56 +0000 (12:21 +0200)]
build-sys: fix po-man/ make check
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 13 May 2021 08:34:14 +0000 (10:34 +0200)]
blkdiscard: do not probe for signatures on --force
The command-line option --force is defined as "disable all checks",
but the current code does not follow this idea. We need a way how to
disable read from the device (for example for dm-integrity devices).
Fixes: https://github.com/karelzak/util-linux/issues/1308
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 13 May 2021 08:24:25 +0000 (10:24 +0200)]
Merge branch 'whitespace' of https://github.com/eworm-de/util-linux
Karel Zak [Thu, 13 May 2021 08:23:34 +0000 (10:23 +0200)]
build-sys: update util-linux-man.pot on 'make dist'
Signed-off-by: Karel Zak <kzak@redhat.com>
Christian Hesse [Mon, 10 May 2021 13:53:50 +0000 (15:53 +0200)]
fix whitespace issue in ducumentation
This removes trailing whitespaces and fixes minor issues.
Karel Zak [Mon, 10 May 2021 11:12:02 +0000 (13:12 +0200)]
build-sys: release++ (v2.37-rc2)
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 May 2021 11:10:21 +0000 (13:10 +0200)]
docs: update v2.37-ReleaseNotes
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 May 2021 11:09:13 +0000 (13:09 +0200)]
docs: update AUTHORS file
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 May 2021 10:21:25 +0000 (12:21 +0200)]
po: merge changes
Signed-off-by: Karel Zak <kzak@redhat.com>
Sebastian Rasmussen [Mon, 10 May 2021 10:15:03 +0000 (12:15 +0200)]
po: update sv.po (from translationproject.org)
Karel Zak [Mon, 10 May 2021 10:13:09 +0000 (12:13 +0200)]
tests: update build tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 May 2021 09:24:24 +0000 (11:24 +0200)]
build-sys: fix libblkid dependence
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 10 May 2021 08:46:51 +0000 (10:46 +0200)]
column: add placeholder '0' to specify all columns
Fixes: https://github.com/karelzak/util-linux/issues/1306
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 7 May 2021 18:38:26 +0000 (20:38 +0200)]
blkdiscard: fix compilation without libblkid
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 7 May 2021 18:37:51 +0000 (20:37 +0200)]
mkswap: remove unused variable when compile without libblkid
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 7 May 2021 09:26:33 +0000 (11:26 +0200)]
docs: add #1266 to TODO file
References: https://github.com/karelzak/util-linux/issues/1266
Signed-off-by: Karel Zak <kzak@redhat.com>
Johan Herland [Thu, 6 May 2021 22:53:29 +0000 (00:53 +0200)]
unshare: Fix error message when setting proc mount propagation
The mount() command associated with this error message is not about
unmounting the proc fs, but rather about changing the propagation
of mount events for the proc fs. Rewrite the error message to
reflect this.
Karel Zak [Thu, 6 May 2021 15:10:46 +0000 (17:10 +0200)]
rfkill: make RFKILL_EVENT_SIZE_V1 use more portable
The old linux/rfkill.h uses "int", new versions use sizeof() for the
macro ...
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 15:02:40 +0000 (17:02 +0200)]
tests: update libfdisk JSON outputs
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 15:01:48 +0000 (17:01 +0200)]
libfdisk: (script) print bootable flag only when set
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 14:44:20 +0000 (16:44 +0200)]
rfkill: fix compiler warning [-Wsign-compare]
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 14:35:50 +0000 (16:35 +0200)]
lib/jsonwrt: don't use ctype.h for ASCII chars
tolower() does not work "as expected" for tr_TR.UTF-8 (Turkish).
Fortunately, we need to convert only objects and variables names in
JSON output, and this is always old good ASCII.
Anyway, for more details:
$ cat a.c
#include <ctype.h>
#include <stdio.h>
#include <locale.h>
int main(void)
{
int in, out;
setlocale(LC_ALL, "");
in ='I';
out = tolower(in);
printf("%1$c [%1$d] --> %2$c [%2$d]\n", in, out);
return 0;
}
$ make a
cc a.c -o a
$ LANG=en_US.utf8 ./a
I [73] --> i [105]
$ LANG=tr_TR.UTF-8 ./a
I [73] --> I [73]
Fixes: https://github.com/karelzak/util-linux/issues/1302
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 14:05:56 +0000 (16:05 +0200)]
lib/jsonwrt: remove fputs_quoted_json_* functions from include/carefulputc.h
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 13:58:02 +0000 (15:58 +0200)]
lib/jsonwrt: remove 'islast' from API
The code should be able to keep track about previous content and print
JSON objects separator automatically.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 13:02:14 +0000 (15:02 +0200)]
libfdisk: use lib/jsonwrt.s for JSON formatting
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 10:24:41 +0000 (12:24 +0200)]
rfkill: fix compiler warning [-Wformat=]
* `RFKILL_EVENT_SIZE_V1` is defined as sizeof(struct rfkill_event), so let's use %zu
* cast `len` to size_t to make it usable with %zu
Signed-off-by: Karel Zak <kzak@redhat.com>
Masatake YAMATO [Thu, 6 May 2021 04:39:30 +0000 (13:39 +0900)]
lib/fileutils: close fd if fdopen is failed
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Karel Zak [Thu, 6 May 2021 09:56:14 +0000 (11:56 +0200)]
hwclock: follow timespec and use long int for nsec
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)]
script: fix time_t=long assumptions
References: http://github.com/karelzak/util-linux/commit/
ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)]
rtcwake: fix time_t=long assumptions
References: http://github.com/karelzak/util-linux/commit/
ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 09:06:45 +0000 (11:06 +0200)]
lib/strutils: assume 64-bit time_t
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)]
hardlink: fix time_t=long assumptions
References: http://github.com/karelzak/util-linux/commit/
ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)]
test_uuid_parser: fix time_t=long assumptions
References: http://github.com/karelzak/util-linux/commit/
ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)]
fsck: fix time_t=long assumptions
References: http://github.com/karelzak/util-linux/commit/
ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)]
scriptplay: fix time_t=long assumptions
Fixes: https://github.com/karelzak/util-linux/issues/1069
References: http://github.com/karelzak/util-linux/commit/
ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)]
lib/pty-session: fix time_t=long assumptions
Fixes: https://github.com/karelzak/util-linux/issues/1069
References: http://github.com/karelzak/util-linux/commit/
ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Thu, 6 May 2021 08:13:27 +0000 (10:13 +0200)]
flock: fix time_t=long assumptions
This also fixes flock for archs (e.g. sparc64) where suseconds_t is not long.
Fixes: https://github.com/karelzak/util-linux/issues/1069
References: http://github.com/karelzak/util-linux/commit/
ce3355cc54d97711bc240783324f7ab51fd6e371
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Wed, 5 May 2021 11:35:30 +0000 (13:35 +0200)]
build-sys: keep adoc files in dist_noinst_DATA
* rename MANPAGES_EXTRA= to ADOCFILES_COMMON=
* keep track about individual adoc files by dist_noinst_DATA=
This variable is not effected by automake conditions, so the files
are always distributed.
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 May 2021 18:30:42 +0000 (20:30 +0200)]
tests: update sparc lscpu tests
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 May 2021 18:28:30 +0000 (20:28 +0200)]
lscpu: assume L1d, L1i, L2, L3 for sparc
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 May 2021 14:27:35 +0000 (16:27 +0200)]
lscpu: read Sparc caches files
Fixes: https://github.com/karelzak/util-linux/issues/1296
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Mon, 3 May 2021 09:10:10 +0000 (11:10 +0200)]
meson: fix systemd dependence
Fixes: https://github.com/karelzak/util-linux/issues/1301
Signed-off-by: Karel Zak <kzak@redhat.com>
Karel Zak [Fri, 30 Apr 2021 11:12:26 +0000 (13:12 +0200)]
Merge branch 'master' of https://github.com/arbego/util-linux
* 'master' of https://github.com/arbego/util-linux:
Fixed wrongful time_t=long assumptions in hwclock.c and timeutils.c
Changed int64_t casts to long long int casts
Fixed format strings and type casts in hwclock to work with 64-bit time_t on 32-bit linux
Armin Begovic [Thu, 29 Apr 2021 11:55:52 +0000 (11:55 +0000)]
Fixed wrongful time_t=long assumptions in hwclock.c and timeutils.c
heitbaum [Thu, 29 Apr 2021 08:19:50 +0000 (08:19 +0000)]
build-sys: add configure options to disable individual utils
Karel Zak [Wed, 28 Apr 2021 08:51:07 +0000 (10:51 +0200)]
lscpu: fix "caches" header
It's possible that lscpu does not print any caches if full caches size
is zero. In this case we do not need the header.
Addresses: https://github.com/karelzak/util-linux/issues/1207
Signed-off-by: Karel Zak <kzak@redhat.com>
Mario Blättermann [Sat, 24 Apr 2021 10:20:08 +0000 (12:20 +0200)]
docs/TODO: Minor update and fix typo
Armin Begovic [Fri, 23 Apr 2021 21:28:37 +0000 (23:28 +0200)]
Changed int64_t casts to long long int casts
Armin Begovic [Fri, 23 Apr 2021 20:48:13 +0000 (22:48 +0200)]
Fixed format strings and type casts in hwclock to work with 64-bit time_t on 32-bit linux