lib/privsep.c


Log

Author Commit Date CI Message
Stefan Sperling ca6e02ac 2020-01-07T11:14:52 add support for first-parent history traversal to got-read-pack
Stefan Sperling 5aa81393 2020-01-06T19:38:23 add copyright year for files already touched in 2020
Stefan Sperling cbfaaf20 2020-01-06T12:15:54 add missing check for errors from imsg_get()
Stefan Sperling cd95becd 2019-11-29T02:46:04 parse remotes from gitconfig
Stefan Sperling 56e0773d 2019-11-28T02:32:58 convert tree entries from SIMPLEQ to an array
Stefan Sperling cd9e913a 2019-11-27T01:34:30 pre-allocate the correct amount of memory in got_privsep_send_tree()
Stefan Sperling 3b647085 2019-11-23T21:03:29 plug leaks in error paths of got_privsep_send_tree()
Stefan Sperling 7f358e3b 2019-11-23T21:03:29 eliminate redundant memcpy in got_privsep_send_tree_req()
Stefan Sperling 3022d272 2019-11-14T17:12:32 reduce the amount of memcpy() and strdup() while parsing tree entries
Stefan Sperling aa6c0b51 2019-09-22T10:35:16 remove unused variable in got_privsep_recv_obj() (patch by Steven McDonald)
Stefan Sperling aba9c984 2019-09-08T17:14:34 obtain repo format version and commit author name/email from .git/config
Stefan Sperling c39c25dd 2019-08-09T14:35:32 improve error message if helper binaries fail to unveil(2)
Stefan Sperling 638f9024 2019-05-13T12:40:57 rename got_error_prefix_errno() to got_error_from_errno()
joshua stein 656b1f76 2019-05-11T14:26:12 while (1) -> for (;;)
joshua stein 230a42bd 2019-05-11T13:04:38 got_error_from_errno -> got_error_prefix_errno also add got_error_prefix_errno2 and got_error_prefix_errno3 which should hopefully all be merged into a single function with variadic args (but can't alloc mem)
Stefan Sperling 2cb49fa8 2019-05-10T19:41:58 revert eb73a30f7effc51c1cfee2864102635e3659f87a Not waiting for children can make us blow the fork() ulimit with lingering zombies; the Ctrl-C issue will need some other fix.
Stefan Sperling eb73a30f 2019-03-07T13:00:23 do not deadlock in waitpid() when user hits Ctrl-C
Stefan Sperling 41496140 2019-02-21T15:17:36 prevent double-close(2) of file descriptors passed in imsg
Stefan Sperling 5d56da81 2019-01-13T17:15:53 happy new copyright year
Stefan Sperling ac544f8c 2019-01-13T15:58:39 pass smallish blobs directly via imsg buffer
Stefan Sperling 63219cd2 2019-01-04T17:25:09 use unveil(2) in 'got checkout'
Stefan Sperling a7403916 2018-12-24T14:33:38 wrap overlong line
Stefan Sperling aea5f015 2018-12-24T14:29:50 drop dead code from got_privsep_send_obj_req()
Stefan Sperling ebc55e2d 2018-12-24T14:18:56 eliminate got_object_open() round-trip when opening blobs
Stefan Sperling 268f7291 2018-12-24T11:18:58 eliminate got_object_open() round-trip when opening tags
Stefan Sperling 13c729f7 2018-12-24T09:35:07 eliminate got_object_open() round-trip when opening trees
Stefan Sperling 1785f84a 2018-12-23T23:15:42 eliminate got_object_open() round-trip when opening commits
Stefan Sperling f4a881ce 2018-11-17T16:04:05 more support for tag objects; new code is not yet reachable
Stefan Sperling 73b7854a 2018-11-11T15:13:06 handle error imsg directly in got_privsep_recv_imsg()
Stefan Sperling 46de5bfd 2018-11-11T15:10:33 wrap overlong line
Stefan Sperling e93cd828 2018-11-11T15:03:21 fix imsg_compose() error check in got_privsep_send_error()
Stefan Sperling b9c33926 2018-11-07T08:59:06 avoid unnecessary memcpy in got_privsep_send_commit()
Stefan Sperling a58a49db 2018-11-07T08:50:59 avoid unnecessary memcpy in got_privsep_send_tree()
Stefan Sperling c3b78ecc 2018-11-07T08:24:04 no need to zero tree during allocation in got_privsep_recv_tree()
Stefan Sperling 291624d8 2018-11-07T08:21:38 kill more unnecessary memcpy in privsep.c
Stefan Sperling c0588d8d 2018-11-07T08:00:51 avoid unnecessary memcpy in got_privsep_recv_tree()
Stefan Sperling 5df4932d 2018-11-05T18:25:15 improve handling of struct got_object_qid allocations
Stefan Sperling ccb26ccd 2018-11-05T16:16:35 avoid a call to mktime() in commit graph's add_node()
Stefan Sperling 41fa1437 2018-11-05T15:30:15 back out mini-commits; no significant performance difference
Stefan Sperling 710f3f4e 2018-11-05T15:26:18 make got-read-pack pre-seed the main process mini commit cache
Stefan Sperling 05e1230b 2018-11-05T12:42:03 rename got_commit_object_mini to got_mini_commit_object
Stefan Sperling 7762fe12 2018-11-05T11:46:30 add a mini-commit object for use by commit graph
Stefan Sperling 6eb07a17 2018-11-04T22:09:59 fix imsg limit calculation in got_privsep_send_tree()
Stefan Sperling b00c9821 2018-11-04T21:37:28 avoid unnecessary imsg flushing in got_privsep_send_tree()
Stefan Sperling 904df868 2018-11-04T21:31:51 avoid unnecessary imsg_flush() in got_privsep_send_commit()
Stefan Sperling fa4ffeb3 2018-11-04T19:59:47 properly flush imsg in send_commit_logmsg()
Stefan Sperling 18336eed 2018-11-04T14:29:05 fix error check in got_privsep_recv_blob()
Stefan Sperling 106807b4 2018-09-15T20:57:10 make object caching actually work in got-read-pack
Stefan Sperling 3840f4c9 2018-09-13T00:06:12 fix "rpath" pledge violation in got-read-pack
Stefan Sperling c75f7264 2018-09-11T12:57:03 support commit log messages larger than the maximum imsg size
Stefan Sperling c59b3346 2018-09-11T12:29:46 stop sending deltas in imsg; cache deltas in got-read-pack
Stefan Sperling 55da3778 2018-09-10T18:39:31 read packed blobs with privsep
Stefan Sperling e7885405 2018-09-10T17:26:06 read packed trees with privsep
Stefan Sperling cfd633c2 2018-09-10T17:07:59 read packed commits with privsep
Stefan Sperling d6bda086 2018-09-10T13:10:30 send deltas when requesting packed object extraction
Stefan Sperling 876c234b 2018-09-10T12:30:47 start reading pack files with privsep; still WIP
Stefan Sperling ad242220 2018-09-08T16:40:28 implement fork+exec (and by the way, fix the build...)
Stefan Sperling a440fac0 2018-09-06T17:33:13 move object parsing code into a separate file
Stefan Sperling 63581804 2018-07-09T22:23:00 rename zbuf to inflate
Stefan Sperling 883f0469 2018-06-23T17:57:39 make struct got_tree_object opaque
Stefan Sperling 788c352e 2018-06-16T19:18:32 store commit timestamps as 'struct tm' in UTC
Stefan Sperling 79f35eb3 2018-06-11T03:09:27 rename got_parent_id to got_object_qid; better generic name
Stefan Sperling 6c281f94 2018-06-11T02:14:44 show timezone offset in 'got log'
Stefan Sperling ef530fe5 2018-06-11T01:45:42 make commit timestamps work across privsep
Stefan Sperling 2967a784 2018-04-24T13:30:34 verify size of blob received from privsep child
Stefan Sperling ff6b18f8 2018-04-24T12:50:21 read blobs through privsep
Stefan Sperling 068fd2bf 2018-04-24T12:27:59 give some privsep functions shorter names
Stefan Sperling 1e51f5b9 2018-04-23T18:59:39 in got_privsep_recv_tree_obj() free tree upon imsg_read() error
Stefan Sperling 052d4dc3 2018-04-23T18:45:48 read tree names from imsg at the right offset
Stefan Sperling e033d803 2018-04-23T18:30:26 read tree objects with privsep
Stefan Sperling 86acc566 2018-04-23T16:39:36 don't transform sha1 to string and back for icommits
Stefan Sperling bff6ca00 2018-04-23T15:38:35 read commit objects with privsep
Stefan Sperling 5d43e84d 2018-04-23T07:04:30 don't proceed after errors in got_privsep_send_error()
Stefan Sperling fe36cf76 2018-04-23T07:01:14 create recv_one_imsg() helper
Stefan Sperling c4eae628 2018-04-23T06:55:08 create recv_imsg_error helper function
Stefan Sperling 94fbf93a 2018-04-22T15:48:01 unpriv process doesn't know the actual object id
Stefan Sperling 8c580685 2018-04-22T15:40:59 treat unexpected message from unpriv processes as error
Stefan Sperling 8aac89a7 2018-04-22T14:55:10 handle errno errors correctly in got_privsep_recv_obj()
Stefan Sperling 2178c42e 2018-04-22T14:51:49 read object headers with privsep