summaryrefslogtreecommitdiff
path: root/src/io.c
AgeCommit message (Expand)AuthorFilesLines
2023-04-12use fstatat, not fstatat64Ariadne Conill1-2/+2
2023-04-11io: make apk_blob_from_* return errorTimo Teräs1-18/+25
2023-04-11io: harden apk_fileinfo_getTimo Teräs1-5/+3
2021-12-20io.c: add missing limits.hPaul Spooren1-0/+1
2021-12-14everywhere: use stdlib.h for malloc(3) definition, not GNU-specific malloc.hAriadne Conill1-1/+0
2021-07-23db: allow read-only operations without cacheTimo Teräs1-0/+17
2021-04-11io_archive: add bounds limit for uname and gname tar header fieldsTimo Teräs1-6/+6
2021-04-11io: fix fd leak in error handling pathsTimo Teräs1-5/+20
2021-02-07io: Handle really long linesOlliver Schinagl1-1/+1
2021-01-11io: Handle long linesthibault.ferrante1-1/+1
2021-01-11database: Propagate errors when loading an APKINDEXthibault.ferrante1-5/+13
2020-05-19make the atom functions not use global stateTimo Teräs1-7/+4
2020-05-07use SPDX-License-Identifier in source filesTBK1-3/+1
2020-02-14io: add stream copy helperTimo Teräs1-4/+30
2020-01-25don't ignore md parameter to apk_fileinfo_hash_xattr_array()Reid Rankin1-1/+1
2020-01-11io: use min() instead of MIN()Timo Teräs1-5/+4
2020-01-11io: convert bstream mmap to istream, remove the now obsolete bstream machineryTimo Teräs1-197/+65
2020-01-11convert remaining locations to use istream instead of bstreamTimo Teräs1-87/+110
2020-01-11istream, archive, db: convert db and tar function to use istreamTimo Teräs1-7/+157
2020-01-11istream: add buffering capabilityTimo Teräs1-33/+47
2020-01-06io: remove the now unused pid association with istreamTimo Teräs1-21/+6
2020-01-06io: remove unused size parameter from bstream closeTimo Teräs1-32/+22
2019-12-18io: use proper base struct types for method implementationsTimo Teräs1-50/+33
2018-10-30fix xattr hash to be sha1Timo Teräs1-1/+1
2018-10-26add support for openssl 1.1Timo Teräs1-19/+26
2018-01-04enable automatic update of indexes controlled by --cache-max-ageTimo Teräs1-5/+7
2017-10-12io: fix skip and splice to detect unexpected end-of-fileTimo Teräs1-28/+19
2017-08-23fix comparison of unsigned expression < 0 is always falseDmitry Golovin1-3/+5
2017-06-23io: make io vtables const struct, and add accessors for themTimo Teräs1-36/+58
2017-02-15add support for pre and post commit hooksHenrik Riomar1-3/+4
2015-11-09io, database: preserve [am]time for cached and fetched filesTimo Teräs1-0/+58
2015-10-08io: fix posix_fallocate failure handlingNatanael Copa1-1/+1
2015-09-03io: use posix_fallocate to allocate disk spaceTimo Teräs1-3/+8
2015-06-12fix bstream_from_fd to use mmap when availableTimo Teräs1-1/+2
2015-05-26detect failures in writing to file during final flush of buffersAlex Dowad1-1/+3
2015-04-22io: fix compiler error by including stdint.hAlex Dowad1-0/+1
2015-04-13fix tee io error handlingTimo Teräs1-3/+5
2015-04-08use memmove for copying buffer leftovers, as the ranges may overlapTimo Teräs1-1/+1
2015-04-08unbreak audit after xattr supportTimo Teräs1-2/+1
2015-04-08audit xattrsTimo Teräs1-27/+71
2015-03-11calculate and store checksum of xattrsTimo Teräs1-0/+36
2015-03-10rename file info related functions for consistencyTimo Teräs1-3/+3
2015-03-10extract xattrs from packagesTimo Teräs1-0/+5
2015-03-10rework error handling for write streamsTimo Teräs1-7/+4
2015-03-10rework error handling for read streamsTimo Teräs1-12/+11
2015-01-30remove support for old database location in /varTimo Teräs1-31/+0
2014-10-08io,url,db: support for if-modified-sinceTimo Teräs1-17/+12
2014-10-07io: fix few error path leaksTimo Teräs1-2/+7
2013-07-04io: use fget{pw,gr}ent_r only on uclibc and glibcTimo Teräs1-4/+23
2013-06-17io: get rid of APK_PROGRESS_SCALETimo Teräs1-2/+2