rpm-ostree/src/libpriv
Colin Walters 05a59e5af5 core: Don't try to chmod() symlinks
I just noticed this while reading the code. Right now we're actually following
links (since `AT_SYMLINK_NOFOLLOW` isn't implemented), which could definitely
lead to bad things if e.g. one has a symlink pointing to a file which shouldn't
be executable or world-readable etc.

(Also I noticed our hardlink-breaking-only-if-regular logic is now broken;
 I added a TODO)

Closes: #677
Approved by: jlebon
2017-03-13 17:53:51 +00:00
..
libsd-locale-util.c status: Import systemd bits to use UTF-8 circle 2016-06-09 19:33:19 +00:00
libsd-locale-util.h status: Import systemd bits to use UTF-8 circle 2016-06-09 19:33:19 +00:00
rpmostree-bwrap.c bwrap: Don't use --unshare-net in nspawn by default 2017-03-10 17:27:56 +00:00
rpmostree-bwrap.h libpriv: Enhance internal bwrap API 2017-01-11 18:39:26 +00:00
rpmostree-core.c core: Don't try to chmod() symlinks 2017-03-13 17:53:51 +00:00
rpmostree-core.h core: add support for installing from cache 2017-03-10 18:35:11 +00:00
rpmostree-json-parsing.c build: Split up src into app/ and libpriv/ 2015-04-08 16:17:06 -04:00
rpmostree-json-parsing.h build: Split up src into app/ and libpriv/ 2015-04-08 16:17:06 -04:00
rpmostree-kernel.c RpmOstreeOrigin: also cache initramfs args 2017-02-27 19:53:19 +00:00
rpmostree-kernel.h RpmOstreeOrigin: also cache initramfs args 2017-02-27 19:53:19 +00:00
rpmostree-origin.c PkgChange: add support for layering local RPMs 2017-03-10 18:35:11 +00:00
rpmostree-origin.h PkgChange: add support for layering local RPMs 2017-03-10 18:35:11 +00:00
rpmostree-output.c output: support printf type usage 2016-05-27 22:18:44 +00:00
rpmostree-output.h output: support printf type usage 2016-05-27 22:18:44 +00:00
rpmostree-passwd-util.c util: drop custom set_prefix_error_from_errno 2017-02-23 20:57:51 +00:00
rpmostree-passwd-util.h passwd_prepare_rpm_layering: account for local entries 2017-01-08 21:05:06 +00:00
rpmostree-postprocess.c core: add support for installing from cache 2017-03-10 18:35:11 +00:00
rpmostree-postprocess.h postprocess: More fd-relative-ification 2016-11-04 14:59:27 +00:00
rpmostree-refsack.c Update for libhif -> libdnf 2016-08-04 01:10:08 +00:00
rpmostree-refsack.h Update for libhif -> libdnf 2016-08-04 01:10:08 +00:00
rpmostree-refts.c libpriv: Add RpmOstreeRefTs and API to create one from a commit 2015-05-23 09:30:57 -04:00
rpmostree-refts.h Update for libhif -> libdnf 2016-08-04 01:10:08 +00:00
rpmostree-rpm-util.c PkgChange: add support for layering local RPMs 2017-03-10 18:35:11 +00:00
rpmostree-rpm-util.h PkgChange: add support for layering local RPMs 2017-03-10 18:35:11 +00:00
rpmostree-script-gperf.gperf scripts: Ignore glibc-headers.prein and vagrant*.prein 2016-06-29 13:53:42 +00:00
rpmostree-scripts.c scripts: Use tmpfs for /var/tmp, not the host's /tmp 2017-02-28 23:37:15 +00:00
rpmostree-scripts.h build: Deal with gperf 3.1 changing to size_t 2017-02-17 18:51:53 +00:00
rpmostree-unpacker.c PkgChange: add support for layering local RPMs 2017-03-10 18:35:11 +00:00
rpmostree-unpacker.h PkgChange: add support for layering local RPMs 2017-03-10 18:35:11 +00:00
rpmostree-util.c PkgChange: add support for layering local RPMs 2017-03-10 18:35:11 +00:00
rpmostree-util.h PkgChange: add support for layering local RPMs 2017-03-10 18:35:11 +00:00