summaryrefslogtreecommitdiff
path: root/src/basic/fileio.c
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #27184 from yuwata/xfopenat-fullDaan De Meyer2023-04-101-91/+103
|\
| * fileio: introduce xfopenat_full()Yu Watanabe2023-04-081-65/+86
| * fileio: use take_fdopen() and friendsYu Watanabe2023-04-081-29/+20
* | fileio: introduce read_one_line_file_at()Yu Watanabe2023-04-091-5/+6
|/
* chase-symlinks: Rename chase_symlinks() to chase()Daan De Meyer2023-03-241-1/+1
* fileio: add new helper fdopen_independent()Lennart Poettering2023-03-231-0/+29
* tree-wide: fix typo and comment style updateYu Watanabe2023-02-151-1/+1
* string-util: add new strdupcspn()/strdupspn()Lennart Poettering2023-01-201-4/+1
* fundamental: rework IN_SET() to require at least three argumentsLennart Poettering2023-01-021-1/+1
* tree-wide: use -EBADF moreYu Watanabe2022-12-211-1/+1
* tree-wide: use -EBADF for fd initializationZbigniew Jędrzejewski-Szmek2022-12-191-5/+5
* strv: move nulstr utilities to nulstr-util.[ch]Lennart Poettering2022-11-131-0/+1
* fileio: Add openat() like helpersDaan De Meyer2022-11-091-21/+24
* fileio: port read_file_full() to use connect_unix_path()Lennart Poettering2022-05-141-21/+6
* fileio: fix error propagationLennart Poettering2022-05-131-1/+1
* fileio: propagate original error if we notice AF_UNIX connect() is not going ...Lennart Poettering2022-05-131-1/+1
* strv: make iterator in STRV_FOREACH() declaread in the loopYu Watanabe2022-03-191-2/+0
* tree-wide: use timestamp_is_set() moreLennart Poettering2022-02-221-2/+2
* Typos found by codespellDimitri Papadopoulos2021-10-201-1/+1
* fileio: add read_virtual_file_at() flavour that takes dir_fd/path pairLennart Poettering2021-10-111-3/+16
* fileio: add shortcut for xopendirat() when called in opendir() compatible modeLennart Poettering2021-10-071-0/+3
* basic: move chase_symlinks_and_fopen_unlocked() → chase-symlinks.[ch]Lennart Poettering2021-10-051-35/+4
* basic: spit out chase_symlinks() from fs-util.[ch] → chase-symlinks.[ch]Lennart Poettering2021-10-051-0/+1
* basic: split out sync() family of calls from fs-util.[ch] into new c/h fileLennart Poettering2021-10-051-4/+2
* fileio: introduce new mode to suppress writing the same valueAntony Deepak Thomas2021-09-291-2/+27
* fileio: introduce read_virtual_file_fd()Antony Deepak Thomas2021-09-291-8/+16
* smack: move helper function to smack-util.cZbigniew Jędrzejewski-Szmek2021-09-211-13/+0
* fileio: fix truncated read handling in read_virtual_file()Lennart Poettering2021-09-161-3/+8
* fileio: start with 4k buffer for procfsAnita Zhang2021-09-161-0/+5
* fileio: set O_NOCTTY when reading virtual filesLennart Poettering2021-09-151-1/+1
* fileio: lower maximum virtual file buffer size by one byteLennart Poettering2021-09-151-8/+10
* tree-wide: port things over to FORMAT_PROC_FD_PATH()Lennart Poettering2021-08-191-4/+1
* fileio: optionally allow interpreting file size as limitLennart Poettering2021-07-081-17/+36
* fileio: bump limit for read_full_file() and friends to 64MLennart Poettering2021-06-101-8/+17
* tree-wide: always drop unnecessary dot in pathYu Watanabe2021-05-281-3/+3
* fileio: read_virtual_file(): on last attempt ignore file sizeLennart Poettering2021-05-211-14/+11
* fileio: read_virtual_file() don't tweak buffer for returning it when we aren'...Lennart Poettering2021-05-211-15/+17
* fileio: fix typo in commentLennart Poettering2021-05-211-3/+3
* fileio: read_virtual_file(): exit once the max_size limit is reachedLennart Poettering2021-05-211-0/+7
* fileio: if we try to read a file larger than SIZE_MAX this is not a problem i...Lennart Poettering2021-05-211-5/+11
* fileio: make return parameters of read_virtual_file() optionalLennart Poettering2021-05-201-3/+3
* alloc-util: simplify GREEDY_REALLOC() logic by relying on malloc_usable_size()Lennart Poettering2021-05-191-3/+3
* alloc-util: introduce MALLOC_SIZEOF_SAFE() helperLennart Poettering2021-05-191-2/+2
* meson: use jinja2 for tmpfiles.d templatesZbigniew Jędrzejewski-Szmek2021-05-191-1/+1
* Merge pull request #18863 from keszybz/cmdline-escapingLennart Poettering2021-05-071-17/+35
|\
| * basic/process-util: allow quoting of commandlinesZbigniew Jędrzejewski-Szmek2021-05-051-2/+5
| * basic/fileio: add a mode to read_full_virtual_file() where not the whole file...Zbigniew Jędrzejewski-Szmek2021-05-051-16/+31
* | fileio: optionally, return discovered path of file in search_and_fopen()Lennart Poettering2021-05-071-23/+65
* | fileio: use take_fdopen_unlocked()Yu Watanabe2021-04-171-5/+2
* | fileio: introduce a new flag to make write_string_file() ignore trailing newlineYu Watanabe2021-04-151-1/+1