summaryrefslogtreecommitdiff
path: root/src/basic/copy.c
Commit message (Expand)AuthorAgeFilesLines
* copy: teach copy_file() that a mode=-1 call means "take mode from original file"Lennart Poettering2020-12-021-2/+16
* tree-wide: update "that that"Yu Watanabe2020-11-181-1/+1
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* Merge pull request #17055 from keszybz/two-coverity-fixesYu Watanabe2020-09-151-1/+1
|\
| * basic/copy: vodify unlinkat() callZbigniew Jędrzejewski-Szmek2020-09-141-1/+1
* | tree-wide: fix typos found by codespellFrantisek Sumsal2020-09-141-1/+1
|/
* copy: optionally, reproduce hardlinks from source in destinationLennart Poettering2020-09-091-12/+236
* copy: add copy_access() helper for copying access modeLennart Poettering2020-08-111-0/+15
* *: convert amenable fdopendir() calls to take_fdopendir()Vito Caputo2020-03-311-2/+2
* copy: add flag COPY_MAC_CREATE to create with correct labelChristian Göttsche2019-11-281-2/+58
* copy: port over to flistxattr_malloc() and fgetxattr_malloc()Lennart Poettering2019-11-191-51/+17
* tree-wide: drop stat.h or statfs.h when stat-util.h is includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop time.h when time-util.h is includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop dirent.h when dirent-util.h is includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop string.h when string-util.h or friends are includedYu Watanabe2019-11-041-1/+0
* tree-wide: drop missing.hYu Watanabe2019-10-311-1/+1
* copy: optionally check for SIGINT regularly, and abort operation safelyLennart Poettering2019-07-171-1/+34
* tree-wide: replace strjoin() with path_join()Yu Watanabe2019-06-211-1/+1
* util-lib: when copying files make sure to apply some chattrs early, some lateLennart Poettering2019-03-281-4/+12
* copy: don't synthesize a 'user.crtime_usec' xattr on copy unless explicitly r...Lennart Poettering2019-03-011-5/+8
* copy: Add a COPY_MERGE_EMPTY flag to merge only if the target is emptyRyan Gonzalez2019-01-081-7/+21
* util-lib: split out all temporary file related calls into tmpfiles-util.cLennart Poettering2018-12-021-1/+1
* Split out part of mount-util.c into mountpoint-util.cZbigniew Jędrzejewski-Szmek2018-11-291-1/+1
* copy: remove reflinking debug messageLennart Poettering2018-11-261-2/+0
* copy: support getting progress feedback from the various copy functionsLennart Poettering2018-11-261-22/+94
* tree-wide: replace 'unsigned int' with 'unsigned'Yu Watanabe2018-10-191-1/+1
* chattr: optionally, return the old flags when updating themLennart Poettering2018-10-081-2/+2
* Merge pull request #9274 from poettering/comment-header-cleanupZbigniew Jędrzejewski-Szmek2018-06-141-5/+0
|\
| * tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-3/+0
| * tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
* | Merge pull request #9199 from poettering/copy-file-atomicZbigniew Jędrzejewski-Szmek2018-06-141-12/+36
|\ \ | |/ |/|
| * copy: rework copy_file_atomic() to copy the specified file via O_TMPFILE if p...Lennart Poettering2018-06-071-12/+36
* | copy: put a depth limit on copying file system trees recursivelyLennart Poettering2018-06-071-6/+17
* | copy: extend check for mount point crossingLennart Poettering2018-06-071-2/+29
* | copy: only check for traversing mount points on directoriesFilipe Brandenburger2018-06-071-6/+5
|/
* Add macro for checking if some flags are setZbigniew Jędrzejewski-Szmek2018-06-041-1/+1
* basic/copy: fix awkward sentenceZbigniew Jędrzejewski-Szmek2018-04-171-1/+1
* copy: reduce number of checksLennart Poettering2018-04-131-6/+4
* copy: drop _unlikely_() that isn't obviously the caseLennart Poettering2018-04-131-9/+11
* copy: hide in copy_bytes() the strange way splice() handles O_NONBLOCKLennart Poettering2018-04-131-3/+70
* copy: extend copy_bytes() a bitLennart Poettering2018-04-131-6/+47
* copy: tweak reflink logic in copy_bytes() a bitLennart Poettering2018-04-131-9/+53
* copy: add brief comment to copy_bytes() explaining its return valuesLennart Poettering2018-04-131-0/+4
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
* copy: wrap some unlink() calls in (void) castsLennart Poettering2018-02-121-3/+3
* Add SPDX license identifiers to source files under the LGPLZbigniew Jędrzejewski-Szmek2017-11-191-0/+1
* copy: a plain unlink() works here tooLennart Poettering2017-02-211-1/+1
* machined: when copying files from/to userns containers chown to rootLennart Poettering2017-02-171-25/+74
* copy: change the various copy_xyz() calls to take a unified flags parameterLennart Poettering2017-02-171-25/+25
* fs-util: unify code we use to check if dirent's d_name is "." or ".."Lennart Poettering2017-02-021-1/+1