summaryrefslogtreecommitdiffstats
path: root/src/basic/fileio.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* 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-161-5/+2
* | fileio: introduce a new flag to make write_string_file() ignore trailing newlineYu Watanabe2021-04-141-1/+1
* | basic/fileio: silence gcc's maybe-unitialized warningZbigniew Jędrzejewski-Szmek2021-03-311-3/+4
|/
* basic/fileio: fix reading of not-too-small virtual filesZbigniew Jędrzejewski-Szmek2021-03-301-21/+9
* basic/fileio: use malloc_usable_size() to use all allocated memoryZbigniew Jędrzejewski-Szmek2021-03-261-0/+1
* basic/fileio: optimize buffer sizes in read_full_virtual_file()Zbigniew Jędrzejewski-Szmek2021-03-261-14/+14
* basic/fileio: simplify calculation of buffer size in read_full_virtual_file()Zbigniew Jędrzejewski-Szmek2021-03-261-7/+11
* fileio: add missing overflow checks to read_full_virtual_file()Lennart Poettering2021-03-171-1/+5
* fileio: don't use realloc() in read_full_virtual_file()Lennart Poettering2021-03-171-4/+8
* copy: move sync_rights() to copy.c and rename copy_rights()Lennart Poettering2021-03-041-9/+0
* fileio: minor read_full_stream_full() optimizationLennart Poettering2021-03-041-1/+3
* fileio: extend comment about file sizes in virtual file systemsLennart Poettering2021-02-191-1/+3
* tree-wide: reset the cleaned-up variable in cleanup functionsZbigniew Jędrzejewski-Szmek2021-02-161-1/+1
* fileio: teach read_full_file_full() to read from offset/with maximum sizeLennart Poettering2020-12-011-17/+43
* basic/fileio: constify struct timespec argumentsZbigniew Jędrzejewski-Szmek2020-11-101-4/+4
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* fileio: beef up READ_FULL_FILE_CONNECT_SOCKET to allow setting sender socket ...Lennart Poettering2020-11-031-1/+21
* Add WRITE_STRING_FILE_TRUNCATE to set O_TRUNCwilliamvds2020-10-211-1/+2
* basic/fileio: add chase_symlinks_and_fopen_unlocked()Zbigniew Jędrzejewski-Szmek2020-10-011-0/+36
* fileio: allow to read base64/hex data as stringsLennart Poettering2020-07-211-6/+14
* fileio: add support for read_full_file() on AF_UNIX stream socketsLennart Poettering2020-07-211-9/+53
* fileio: add explicit flag for generating world executable warning when readin...Lennart Poettering2020-07-211-1/+1
* fileio: Rename rename_and_apply_smack to rename_and_apply_smack_floor_label.Daan De Meyer2020-05-271-1/+1
* fileio: Refactor sync_rights to take fds as argumentsDaan De Meyer2020-05-271-3/+3
* sysusers: Move sync_rights and rename_and_apply_smack to basicDaan De Meyer2020-05-271-0/+22
* fileio: sync directory after rename, tooLennart Poettering2020-05-211-0/+7
* tree-wide: fix bad errno checksZbigniew Jędrzejewski-Szmek2020-05-201-1/+1
* fileio: extend comment a bitLennart Poettering2020-04-131-3/+5
* fileio: optionally allow telling read_line_full() whether we are processing a...Lennart Poettering2020-04-131-5/+5
* fileio: fileno() can realistically return -1Lennart Poettering2020-04-131-7/+29
* fileio: add take_fdopendir() variantVito Caputo2020-03-311-0/+12
* fileio: introduce take_fdopen{_unlocked}() variantVito Caputo2020-03-311-0/+26
* fileio: add WRITE_STRING_FILE_MODE_0600 flag for writing filesLennart Poettering2019-12-021-22/+21
* fileio: add 'dir_fd' parameter to read_full_file_full()Lennart Poettering2019-12-021-2/+4
* fileio: add an openat() flavour for fopen()Lennart Poettering2019-12-021-0/+75
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-031-1/+0