aboutsummaryrefslogtreecommitdiffstats
path: root/lib/path.c
AgeCommit message (Expand)AuthorFilesLines
2025-07-02lib/path: avoid double free() for cpusetsKarel Zak1-1/+3
2025-06-06remove "Copyright (C) ...." notes from files that claim no copyrightBenno Schulenberg1-1/+1
2024-05-13lib/path: use _vreadf_buffer for _cpuparse()Thomas Weißschuh1-20/+2
2024-05-13lib/path: introduce ul_path_vreadf_bufferThomas Weißschuh1-3/+12
2024-05-13lib/path: use _read_buffer for _read_string()Thomas Weißschuh1-8/+2
2024-05-13Merge branch 'fix' of https://github.com/DaanDeMeyer/util-linuxKarel Zak1-1/+1
2024-05-09Fix ul_path_read_buffer()Daan De Meyer1-1/+1
2024-05-03lib/path: add ul_path_statf() and ul_path_vstatf()Karel Zak1-0/+19
2023-10-10lib/path: Set errno in case of fgets failureTobias Stoeckmann1-1/+6
2023-10-08lib/path: fix typosTobias Stoeckmann1-6/+6
2023-10-08lib/path: remove ul_prefix_fopenTobias Stoeckmann1-19/+0
2023-10-08lib/path: set errno in case of errorTobias Stoeckmann1-2/+4
2023-10-08lib/path: fix possible out of boundary accessTobias Stoeckmann1-1/+1
2023-09-13lib/path: remove usage of VLAThomas Weißschuh1-11/+25
2023-06-20lib/ include/: cleanup licence headersKarel Zak1-5/+6
2022-09-27lib/path: ul_path_cpuparse: fix parsing of empty sysfs filesPetr Štetiar1-1/+1
2022-03-17lib/path: initialize variables for scanf [coverity scan]Karel Zak1-2/+2
2022-03-17lib/path: make ul_path_read_buffer() more robust [coverity scan]Karel Zak1-7/+10
2021-11-29lib/path: make path use more robust [coverity scan]Karel Zak1-1/+4
2021-10-06lib/path: add ul_path_next_dirent()Karel Zak1-0/+21
2021-10-06lib/path: use flags for fstatat()Karel Zak1-2/+3
2021-10-06lib/path: fstat dir itselfKarel Zak1-4/+6
2021-06-18lib/path: (test) fix ul_new_path() useKarel Zak1-1/+1
2021-06-17lib/path: improve ul_path_readlink() to be more robustKarel Zak1-8/+13
2021-06-11lib/path: fix possible leak when use ul_path_read_string() [coverity scan]Karel Zak1-3/+5
2020-07-08lib/path: add ul_path_is_accessible()Karel Zak1-0/+14
2019-10-15lib/path: add ul_path_stat(), fix absolute pathsKarel Zak1-11/+51
2019-06-17lib/path: make sure ul_path_read_buffer() derminate resultKarel Zak1-2/+3
2019-05-20lib/path: use xstrncpy()Karel Zak1-2/+2
2019-05-15lib/path: fix resource leak [coverity scan]Karel Zak1-2/+5
2019-05-15lib/path: fix possible NULL dereferencing [coverity scan]Karel Zak1-2/+4
2019-05-15lib/path: fix ul_path_get_dirfd() usage [coverity scan]Karel Zak1-1/+5
2019-05-15lib/path: consolidate ul_path_mkpath() usageKarel Zak1-74/+28
2019-05-15lib/path: fix possible NULL pointer dereferencing [coverity scan]Karel Zak1-0/+3
2019-04-11lib/fileutils: add xreaddir()Karel Zak1-15/+0
2019-03-19lib/path: remove extra semi-colonsKarel Zak1-3/+3
2019-02-18docs: fix typos [codespell]Sami Kerola1-2/+2
2018-12-10choom: fix negative adjust score usageKarel Zak1-0/+22
2018-12-07lib/path: allow to close dirfdKarel Zak1-3/+19
2018-06-25lib/path: remove unused expressionRuediger Meier1-1/+1
2018-06-21lib/path: allow dir-path formattingKarel Zak1-3/+9
2018-06-21lsblk: fix ul_path_read_string() usageKarel Zak1-4/+4
2018-06-21lib/path: improve debug message on redirectKarel Zak1-3/+3
2018-06-21lib/path: simplify debug messageKarel Zak1-2/+2
2018-06-21lib/path: add ul_prefix_fopen(), improve cpuset funcsKarel Zak1-2/+27
2018-06-21lib/path: don't use extra '/'Karel Zak1-4/+16
2018-06-21lib/path: add more debug messagesKarel Zak1-2/+6
2018-06-21lib/path: make ul_path_read_ usable with NULL handlerKarel Zak1-11/+22
2018-06-21lib/path: add ul_path_read_buffer()Karel Zak1-0/+29
2018-06-21lib/path: add ul_path_get_abspath()Karel Zak1-1/+33
2018-06-21lib/sysfs: fix ul_path_read_string() usageKarel Zak1-0/+1
2018-06-21lib/sysfs: make possible to call sysfs_blkdev_deinit_path() in loopKarel Zak1-1/+1
2018-06-21lib/path: fix read string to be backwardly compatibleKarel Zak1-0/+4
2018-06-21lib/path lib/sysfs: add debugKarel Zak1-1/+37
2018-06-21lib/path: new implementationKarel Zak1-139/+907
2017-10-23lib/path: make path_set_prefix() independent on cpu_set_tKarel Zak1-15/+14
2017-06-29lsmem: fix, using freed memoryRuediger Meier1-3/+3
2017-06-29lib/path: add error handling to path_vcreate()Ruediger Meier1-9/+25
2017-06-27lib/path: fix crash, pathbuf overflowRuediger Meier1-4/+10
2016-02-11lib/path: ifdef path_set_prefix() like in path.hRuediger Meier1-2/+2
2015-01-26docs: fix two "maybe be" duplications in program commentsBenno Schulenberg1-5/+2
2014-01-06lib/path: add path_strdup()Karel Zak1-0/+13
2013-10-09textual: standardize some "cannot read" and "seek failed" error messagesBenno Schulenberg1-4/+4
2013-04-03lib: use O_CLOEXEC in libcommonKarel Zak1-4/+4
2012-11-23lib/path: add path_read_u64()Karel Zak1-0/+22
2012-11-23lib/path: rename functions to be more explicitKarel Zak1-8/+10
2012-11-02build-sys: cleanup cpu_set_t usageKarel Zak1-1/+4
2012-07-16translation: unify file open error messagesSami Kerola1-2/+2
2012-05-15include: rename writeall.h to all-io.hPetr Uzel1-1/+1
2012-02-24docs: corrections to FSF license files, and postal addressSami Kerola1-3/+3
2011-09-27lib,path: use write_all()Heiko Carstens1-1/+2
2011-09-27chcpu: convert to use lib/path.cHeiko Carstens1-0/+26
2011-09-27lib,path: move path access functions from lscpu into lib/path.cHeiko Carstens1-0/+191