6 years ago 2967a784ac Stefan Sperling
verify size of blob received from privsep child
6 years ago ff6b18f831 Stefan Sperling
read blobs through privsep
6 years ago 068fd2bf0c Stefan Sperling
give some privsep functions shorter names
6 years ago 1e51f5b9ba Stefan Sperling
in got_privsep_recv_tree_obj() free tree upon imsg_read() error
6 years ago 052d4dc305 Stefan Sperling
read tree names from imsg at the right offset
6 years ago e033d80370 Stefan Sperling
read tree objects with privsep
6 years ago 86acc5664b Stefan Sperling
don't transform sha1 to string and back for icommits
6 years ago bff6ca00c7 Stefan Sperling
read commit objects with privsep
6 years ago 5d43e84d91 Stefan Sperling
don't proceed after errors in got_privsep_send_error()
6 years ago fe36cf7631 Stefan Sperling
create recv_one_imsg() helper
6 years ago c4eae628f4 Stefan Sperling
create recv_imsg_error helper function
6 years ago 94fbf93add Stefan Sperling
unpriv process doesn't know the actual object id
6 years ago 8c580685ac Stefan Sperling
treat unexpected message from unpriv processes as error
6 years ago 8aac89a7e0 Stefan Sperling
handle errno errors correctly in got_privsep_recv_obj()
6 years ago 2178c42edf Stefan Sperling
read object headers with privsep