summaryrefslogtreecommitdiff
path: root/src/shared/fileio.c
AgeCommit message (Expand)AuthorFilesLines
2014-11-07fileio: simplify write_string_file_atomic() by reusing write_string_stream()Lennart Poettering1-13/+3
2014-11-07copy: teach copy_bytes() sendfile() support, and then replace sendfile_full()...Lennart Poettering1-73/+2
2014-09-25fileio: make parse_env_file() return number of parsed itemsMichal Sekletar1-13/+27
2014-08-15cgroup: never try to create files in cgroupfs, only open them for writingLennart Poettering1-0/+22
2014-07-13fileio: quote more shell characters in envfilesMantas Mikulėnas1-2/+2
2014-07-07fileio: simplify write_env_file()Lennart Poettering1-14/+10
2014-07-07util: don't consider tabs special in string_has_cc() anymoreLennart Poettering1-1/+1
2014-07-03machinectl: show /etc/os-release information of container in status outputLennart Poettering1-33/+115
2014-06-22consistently order cleanup attribute before typeThomas Hindoe Paaboel Andersen1-1/+1
2014-04-12Unify GREEDY_REALLOC and GREEDY_REALLOC_TZbigniew Jędrzejewski-Szmek1-9/+9
2014-03-04Do not print invalid UTF-8 in error messagesZbigniew Jędrzejewski-Szmek1-3/+6
2014-03-04Introduce strv_consume which takes ownershipZbigniew Jędrzejewski-Szmek1-4/+2
2014-02-13everywhere: always use O_CLOEXEC where it makes senseLennart Poettering1-1/+1
2014-02-08core: do not print invalid utf-8 in error messagesZbigniew Jędrzejewski-Szmek1-4/+7
2014-02-08core: fix crashes if locale.conf contains invalid utf-8 stringGoffredo Baroncelli1-34/+43
2013-11-30fix regression of read_full_file() in fileio.cShawn Landden1-0/+1
2013-11-30systemctl: add "systemctl cat"Shawn Landden1-1/+72
2013-10-13Never call qsort on potentially NULL arraysZbigniew Jędrzejewski-Szmek1-0/+1
2013-09-19Add more tests and fix capability loggingZbigniew Jędrzejewski-Szmek1-7/+10
2013-09-18Spelling fix from later revision of committed patch from Shawn Landden <shawn...David Strauss1-1/+1
2013-09-18Fix capability logging when effective caps are 0Zbigniew Jędrzejewski-Szmek1-1/+7
2013-09-17util: restore get_process_capeff behaviourZbigniew Jędrzejewski-Szmek1-4/+9
2013-09-13Advertise hibernation only if there's enough free swapZbigniew Jędrzejewski-Szmek1-0/+34
2013-08-28Disallow invalid UTF-8 configurationZbigniew Jędrzejewski-Szmek1-31/+57
2013-07-26journalctl: use _COMM= match for scriptsZbigniew Jędrzejewski-Szmek1-0/+29
2013-06-27core: general cgroup reworkLennart Poettering1-1/+0
2013-05-06fileio: split write_one_line_file into twoZbigniew Jędrzejewski-Szmek1-9/+14
2013-04-24fileio: unify how we chop off whitespace from key and value in parse_env_file...Lennart Poettering1-16/+30
2013-04-18fileio.c: do not parse comments after non-whitespace charsHarald Hoyer1-4/+5
2013-04-18move _cleanup_ attribute in front of the typeHarald Hoyer1-2/+2
2013-04-17core/execute: report invalid environment variables from filesHarald Hoyer1-20/+14
2013-04-17fileio:parse_env_file_internal() fix environment file parsingHarald Hoyer1-2/+4
2013-04-17fileio: also escape $ and ` when writing out env varsMantas Mikulėnas1-2/+2
2013-04-03fileio: don't check for errors more often than really necessaryLennart Poettering1-15/+5
2013-04-03fileio: write proper env var write-out codeLennart Poettering1-4/+33
2013-04-03shared: rework env file readerLennart Poettering1-108/+287
2013-04-03util: rename write_one_line_file() to write_string_file()Lennart Poettering1-2/+2
2013-03-29Always use errno > 0 to help gccZbigniew Jędrzejewski-Szmek1-1/+1
2013-03-13fileio: use _cleanup_Zbigniew Jędrzejewski-Szmek1-6/+5
2013-02-14honor SELinux labels, when creating and writing config filesHarald Hoyer1-0/+383