- 06 Sep, 2018 1 commit
-
-
Timo Teräs authored
(cherry picked from commit ca368916)
-
- 23 Jun, 2017 2 commits
-
-
Timo Teräs authored
Detect properly if the file stream gets an error during these read operations. Reported-by: Ariel Zelivansky from Twistlock (cherry picked from commit cd531aef3033475c26f29a1f650a3bf392cc2daa)
-
Timo Teräs authored
The value from tar header is unsigned int; keep it casted to unsigned int and size_t instead of (signed) int, otherwise the comparisons fail to do their job properly. Additionally check entry.size against SSIZE_MAX so the rounding up later on is guaranteed to not overflow. Fixes CVE-2017-9669 and CVE-2017-9671. Reported-by: Ariel Zelivansky from Twistlock (cherry picked from commit 286aa77ef1811e477895713df162c92b2ffc6df8)
-
- 09 Feb, 2016 1 commit
-
-
Timo Teräs authored
don't overwrite the link_target if it was found from pax header. ref #5076
-
- 09 Nov, 2015 1 commit
-
-
Timo Teräs authored
preserve [am]time for all packages and indexes. this fixes the caching error that 'apk update' is after new index is generated, but before the used mirror is synchronized. this caused local apkindex timestamp to be newer than file in mirror, when in fact it was outdated index. this also fixes fetched files to have build timestamp so that files going to .iso or custom images have proper timestamps (rsync with appropriate --modify-window now works)
-
- 17 Apr, 2015 3 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
there's no nice syscall to manipulate xattrs with atfd and or open the symlink without dereferencing it (and having fd that we can do xattrs with)
-
Timo Teräs authored
user xattrs on tmpfs are not supported no non-grsec kernels, and many times root fs is mounted without user_xattr. Thus to allow things to go smoothly on non-grsec kernels xattr unsupported errors are now hidden. xattrs can be fixed still now with "apk fix --xattrs"
-
- 11 Mar, 2015 1 commit
-
-
Timo Teräs authored
ref #3027
-
- 10 Mar, 2015 2 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
ref #3027
-
- 01 Nov, 2014 1 commit
-
-
Timo Teräs authored
-
- 20 Sep, 2013 1 commit
-
-
Timo Teräs authored
-
- 28 Jun, 2013 1 commit
-
-
Dubiousjim authored
Acked-by:
Natanael Copa <ncopa@alpinelinux.org>
-
- 17 Jun, 2013 1 commit
-
-
Timo Teräs authored
no need to muldiv all the time, just pass the current amount of bytes done, and let callbacks use that directly.
-
- 18 Apr, 2013 1 commit
-
-
Pierre Carrier authored
-
- 13 Sep, 2011 1 commit
-
-
Timo Teräs authored
-
- 08 Oct, 2010 1 commit
-
-
Timo Teräs authored
Otherwise we end up using wrong uid/gid mappings when doing install to alternate system root. Fixes #434.
-
- 23 Sep, 2010 1 commit
-
-
Timo Teräs authored
the uid and gid are used in other places than just changing file ownership on extraction.
-
- 30 Aug, 2010 1 commit
-
-
Natanael Copa authored
Seems like recent eglibc requires that you include sys/stat.h
-
- 12 Jun, 2010 1 commit
-
-
Timo Teräs authored
Take the uid/gid from passwd and group.
-
- 11 Jun, 2010 2 commits
-
-
Timo Teräs authored
-
Natanael Copa authored
-
- 21 Dec, 2009 1 commit
-
-
Timo Teräs authored
turns out the logic does not work with overlays as expected due to busybox symlinks being unmanaged. remove the useless option.
-
- 06 Nov, 2009 2 commits
-
-
Timo Teräs authored
otherwise we always extract the file as .apk-new and the database side just overwrites.
-
Timo Teräs authored
to never ever overwrite a while in the filesystem the user knows about. it gives the impression of extraction succeeding even though nothing was done. this is inteded to be used only for bootstrapping with overlay.
-
- 03 Sep, 2009 1 commit
-
-
Timo Teräs authored
ability embed description information to repository indexes (e.g. repository name and version) and show it via "apk version -I".
-
- 11 Aug, 2009 2 commits
-
-
Timo Teräs authored
and take checksums for symlinks too.
-
Timo Teräs authored
-
- 03 Aug, 2009 1 commit
-
-
Natanael Copa authored
We need the define for uint16
-
- 31 Jul, 2009 1 commit
-
-
Timo Teräs authored
this way we never change cwd, and relative filenames are always parsed consistently. this also helps filename construction in many places. this patch also changes '--root' to override location of all configuration to be in the new root. previously it depended on the file which one was used.
-
- 30 Jul, 2009 1 commit
-
-
Timo Teräs authored
apparently it needs to have both PROT_READ and PROT_WRITE. and it needs to be MAP_SHARED for the writing to be effective. oh, and the data needs to be preallocated with ftruncate; otherwise, one gets SIGBUS.
-
- 29 Jul, 2009 2 commits
-
-
Timo Teräs authored
and force checksumming only when unpacking archive. otherwise it's extra computation for nothing.
-
Timo Teräs authored
otherwise bad things happens. avoid this be checking end of stream at the beginning of read.
-
- 23 Jul, 2009 1 commit
-
-
Natanael Copa authored
Otherwise will link(2) fail since it does not exist.
-
- 22 Jul, 2009 2 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
- extract everything as .apk-new and overwrite only after data has been checksummed - url construction fixes (to work with simple http servers) - end of gunzip stream fixed - remove oneshot digesting flag for now as it's usage was broken
-
- 21 Jul, 2009 3 commits
-
-
Timo Teräs authored
-
Timo Teräs authored
-
Timo Teräs authored
-