cosmopolitan/third_party/zip
Justine Tunney 133c693650 Work around Landlock output inode in compile.com
This change fixes Landlock Make so that only the output target file is
unveiled, rather than unveiling the directory that contains it. This
gives us a much stronger sandbox. It also helped identify problematic
build code in our repo that should have been using o/tmp instead.

Landlock isn't able to let us unveil files that don't exist. Even if
they do, then once a file is deleted, the sandboxing for it goes away.
This caused problems for Landlock Make because tools like GNU LD will
repeatedly delete and recreate the output file. This change uses the
compile.com wrapper to ensure on changes happen to the output inode.

New binary available on https://justine.lol/make/

Fixes #528
2022-08-09 07:55:44 -07:00
..
api.h Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
crc32.c Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
crc32.h Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
crypt.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
crypt.h Prove that Makefile is fully defined 2022-08-06 04:05:08 -07:00
crypt_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
deflate.c Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
fileio.c Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
fileio_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
globals.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
LICENSE Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
osdep.h Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
README.cosmo Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
revision.h Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
tailor.h Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
timezone.c Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
timezone.h Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
trees.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
ttyio.c Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
ttyio.h Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
unix.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
unix_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
util.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
util_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
zbz2err.c Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
zip.c Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
zip.h Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
zip.mk Work around Landlock output inode in compile.com 2022-08-09 07:55:44 -07:00
zipcloak.c Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
ziperr.h Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
zipfile.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
zipfile_.c Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
zipnote.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
zipsplit.c Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00
zipup.c Revert whitespace fixes to third_party (#501) 2022-07-21 21:46:07 -07:00
zipup.h Flatten InfoZIP directory and fix build issues 2022-04-20 22:40:33 -07:00

zip utility from Info-ZIP:

http://infozip.sourceforge.net/Zip.html

source code obtained as zip30.tar.gz from:

https://sourceforge.net/projects/infozip/files/