summaryrefslogtreecommitdiff
path: root/src/basic/copy.c
AgeCommit message (Expand)AuthorFilesLines
2018-06-14Merge pull request #9274 from poettering/comment-header-cleanupZbigniew Jędrzejewski-Szmek1-5/+0
2018-06-14Merge pull request #9199 from poettering/copy-file-atomicZbigniew Jędrzejewski-Szmek1-12/+36
2018-06-14tree-wide: remove Lennart's copyright linesLennart Poettering1-3/+0
2018-06-14tree-wide: drop 'This file is part of systemd' blurbLennart Poettering1-2/+0
2018-06-07copy: rework copy_file_atomic() to copy the specified file via O_TMPFILE if p...Lennart Poettering1-12/+36
2018-06-07copy: put a depth limit on copying file system trees recursivelyLennart Poettering1-6/+17
2018-06-07copy: extend check for mount point crossingLennart Poettering1-2/+29
2018-06-07copy: only check for traversing mount points on directoriesFilipe Brandenburger1-6/+5
2018-06-04Add macro for checking if some flags are setZbigniew Jędrzejewski-Szmek1-1/+1
2018-04-17basic/copy: fix awkward sentenceZbigniew Jędrzejewski-Szmek1-1/+1
2018-04-13copy: reduce number of checksLennart Poettering1-6/+4
2018-04-13copy: drop _unlikely_() that isn't obviously the caseLennart Poettering1-9/+11
2018-04-13copy: hide in copy_bytes() the strange way splice() handles O_NONBLOCKLennart Poettering1-3/+70
2018-04-13copy: extend copy_bytes() a bitLennart Poettering1-6/+47
2018-04-13copy: tweak reflink logic in copy_bytes() a bitLennart Poettering1-9/+53
2018-04-13copy: add brief comment to copy_bytes() explaining its return valuesLennart Poettering1-0/+4
2018-04-06tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek1-13/+0
2018-02-12copy: wrap some unlink() calls in (void) castsLennart Poettering1-3/+3
2017-11-19Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek1-0/+1
2017-02-21copy: a plain unlink() works here tooLennart Poettering1-1/+1
2017-02-17machined: when copying files from/to userns containers chown to rootLennart Poettering1-25/+74
2017-02-17copy: change the various copy_xyz() calls to take a unified flags parameterLennart Poettering1-25/+25
2017-02-02fs-util: unify code we use to check if dirent's d_name is "." or ".."Lennart Poettering1-1/+1
2016-07-11treewide: fix typos and remove accidental repetition of wordsTorstein Husebø1-1/+1
2016-05-02machined: support non-btrfs file systems with "machinectl clone"Lennart Poettering1-0/+15
2016-05-02copy: adjust directory times after writing to the directoryLennart Poettering1-17/+16
2016-05-02copy: return the right error when we can't open a fileLennart Poettering1-0/+2
2016-04-29copy: also copy AF_UNIX socketsLennart Poettering1-2/+2
2016-04-25util: copy_file_range() returns EBADF when used on a ttyLennart Poettering1-1/+1
2016-04-02basic/copy: remove unnecessary castZbigniew Jędrzejewski-Szmek1-2/+2
2016-04-02test-compress-benchmark: fix argument parsing on 32bitZbigniew Jędrzejewski-Szmek1-1/+1
2016-03-17basic/copy: use copy_file_range()Zbigniew Jędrzejewski-Szmek1-2/+38
2016-03-15basic/copy: use sendfile smarterZbigniew Jędrzejewski-Szmek1-11/+14
2016-02-10tree-wide: remove Emacs lines from all filesDaniel Mack1-2/+0
2015-12-01basic: re-sort includesThomas Hindoe Paaboel Andersen1-1/+1
2015-11-30basic: include only what we useThomas Hindoe Paaboel Andersen1-1/+12
2015-10-27util-lib: split out allocation calls into alloc-util.[ch]Lennart Poettering1-0/+1
2015-10-27util-lib: split out umask-related code to umask-util.hLennart Poettering1-0/+1
2015-10-27util-lib: move a number of fs operations into fs-util.[ch]Lennart Poettering1-0/+1
2015-10-27util-lib: split out file attribute calls to chattr-util.[ch]Lennart Poettering1-0/+1
2015-10-27util-lib: split xattr-related calls into xattr-util.[ch]Lennart Poettering1-0/+1
2015-10-27util-lib: introduce dirent-util.[ch] for directory entry callsLennart Poettering1-0/+1
2015-10-27util-lib: move more file I/O related calls into fileio.[ch]Lennart Poettering1-0/+1
2015-10-26util-lib: split out IO related calls to io-util.[ch]Lennart Poettering1-0/+1
2015-10-25util-lib: split out fd-related operations into fd-util.[ch]Lennart Poettering1-1/+2
2015-10-24util-lib: split our string related calls from util.[ch] into its own file str...Lennart Poettering1-1/+2
2015-09-22copy: make copy_bytes() return whether we hit EOF or notLennart Poettering1-5/+5
2015-09-22copy: be more careful when trying to reflinkLennart Poettering1-1/+5
2015-09-10tree-wide: never use the off_t unless glibc makes us use itLennart Poettering1-8/+8
2015-08-28copy: add splice() based fallbackLennart Poettering1-2/+18