Commit Diff


commit - 3cab8b4df8d788ad4f46443c7cad990cd2f1909d
commit + f0b0c746057e7592d2449bf5c839a5f2aa472659
blob - 7a7a85a25f9d4f084f4143150b87d65af7e4485f
blob + 1932648fb838ffb3fe750b46ae9dd0e9adebae65
--- lib/got_lib_privsep.h
+++ lib/got_lib_privsep.h
@@ -65,7 +65,7 @@ enum got_imsg_type {
 	 * Object and pack files are opened by the main process, where
 	 * data may be read as a byte string but without any interpretation.
 	 * Decompression and parsing of object and pack files occurs in a
-	 * separate process which runs under pledge("stdio").
+	 * separate process which runs under pledge("stdio recvfd").
 	 * This sandboxes our own repository parsing code, as well as zlib.
 	 */
 	GOT_IMSG_OBJECT_REQUEST,
@@ -187,5 +187,3 @@ const struct got_error *got_privsep_send_tree(struct i
     struct got_tree_object *);
 const struct got_error *got_privsep_send_blob(struct imsgbuf *, size_t);
 const struct got_error *got_privsep_recv_blob(size_t *, struct imsgbuf *);
-
-/* TODO: Implement the above, and then add more message data types here. */