aboutsummaryrefslogtreecommitdiffstats
path: root/misc-utils
AgeCommit message (Expand)AuthorFilesLines
4 daysMerge branch 'uuidv7' of https://github.com/t-8ch/util-linuxKarel Zak3-3/+39
4 dayswipefs: fix typoKarel Zak1-1/+1
8 daysuuidgen: add support for RFC9562 UUIDsThomas Weißschuh2-2/+25
8 daysuuidparse: add support for RFC9562 UUIDsThomas Weißschuh1-1/+14
2024-05-02getopt: remove free-before-exitKarel Zak1-1/+0
2024-05-02cal: use unsigned int to follow union with unsigned intKarel Zak1-1/+1
2024-05-02lsclocks: fix FD leakKarel Zak1-0/+1
2024-04-29lastlog2: begin descriptions of options with a lowercase letterBenno Schulenberg1-9/+9
2024-04-29textual: fix some typos and inconsistencies in usage and error messagesBenno Schulenberg3-3/+3
2024-04-24docs: fix GPL name typoKarel Zak7-7/+7
2024-04-22lsblk: simplify SOURCES codeKarel Zak1-5/+3
2024-04-21findmnt: always zero-terminate SOURCES dataThomas Weißschuh1-4/+1
2024-04-18Merge branch 'PR/from-coverity' of github.com:karelzak/util-linux-workKarel Zak2-3/+2
2024-04-18Merge branch 'uuid/variant' of https://github.com/t-8ch/util-linuxKarel Zak1-0/+2
2024-04-17Merge branch 'sed' of https://github.com/t-8ch/util-linuxKarel Zak1-2/+2
2024-04-17lslocks: remove deadcode [coverity scan]Karel Zak1-2/+1
2024-04-17hardlink: use xcalloc rather than xmallocKarel Zak1-1/+1
2024-04-17uuidparse: only report type/version for DCE variantThomas Weißschuh1-0/+2
2024-04-16all_errnos/all_syscalls: use sed to extract defines from headersThomas Weißschuh1-2/+2
2024-04-16Merge branch 'lsfd-cmd--dir' of https://github.com/masatake/util-linuxKarel Zak16-10129/+0
2024-04-16Merge branch 'awk' of https://github.com/t-8ch/util-linuxKarel Zak1-2/+2
2024-04-16all_errnos/all_syscalls: don't hardcode AWK invocationThomas Weißschuh1-2/+2
2024-04-15lsfd: move the source code to new ./lsfd-cmd directoryMasatake YAMATO16-10129/+0
2024-04-13lslocks: remove a unused local variableMasatake YAMATO1-3/+2
2024-04-13lslocks: don't abort gathering per-process information even if opening a /pro...Masatake YAMATO1-4/+2
2024-04-09Merge branch 'logger/fixes' of https://github.com/t-8ch/util-linuxKarel Zak1-6/+23
2024-04-09logger: correctly format tv_usecThomas Weißschuh1-2/+2
2024-04-09logger: rework error handling in logger_gettimeofday()Thomas Weißschuh1-2/+13
2024-04-09logger: handle failures of gettimeofday()Thomas Weißschuh1-2/+8
2024-04-09findmnt: revise the code for -I and -D optionMasatake YAMATO2-16/+14
2024-04-08findfs: (man) be more accurate in describing non-tagsKarel Zak1-1/+1
2024-04-08Merge branch 'spelling' of https://github.com/jwilk-forks/util-linuxKarel Zak1-1/+1
2024-04-08Merge branch 'test_mkfds-sockdiag-for-master' of https://github.com/masatake/...Karel Zak3-6/+70
2024-04-08Merge branch 'xry111/pidfs' of https://github.com/xry111/util-linuxKarel Zak8-62/+252
2024-04-08enosys: (man) add missing wordJakub Wilk1-1/+1
2024-04-05lsfd: add LSFD_DEBUG env var for debuggingMasatake YAMATO3-6/+70
2024-04-03lsfd: Support pidfsXi Ruoyao3-1/+105
2024-04-03lsfd: Refactor the pidfd logic into lsfd-pidfd.cXi Ruoyao5-61/+147
2024-04-02Merge branch 'lsns--Q' of https://github.com/masatake/util-linuxKarel Zak2-2/+2
2024-03-27Merge branch 'blkid/json' of https://github.com/t-8ch/util-linuxKarel Zak2-4/+36
2024-03-26lsfd: (man) fix the decoration of an optional parameterMasatake YAMATO1-1/+1
2024-03-26lsblk: (refactor) refer to a parameter instead of a file static varMasatake YAMATO1-1/+1
2024-03-26uuidgen: use xmalloc instead of malloc (#2714)Thorsten Kukuk1-1/+2
2024-03-20findmnt: remove deleted option from manualChris Hofstaedtler1-3/+0
2024-03-07blkid: add json output formatThomas Weißschuh2-4/+36
2024-03-04build-sys: make sure everywhere is localstatedirKarel Zak1-1/+1
2024-02-29lslocks: fix buffer overflowKarel Zak1-9/+7
2024-02-29Merge branch 'lsfd--btrfs' of https://github.com/masatake/util-linuxKarel Zak2-64/+293
2024-02-28build-sys: introduce localstatedirKarel Zak1-1/+1
2024-02-28lastlog2: rename tmpfilesChristian Hesse4-5/+5
2024-02-28tmpfiles: depend on systemd...Christian Hesse1-10/+8
2024-02-28uuidd.rc: create localstatedir in init scriptChristian Hesse1-5/+10
2024-02-28tmpfiles: add and install for uuidd, generate /run/uuidd & /var/lib/libuuidChristian Hesse4-2/+19
2024-02-27enosys: allow dumping to fileThomas Weißschuh2-7/+13
2024-02-25lsfd: extend nodev table to decode "btrfs" on SOURCE columnMasatake YAMATO1-11/+164
2024-02-25lsfd: (refactor) rename a member of struct procMasatake YAMATO2-8/+8
2024-02-25lsfd: (refactor) rename a local variable and a parameterMasatake YAMATO1-6/+6
2024-02-25lsfd: (refactor) split the function processing mountinfo fileMasatake YAMATO1-6/+12
2024-02-25lsfd: (refactor) store a mnt_namespace object to struct processMasatake YAMATO2-10/+21
2024-02-25lsfd: (refactor) use a binary tree as the implementation for mnt_namespacesMasatake YAMATO1-30/+55
2024-02-25lsfd: read /proc/$pid/ns/mnt earlierMasatake YAMATO1-5/+39
2024-02-25lsfd: (refactor) rename add_nodevs to read_mountinfoMasatake YAMATO1-2/+2
2024-02-25lsfd: make the way to read /proc/$pid/mountinfo robustMasatake YAMATO1-2/+2
2024-02-25lsfd: (cosmetic) normalize whitespacesMasatake YAMATO1-6/+6
2024-02-22Merge branch 'PR/lastlog2-cleanup' of github.com:karelzak/util-linux-workKarel Zak1-85/+56
2024-02-22enosys: add support for alternative error codesThomas Weißschuh3-8/+58
2024-02-22enosys: generalize named number parsingThomas Weißschuh1-33/+36
2024-02-22autotools: make errnos.h available without lsfdThomas Weißschuh1-7/+7
2024-02-22Merge branch 'enosys/dump' of https://github.com/t-8ch/util-linuxKarel Zak2-16/+22
2024-02-21docs: cleanup public domain license textsKarel Zak2-2/+10
2024-02-20lastlog2: convert check_user() to boolean-like macroKarel Zak1-10/+4
2024-02-20lastlog: cleanup function definitionsKarel Zak1-17/+13
2024-02-20lastlog2: make longopts[] static-constKarel Zak1-1/+1
2024-02-20lastlog: improve errors printingKarel Zak1-46/+29
2024-02-20lastlog2: improve coding styleKarel Zak1-30/+28
2024-02-19lastlog2: Don't print space if Service column is not printedMiika Alikirri1-1/+2
2024-02-18docs: remove duplicated author name in namei.1.adocEmanuele Torre1-1/+1
2024-02-12Save and restore errno on signal handlersCristian Rodríguez1-0/+1
2024-02-05enosys: add functionality to dump filterThomas Weißschuh2-3/+20
2024-02-05include: introduce seccomp.hThomas Weißschuh1-13/+2
2024-02-05Merge branch 'lsfd--error' of https://github.com/masatake/util-linuxKarel Zak6-157/+375
2024-02-05Merge branch 'lsclocks' of https://github.com/alanc/util-linuxKarel Zak1-0/+1
2024-02-04lsclocks: use clock id from clock_getcpuclockid in add_cpu_clockAlan Coopersmith1-0/+1
2024-02-04enosys: optimize bytecode when execve is not blockedThomas Weißschuh1-7/+12
2024-02-04enosys: optimize bytecode when no ioctls are blockedThomas Weißschuh1-11/+13
2024-02-04enosys: add helpers for 64 bit integer loadingThomas Weißschuh1-5/+7
2024-02-04enosys: drop unnessecary load of ioctl numberThomas Weißschuh1-2/+0
2024-02-03lsfd: add --_drop-prvilege option for testing purposeMasatake YAMATO1-0/+7
2024-02-03lsfd: add ERROR as a new typeMasatake YAMATO5-17/+181
2024-02-03lsfd: (refactor) make the steps for new_file consistentMasatake YAMATO1-2/+2
2024-02-03lsfd: (refactor) add abst_class as super class of file_classMasatake YAMATO3-110/+165
2024-02-03lsfd: (refactor) simplify the step to make a file structMasatake YAMATO1-14/+9
2024-02-03lsfd: (refactor) simplify the step to copy a file struct if the result of its...Masatake YAMATO1-10/+8
2024-02-03lsfd: (refactor) flatten bit fields in struct fileMasatake YAMATO2-8/+7
2024-02-03lsfd: fix typos of a function nameMasatake YAMATO1-3/+3
2024-01-29Merge branch 'lsfd--man-decoration' of https://github.com/masatake/util-linuxKarel Zak1-6/+6
2024-01-29lsdf: (man page) revise text decorationMasatake YAMATO1-6/+6
2024-01-29lsfd: don't list kernel threads unless --threads is givenMasatake YAMATO2-5/+5
2024-01-29lsfd: (refactor) rename a function, s/new_process/new_proc/gMasatake YAMATO1-2/+2
2024-01-24Merge branch 'boilerplate/test' of https://github.com/t-8ch/util-linuxKarel Zak3-26/+26
2024-01-24lsfd: fix wrong inconsistency in extracting cwd and root associationsMasatake YAMATO1-1/+1
2024-01-23treewide: fix newlines when using fputsThomas Weißschuh3-26/+26
2024-01-23Merge branch 'lastlog2' of https://github.com/schubi2/util-linuxKarel Zak7-0/+494
2024-01-23Merge branch 'lsfd--fix-2691' of https://github.com/masatake/util-linuxKarel Zak1-1/+25
2024-01-23Merge branch 'findmnt-inode' of https://github.com/masatake/util-linuxKarel Zak3-4/+64
2024-01-22wipefs: (man) fix typoscodefiles1-2/+2
2024-01-23findmnt: add -I, --dfi options for imitating the output of df -iMasatake YAMATO3-3/+22
2024-01-23findmnt: add inode-related columns for implementing "df -i" like outputMasatake YAMATO1-1/+42
2024-01-22lsfd: build lsfd even if kcmp.h is not availableMasatake YAMATO1-1/+25
2024-01-20lsfd,test_mkfds: (cosmetic) remove whitespaces between functions and their ar...Masatake YAMATO4-15/+15
2024-01-18lastlog2 - Y2038 safe version of lastlogStefan Schubert7-0/+494
2024-01-12uuidd: add cont_clock persistenceMichael Trapp1-9/+0
2024-01-11lsblk: add docs for filters and countersKarel Zak2-6/+51
2024-01-09hardlink: fix fiemap useKarel Zak1-1/+2
2024-01-09lsblk: explain FSAVAIL in better wayKarel Zak1-1/+1
2024-01-08Merge branch 'patch-23' of https://github.com/mariobl/util-linuxKarel Zak1-1/+1
2024-01-08Merge branch 'patch-20' of https://github.com/mariobl/util-linuxKarel Zak1-2/+2
2024-01-08Merge branch 'patch-17' of https://github.com/mariobl/util-linuxKarel Zak1-1/+1
2024-01-08Merge branch 'patch-18' of https://github.com/mariobl/util-linuxKarel Zak1-3/+3
2024-01-04fadvise: Fix markup in man pageMario Blättermann1-1/+1
2024-01-04uuidd: Fix markup in man page (uuidd.8)Mario Blättermann1-2/+2
2024-01-04lsfd: Fix typos in man pageMario Blättermann1-4/+4
2024-01-04lsclocks: Fix markup and typos in man pageMario Blättermann1-3/+3
2024-01-04hardlink: Fix markup in man pageMario Blättermann1-1/+1
2024-01-04autotools: add missing dist_noinst_DATAKarel Zak1-0/+1
2024-01-04Merge branch 'patch-14' of https://github.com/mariobl/util-linuxKarel Zak1-6/+6
2024-01-04Merge branch 'wipefs/improvements' of https://github.com/t-8ch/util-linuxKarel Zak2-22/+26
2024-01-03logger: make sure path is terminated [coverity scan]Karel Zak1-1/+1
2024-01-02lsclocks: Fix markup in man pageMario Blättermann1-6/+6
2024-01-02wipefs: allow storage of backups in specific locationThomas Weißschuh2-22/+26
2023-12-31pipesz: avoid dead storeThomas Weißschuh1-1/+1
2023-12-31cal: avoid out of bound writeThomas Weißschuh1-2/+2
2023-12-31logger: use strncpy instead of strcpyThomas Weißschuh1-1/+1
2023-12-31exch: use NULL rather than zeroKarel Zak1-1/+1
2023-12-31Merge branch 'exch/options' of https://github.com/t-8ch/util-linuxKarel Zak1-0/+1
2023-12-31Merge branch 'logger-wrong-typo' of https://github.com/chentooerl/util-linuxKarel Zak1-1/+1
2023-12-22exch: properly terminate options arrayThomas Weißschuh1-0/+1
2023-12-21Fix typo: octen -> octetzeyun chen1-1/+1
2023-12-19lsclocks: refer to correct lsclocks(1) manpageThomas Weißschuh1-1/+1
2023-12-14exch: fix typoKarel Zak1-1/+1
2023-12-14exch: cosmetic changesKarel Zak2-18/+12
2023-12-14exch: new command exchaging two files atomicallyMasatake YAMATO4-0/+164
2023-12-12libsmartcols: flush correct streamThomas Weißschuh1-1/+1
2023-12-12libsmartcols: drop spourious newline in between streamed JSON objectsThomas Weißschuh1-2/+0
2023-12-07findmnt: add --list-columnsKarel Zak2-34/+73
2023-12-07lslocks: improve --list-columnsKarel Zak2-6/+6
2023-12-07lsblk: add --list-columnsKarel Zak2-25/+61
2023-12-06lsfd: cleanup --list-columnsKarel Zak1-3/+8
2023-12-06lslocks: cleanup --list-columnsKarel Zak1-13/+11
2023-12-06Merge branch 'list-columns-options' of https://github.com/masatake/util-linuxKarel Zak3-40/+75
2023-12-05Merge branch 'fixes' of https://github.com/t-8ch/util-linuxKarel Zak2-3/+1
2023-12-05rename: properly handle directories with trailing slashThomas Weißschuh1-6/+2
2023-12-01lsfd: switch to c99-conformant alignment specificationThomas Weißschuh2-3/+1
2023-11-30lslocks: add -H option printing avaiable columnsMasatake YAMATO2-6/+36
2023-11-30lslocks: (refactor) add a helper function returning JSON type for a given columnMasatake YAMATO1-25/+24
2023-11-30lslocks: (fix) set JSON type for COL_SIZE even when --bytes is specifiedMasatake YAMATO1-1/+3
2023-11-30lsfd: use helper functions in column-list-table.hMasatake YAMATO1-11/+15
2023-11-24Merge branch 'minor-changes-about-new-filter' of https://github.com/masatake/...Karel Zak1-107/+4
2023-11-23lsfd: (man) document --list-columns as the way to list columnsMasatake YAMATO1-1/+1
2023-11-23lsfd: (man) refer to scols-filter(5)Masatake YAMATO1-106/+3
2023-11-23lslocks: add HOLDERS columnMasatake YAMATO2-8/+53
2023-11-23lslocks: store list_add_tail when storing information extracted from /proc/$p...Masatake YAMATO1-2/+2
2023-11-23xalloc.h: add new functions: xstrappend, xstrputc, xstrvfappend, and xstrfappendMasatake YAMATO1-38/+0
2023-11-23lsfd: (refactor) make the code comparing struct lock objects reusableMasatake YAMATO1-8/+13
2023-11-23lslocks: add a missing "break;" in a switch/case statementMasatake YAMATO1-0/+1
2023-11-23lslocks: (preparation) add a fd number to the lock struct when loading lock i...Masatake YAMATO1-4/+8
2023-11-23lslocks: (refactor) use a tree for storing lock information extracted from /p...Masatake YAMATO1-8/+68
2023-11-23lslocks: (refactor) make the data structure for storing lock information repl...Masatake YAMATO1-10/+15
2023-11-23Merge branch 'PR/libsmartcols-filter' of github.com:karelzak/util-linux-workKarel Zak9-1848/+609
2023-11-23Merge branch 'undefined' of https://github.com/t-8ch/util-linuxKarel Zak2-4/+8
2023-11-22lsblk: add hint that partition start is in sectorsKarel Zak1-1/+1
2023-11-20lsblk: update after rebaseKarel Zak1-4/+4
2023-11-20lsfd: use SCOLS_JSON_FLOATKarel Zak1-6/+7
2023-11-20lsfd: fix memory leak in append_filter_expr()Karel Zak1-0/+2
2023-11-20lsblk: make sure all line data are deallocatedKarel Zak1-19/+23
2023-11-20libsmartcols: cleanup datafunc() APIKarel Zak1-4/+4
2023-11-20lsblk: ignore duplicate lines for countersKarel Zak1-3/+9
2023-11-20lsfd: keep filter-only columns hiddenKarel Zak1-6/+8
2023-11-20meson: update for libsmartcols filterKarel Zak1-4/+0
2023-11-20lsfd: use filter and counters from libsmartcolsKarel Zak6-1718/+149
2023-11-20lsblk: report all unknown columns in filterKarel Zak1-5/+9
2023-11-20lsblk: define cell data-types, use raw data for SIZEsKarel Zak2-21/+60
2023-11-20lsblk: rename sortdata to rawdataKarel Zak1-55/+55
2023-11-20lsblk: always set column typeKarel Zak1-20/+25
2023-11-20lsblk: support normalized column names on command lineKarel Zak1-0/+18
2023-11-20lsblk: add scols counters supportKarel Zak2-4/+125
2023-11-20lsblk: split filter allocation and initializationKarel Zak2-23/+25
2023-11-20lsblk: fix in-tree filteringKarel Zak1-4/+3
2023-11-20lsblk: add --highlightKarel Zak3-3/+28
2023-11-20lsblk: add --filterKarel Zak2-32/+138
2023-11-20lsfd: avoid undefined behaviorThomas Weißschuh2-4/+8
2023-11-14lsblk: add separate MAJ and MIN columnsKarel Zak1-0/+14
2023-11-13lslocks: (man) update the note about OFDLCKMasatake YAMATO1-3/+8
2023-11-13lslocks: use information extracted from "locks: " column of /proc/$pid/fdinfo/*Masatake YAMATO1-14/+159
2023-11-13lslocks: (refactor) lift up the code destroying the lock list for future exte...Masatake YAMATO1-7/+14
2023-11-13lslocks: rename functions for future extensionMasatake YAMATO1-8/+8
2023-11-13lslocks: refactor the code reading /proc/locksMasatake YAMATO1-77/+83
2023-11-13lslocks: (refactor) remove 'pid' global variableMasatake YAMATO1-6/+6
2023-11-13lslocks: (man) document LEASE typeMasatake YAMATO1-1/+1
2023-11-08Merge branch 'lsfd--tty' of https://github.com/masatake/util-linuxKarel Zak4-6/+364