We don't need to pledge tty anymore since 65f998f - geomyidae - A small C-based gopherd. HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit dd3f998b716d869d25af0df0d94685d56e882bd1 DIR parent 3dfa0e1271ad78774a06452913fb30aa0bf25eb0 HTML Author: Quentin Rameau <quinq@fifth.space> Date: Wed, 27 Jun 2018 11:08:26 +0200 We don't need to pledge tty anymore since 65f998f Signed-off-by: Christoph Lohmann <20h@r-36.net> Diffstat: M main.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) --- DIR diff --git a/main.c b/main.c @@ -539,10 +539,9 @@ main(int argc, char *argv[]) cltlen = sizeof(clt); #ifdef __OpenBSD__ - char *promises = (char[35]){}; - snprintf(promises, 35, "rpath inet stdio proc exec %s %s", - revlookup ? "dns" : "", - dofork ? "tty" : ""); + char *promises = (char[30]){}; + snprintf(promises, 30, "rpath inet stdio proc exec %s", + revlookup ? "dns" : ""); if (pledge(promises, NULL) == -1) { perror("pledge"); exit(1);