* 'clock' of https://github.com/t-8ch/util-linux:
lsclocks: new util to interact with system clocks
lib/timeutils: implement timespec formatting
lib/timeutils: implement nanosecond formatting
lib/timeutils: constify some arguments
utmpdump: validate subsecond granularity
* 'lsfd--xmode' of https://github.com/masatake/util-linux:
lsfd: add 'D' flag for representing deleted files to XMODE column
lsfd: introduce XMODE column, extensible variant of MODE
test: (lsfd) add a subcase for testing NAME column for a deleted file
test: (lsfd) add a case for testing DELETED column
test: (mkfds) add "make-regular-file" factory
* 'lsfd--misc-tun' of https://github.com/masatake/util-linux:
tests: (lsfd) add a case testing TUN.IFACE column
tests: (mkfds) add a factor for opening tun device
lsfd: add TUN.IFFACE, a column for interfaces behind tun devices
lsfd: (refactor) move miscdev specific code to cdev_misc_ops
lsfd: (refactor) make the way to handle character devices extensible
lsfd: (refactor) introduce a content data type for char devices
Usecases:
* Compare current monotonic time to timestamps reported by systemd
* Validate time namespace operations
* Inspect clock resolutions
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
tv_usec is only valid in the range [0, 999999].
If the file contains garbage data replace interpret it as "0" instead.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
This makes it easier to run test.sh from the build directory as
everything will work without any parameters irrespective of the build
directories name.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
* 'lsfd--fix-separators-for-json-output' of https://github.com/masatake/util-linux:
lsfd.1.adoc: fix a typo
lsfd: use ARRAY_STRING and ARRAY_NUMBER json types in some columns
lsfd: use \n as the separator in INOTIFY.INODES and INOTIFY.INODES.RAW columns
lsfd: use \n as the separator in EVENTPOLL.TFDS column
lsfd: (filter) weakly support ARRAY_STRING and ARRAY_NUMBER json types
The original MODE column comes from three letters (rwx) may not be
enough for representing various aspects of file descriptors and memory
mappings. We want to add more items in the future.
However, the description of MODE in lsfd(1) doesn't wrote about its
extensibility. Adding more letters to the column can break
compatibility in someone's use case.
This change introduces XMODE column. Unlike MODE, XMODE is declared as
an extensible column in lsfd(1). Currently, it shows the same items as
the MODE column does.
Signed-off-by: Masatake YAMATO <yamato@redhat.com>
* 'lsfd--timerfd' of https://github.com/masatake/util-linux:
tests: (lsfd/filter) add a case for comparing floating point numbers
tests: (lsfd) add a case for testing timerfd related columns
tests: add ts_skip_capability
tests: (mkfds) add a factory to make a timerfd
lsfd.1.adoc: write about timerfd
lsfd: print the detail of the timer associated with a timerfd
lsfd: (filter) accept floating point numbers in expressions
lsfd: (filter) support floating point number used in columns
lsfd: (filter) reduce duplicated code in macro definitions
lsfd: (filter) improve error message
lsfd.1.adoc: revise type names for columns
lsfd.1.adoc: fix typos
lsfd: adjust coding style
lsfd: fix a sentence in comment
* 'mount/ntfs-segfault' of https://github.com/t-8ch/util-linux:
mount: (tests) test mount helper with multiple filesystems
libmount: (tests) split helper tests
This splits the test introduced in
commit 06e05eb0f7 ("libmount: don't pass option "defaults" to helper")
into its own subtest.
We will have more subtests.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
* 'lsfd--sysvipc-shmem' of https://github.com/masatake/util-linux:
tests: (lsfd) add a case for testing SOURCE column for SysV shmem mappings
tests: (mkfds) add a factory to make SysV shmem
lsfd: add tmpfs as source of sysvipc to the the nodev_table
lsfd: initialize pagesize in an earlier stage
lsfd: add "nsfs" to the nodev_table to fill SOURCE column for nsfs files
lsfd: add a helper function for adding a nodev to the nodev_table
lsfd: add a whitespace
lsfd: write more about nsfs in comment