summaryrefslogtreecommitdiff
path: root/src/basic/fileio.h
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #27184 from yuwata/xfopenat-fullDaan De Meyer2023-04-101-5/+23
|\
| * fileio: introduce xfopenat_full()Yu Watanabe2023-04-081-5/+23
* | fileio: introduce read_one_line_file_at()Yu Watanabe2023-04-091-1/+4
|/
* fileio: add new helper fdopen_independent()Lennart Poettering2023-03-231-0/+2
* fileio: Add openat() like helpersDaan De Meyer2022-11-091-3/+18
* core: check size before mmapTobias Stoeckmann2022-03-031-0/+6
* fileio: add read_virtual_file_at() flavour that takes dir_fd/path pairLennart Poettering2021-10-111-1/+4
* basic: move chase_symlinks_and_fopen_unlocked() → chase-symlinks.[ch]Lennart Poettering2021-10-051-8/+2
* fileio: introduce new mode to suppress writing the same valueAntony Deepak Thomas2021-09-291-11/+12
* fileio: introduce read_virtual_file_fd()Antony Deepak Thomas2021-09-291-0/+1
* smack: move helper function to smack-util.cZbigniew Jędrzejewski-Szmek2021-09-211-2/+0
* Use correct `<fcntl.h>` includeDavid Seifert2021-08-021-1/+1
* fileio: optionally allow interpreting file size as limitLennart Poettering2021-07-081-0/+1
* Merge pull request #18863 from keszybz/cmdline-escapingLennart Poettering2021-05-071-1/+6
|\
| * basic/fileio: add a mode to read_full_virtual_file() where not the whole file...Zbigniew Jędrzejewski-Szmek2021-05-051-1/+6
* | fileio: optionally, return discovered path of file in search_and_fopen()Lennart Poettering2021-05-071-2/+2
* | fileio: introduce a new flag to make write_string_file() ignore trailing newlineYu Watanabe2021-04-151-10/+11
|/
* copy: move sync_rights() to copy.c and rename copy_rights()Lennart Poettering2021-03-041-2/+0
* fileio: teach read_full_file_full() to read from offset/with maximum sizeLennart Poettering2020-12-011-6/+6
* basic/fileio: constify struct timespec argumentsZbigniew Jędrzejewski-Szmek2020-11-101-2/+2
* 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-2/+2
* Add WRITE_STRING_FILE_TRUNCATE to set O_TRUNCwilliamvds2020-10-211-8/+9
* basic/fileio: add chase_symlinks_and_fopen_unlocked()Zbigniew Jędrzejewski-Szmek2020-10-011-0/+8
* fileio: add brief explanations for flagsLennart Poettering2020-07-211-5/+5
* fileio: add support for read_full_file() on AF_UNIX stream socketsLennart Poettering2020-07-211-0/+1
* fileio: add explicit flag for generating world executable warning when readin...Lennart Poettering2020-07-211-3/+4
* 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-1/+1
* sysusers: Move sync_rights and rename_and_apply_smack to basicDaan De Meyer2020-05-271-0/+4
* fileio: optionally allow telling read_line_full() whether we are processing a...Lennart Poettering2020-04-131-1/+3
* fileio: add take_fdopendir() variantVito Caputo2020-03-311-0/+1
* fileio: introduce take_fdopen{_unlocked}() variantVito Caputo2020-03-311-0/+2
* fileio: add WRITE_STRING_FILE_MODE_0600 flag for writing filesLennart Poettering2019-12-021-0/+1
* fileio: add 'dir_fd' parameter to read_full_file_full()Lennart Poettering2019-12-021-2/+3
* fileio: add an openat() flavour for fopen()Lennart Poettering2019-12-021-0/+1
* fileio: introduce read_full_virtual_file() for reading virtual files in sysfs...Franck Bui2019-10-251-0/+1
* fileio: add new WRITE_STRING_FILE_MKDIR_0755 flag for mkdir'ing parentLennart Poettering2019-05-081-0/+1
* Merge pull request #12222 from yuwata/macsecLennart Poettering2019-04-121-0/+1
|\
| * fileio: add READ_FULL_FILE_UNHEX flagYu Watanabe2019-04-121-0/+1
* | Add fmemopen_unlocked() and use unlocked ops in fuzzers and some other testsZbigniew Jędrzejewski-Szmek2019-04-121-0/+1
* | Add open_memstream_unlocked() wrapperZbigniew Jędrzejewski-Szmek2019-04-121-0/+1
* | Add fdopen_unlocked() wrapperZbigniew Jędrzejewski-Szmek2019-04-121-0/+1
* | Add fopen_unlocked() wrapperZbigniew Jędrzejewski-Szmek2019-04-121-0/+2
|/
* fileio: add READ_FULL_FILE_UNBASE64 flag for read_full_file_full()Yu Watanabe2019-04-091-1/+2
* fileio: read_full_file_full() also warns when file is world readable and secu...Yu Watanabe2019-04-091-2/+2
* fileio: introduce warn_file_is_world_accessible()Yu Watanabe2019-04-091-0/+3
* util: introduce READ_FULL_FILE_SECURE flag for reading secure dataYu Watanabe2019-04-091-3/+13
* fileio: replace read_nul_string() by read_line() with a special flagLennart Poettering2018-12-181-2/+12
* fileio: add new safe_fgetc() helper callLennart Poettering2018-12-181-0/+2