SO_RCVBUF is permitted. It may even be possible to lose the "inet" a
bit later in the code. Anyone want to test?
-/* $OpenBSD: rmt.c,v 1.17 2015/10/16 14:13:52 deraadt Exp $ */
+/* $OpenBSD: rmt.c,v 1.18 2015/10/20 18:47:21 deraadt Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
char *devp;
size_t dirlen;
+ if (pledge("stdio rpath wpath cpath inet", NULL) == -1)
+ err(1, "pledge");
+
while ((ch = getopt(argc, argv, "d:rw")) != -1) {
switch (ch) {
case 'd':