Commit Briefs

17431c138a Thomas Adam

improve error message due to malformed `author' in got.conf

tweak and ok stsp@


84bf00a657 Thomas Adam

improve 'got add' error message if file does not exist; reported by Timo Myyrä

ok tracey


9b31ed6506 Thomas Adam

fix loose object file header parser for zero-length headers

ok millert tracey



a75b210eed Omar Polo

dropping unused includes


9cefc4c1a6 Omar Polo

fix landlock usage: handled_access_fs must list all actions

The ruleset's handled_access_fs has to list all the defined actions because otherwise missing ones are implicitly permitted. Thus, the previous version ended up allowing "almost everything" except reading files. Original diff from Mickaël Salaün, thanks! ok thomas


5e997b0139 Omar Polo

s/ENOTSUP/EOPNOTSUPP/

linux defines these errors to the same values, but the landlock doc uses `EOPNOTSUPP' consistently. Spotted initially by brynet@ and reminded by Mickaël Salaün, thanks! ok thomas


97799ccd4b Thomas Adam

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.


1f480907e2 Thomas Adam

fix 'got status' reporting all directories on NFS mounts as unversioned

Problem found and fix tested by Ted Bullock. ok millert, naddy




d5a18aced0 Thomas Adam

make 'got rm' report an "unexpected status" error for unversioned files

ok millert@


d64cc78a32 Thomas Adam

make 'got rm' behave like rm(1) for paths found missing on disk

ok millert@


0526966e98 Thomas Adam

style


81135670fc Thomas Adam

unbreak gotweb index when pack files are missing



2183bbf63d Thomas Adam

show rebase and histedit backups in tog ref view

ok naddy



d94c35b08c Thomas Adam

add missing error check in got_inflate_to_mem_mmap()


89425ac308 Thomas Adam

Release 0.66 (tags/0.66)



1def799764 Thomas Adam

bump version number


d3b6e44e1a Thomas Adam

CHANGES for 0.66


b490237f80 Thomas Adam

fix file corruption regression in 'got checkout' caused by commit db696021

got-read-pack must rewind its files temporary files before reusing them. Problem reported by naddy ok tracey naddy