Commits
- Commit:
87c63bee573e61fa75676625e91db4032c3a755f
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
apply time-based rate-limiting to got-index-pack progress output
- Commit:
97799ccd4b67a81f97039305d4fdd66588da9962
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add support for landlock
landlock is a new set of linux APIs that is conceptually similar to
unveil(2): the idea is to restrict what a process can do on a
specified part of the filesystem. There are some differences in the
behaviour: the major one being that the landlock ruleset is inherited
across execve(2).
This just restricts the libexec helpers by completely revoking ANY
filesystem access; after all they are the biggest attack surface. got
send/fetch/clone *may* end up spawning ssh(1), so at the moment is not
possible to landlock the main process.
From Omar Polo.
- Commit:
8c2924d74a7af654f823d4c32c74ab7e4cf5651c
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
plug memory leak in an error path of read_packed_object()
- Commit:
812c68380e543d8814df8169aa1fb47f70e19378
- From:
- Stefan Sperling <stsp@stsp.name>
- Via:
- Thomas Adam <thomas@xteddy.org>
- Date:
fix wrong function names in error messages from got-index-pack.c
- Commit:
92a9e85d28a30997176ce0d3c2915e3ea70782c7
- From:
- Thomas Adam <thomas@xteddy.org>
- Date:
portable: add FreeBSD support
This adds the capability to compile got-portable on FreeBSD.
- Commit:
dd038bc6ec835ad3fd3c0b5303b8af9ad506c8cc
- From:
- Thomas Adam <thomas@xteddy.org>
- Via:
- Thomas Adam <thomas.adam@smoothwall.net>
- Date:
portable: initial Linux compilation
This commit modifies the GoT main branch to be able to compile it under
linux.
- Commit:
d5c81d448ae4eec21053152e1c82c66eb11ca7a4
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
verify object ID checksums while loose objects are being accessed
- Commit:
dbdddfee1482b50ca8c4a0be06e4fec6a59fb9f4
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
switch from SIMPLEQ to equivalent STAILQ macros
The singly-linked tail queue macros were added to OpenBSD 6.9 and
are more widely available on other systems.
ok stsp
- Commit:
85f4e1e7d36a206d3861d49c00e207d3e7fcab80
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
fix the type of variable 'idx' in update_packidx()
- Commit:
6059809a13b5d528052e38f84661039e6565f458
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use size_t for loop indices to avoid signedness warnings; by emaste@freebsd
Same change as 16aeacf7088d, for subdirectories other than lib/
- Commit:
1367695b58142d73ad701f34f04fe45c4ad2782b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
fix potential type mismatches between format specifiers and arguments
Cast printf arguments of type time_t and off_t to long long to match
the %lld format specifier on platforms where this might not be the
case. In parse.y, switch the number variable to long long because
all its interactions are with that type anyway.
ok millert stsp
- Commit:
23c57b285fdcf9a8a0a5913ea096232038bf0ac3
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
Stop including <sys/syslimits.h> directly.
POSIX says the limits defined there are available from <limits.h>,
which almost all affected source files already included anyway.
ok millert stsp
- Commit:
3168e5da215c7b442d231f40bfd61df067505d8b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
zap trailing tabs
- Commit:
78fb09675bee22e8ae24eb8bd9a86d8a04b17a7e
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
use the POSIX standard endian functions and explicitly include <endian.h>
ok stsp
- Commit:
81a12da58651e79380d81dea7020bf6af20bb28b
- From:
- Christian Weisgerber <naddy@mips.inka.de>
- Date:
do not rely on <zlib.h> to pull in <unistd.h>
ok stsp
- Commit:
3abebdc26faf6005af348fa5146420b7cca61437
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got-index-pack check the expected pack checksum passed from main process
- Commit:
6ad68bce3639912fcf7725dbb589febec015788a
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
make got-index-pack compute and verify the pack file's SHA1 checksum
- Commit:
e70bf110de343a3c1fc422b6682f56853686772f
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
move functions from privsep.c to the helpers which use them where possible
- Commit:
d582f26ced34c492facade402975ceabe4c97adc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
write large objects to disk when resolving deltas; raise in-mem delta threshold
- Commit:
18d4da03731dbe5620fbb8f4e37cffaa4d992f74
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
tweak delta cache size in got-index-pack
- Commit:
93bba072c2b45bc5879500248f203610dfa1405b
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
use qsort(3) instead of mergesort(3) to avoid a large spike in memory usage
- Commit:
976846014daddf292e080f2857ae63173f7b1433
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
write CRC info in one chunk rather than calling write(2) once per object
- Commit:
021b0c6fb25d296a1463498da56435aee399dfe9
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
don't forget to send a final progress notification from got-index-pack
- Commit:
5672d305fae0ef2b4e6c9582d45af790a06fa134
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
waste less time on sending progress messages over the privsep pipe
- Commit:
160bbe2e336908947c078a78e3ae58100a38e9fc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
jump right to the index of the first delta