commit 17c10c65d18de23daf7b7759aa0bc5f745fb84b3 from: Omar Polo date: Mon Jul 12 18:29:13 2021 UTC (process) network -> net rename commit - 5caf7d677eb49100dd1522236bcc51b92af5de12 commit + 17c10c65d18de23daf7b7759aa0bc5f745fb84b3 blob - dd48075995c32948a8f2168e23404814ca966cc1 blob + 65cfc482332d0226e5db475c9eeca9d9d607f5dd --- gemini.c +++ gemini.c @@ -589,7 +589,7 @@ client_main(void) event_set(&imsgev, ibuf->fd, EV_READ | EV_PERSIST, handle_dispatch_imsg, ibuf); event_add(&imsgev, NULL); - sandbox_network_process(); + sandbox_net_process(); event_dispatch(); return 0; blob - 3a18f3c466982fafb2d0d4480a63006e8548207b blob + dc6d742cbcde8d75ac4bf8eb9c10ee2b3a60eec7 --- sandbox.c +++ sandbox.c @@ -24,7 +24,7 @@ # include void -sandbox_network_process(void) +sandbox_net_process(void) { if (pledge("stdio inet dns", NULL) == -1) err(1, "pledge"); @@ -64,7 +64,7 @@ sandbox_fs_process(void) #warning "No sandbox for this OS" void -sandbox_network_process(void) +sandbox_net_process(void) { return; } blob - ab78b5c149238a9964b489ab5c4e0f8839c4c53c blob + 3a5e9032c73ddc1d011e95b68f1361f62e2d7bbc --- telescope.c +++ telescope.c @@ -737,7 +737,7 @@ usage(int r) int main(int argc, char * const *argv) { - struct imsgbuf network_ibuf, fs_ibuf; + struct imsgbuf net_ibuf, fs_ibuf; int net_fds[2], fs_fds[2]; int ch, configtest = 0, fail = 0; int has_url = 0; @@ -827,8 +827,8 @@ main(int argc, char * const *argv) if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, net_fds) == -1) err(1, "socketpair"); start_child(PROC_NET, argv0, net_fds[1]); - imsg_init(&network_ibuf, net_fds[0]); - netibuf = &network_ibuf; + imsg_init(&net_ibuf, net_fds[0]); + netibuf = &net_ibuf; setproctitle("ui"); blob - 240cde0f57e729191bb9dd2071f85561d1d1026c blob + 1384bbb676be2cec810813e94257bcbe9b8ff103 --- telescope.h +++ telescope.h @@ -356,7 +356,7 @@ extern const char *err_pages[70]; void parseconfig(const char *, int); /* sandbox.c */ -void sandbox_network_process(void); +void sandbox_net_process(void); void sandbox_ui_process(void); void sandbox_fs_process(void);