summaryrefslogtreecommitdiff
path: root/src/database.c
AgeCommit message (Expand)AuthorFilesLines
2022-02-03database: fix apk_db_cache_active returning true when cache not configuredAriadne Conill1-1/+1
2022-01-17package: fail on invalid control dataTimo Teräs1-2/+7
2021-12-29database: refactor mounting and unmounting /procAriadne Conill1-19/+44
2021-12-29database: relocate find_mountpoint()Ariadne Conill1-29/+29
2021-12-29database: refactor cache remountingAriadne Conill1-5/+15
2021-12-29database: refactor tmpfs root detection and cache setupAriadne Conill1-39/+73
2021-12-29database: isolate linux-specific mountpoint headersAriadne Conill1-5/+8
2021-12-29database: use SA_RESETHAND instead of SA_ONESHOT when registering a SIGALRM h...Ariadne Conill1-1/+1
2021-12-29use fstatat, not fstatat64Ariadne Conill1-3/+3
2021-12-29apk: add --preserve-env optionPaul Spooren1-2/+2
2021-12-14everywhere: use stdlib.h for malloc(3) definition, not GNU-specific malloc.hAriadne Conill1-1/+0
2021-12-03db: convert v3 scripts to ipkg on installTimo Teräs1-1/+18
2021-11-22db: synthesize symlink hashes for v3 packagesTimo Teräs1-11/+17
2021-11-22db: fix regression in creating .apk-new filesTimo Teräs1-3/+3
2021-11-15db: lazy create directories with --initdbTimo Teräs1-87/+51
2021-11-15fix fetching of depdencies only packagesTimo Teräs1-14/+9
2021-11-09database: support loading v3 indexesTimo Teräs1-0/+25
2021-11-09database: implement uvol supportTimo Teräs1-134/+74
2021-11-03db: purge temporary files without explicit modification checkTimo Teräs1-1/+2
2021-11-03extract: move uvol extraction code to extractTimo Teräs1-2/+3
2021-11-03db, extract: handle waitpid returning EINTRTimo Teräs1-1/+1
2021-11-03db, audit: support sha256-160 hashes for v3 pkg compatTimo Teräs1-5/+12
2021-10-27db, add: support adding v3 package filesTimo Teräs1-1/+39
2021-08-23remove IS_ERR_OR_NULLTimo Teräs1-4/+4
2021-08-23db: honor SOURCE_DATE_EPOCH for scriptdbTimo Teräs1-2/+0
2021-07-27Further refactor extract API to have separate ops vtableTimo Teräs1-52/+44
2021-07-27Refactor .apk extraction codeTimo Teräs1-80/+41
2021-07-26db: add some error checking to database state writeTimo Teräs1-39/+50
2021-07-26db: fix installed db writing with long namesSamanta Navarro1-5/+10
2021-07-23db: allow read-only operations without cacheTimo Teräs1-3/+6
2021-07-22io: formalize apk_ostream_write() always writing full dataTimo Teräs1-9/+9
2021-07-22rework apk_istream_splice and apk_istream_teeTimo Teräs1-50/+28
2021-07-22io: rework apk_istream_get_* to not return erros in blob valueTimo Teräs1-16/+16
2021-06-21db: check syscall errors in update_permissions()Timo Teräs1-5/+18
2021-06-19reduce misuse of error codes from errno.hTimo Teräs1-4/+4
2021-06-11extract: new applet to extract v2 packagesTimo Teräs1-2/+2
2021-06-11add basic abstraction for cryptographic operationsTimo Teräs1-27/+42
2021-03-19database: do not chroot(".") unless actually necessaryAriadne Conill1-2/+12
2021-02-07db: fix control character check to use uint8_tTimo Teräs1-2/+2
2021-02-04db: consider control characters in filename as maliciousTimo Teräs1-11/+19
2021-01-14database.c: Fixed package DESCRIPTION parsingthibault.ferrante1-0/+1
2021-01-11database: Propagate errors when loading an APKINDEXthibault.ferrante1-6/+7
2020-10-09rename adb_trust to apk_trust, and use it as package signature keystore tooTimo Teräs1-6/+3
2020-10-09make apk_database optional for applets that don't need itTimo Teräs1-35/+7
2020-10-09rename apk_db_options to apk_ctx, rework loggingTimo Teräs1-129/+129
2020-10-09make apk_flags non-global, make progress printing state non-globalTimo Teräs1-17/+17
2020-10-09make apk_force non-global, remove left-over apk_archTimo Teräs1-10/+11
2020-10-09db: convert repository list to a string arrayTimo Teräs1-3/+4
2020-10-09io: make ostream_file always use tmpnameTimo Teräs1-30/+5
2020-10-09adb: introduce apk-tools database format, and few appletsTimo Teräs1-0/+8