A pledged program is not allowed to change user/group for others.
"I think that makes the most sense" @sthen
-/* $OpenBSD: ar_io.c,v 1.51 2015/10/12 05:05:24 deraadt Exp $ */
+/* $OpenBSD: ar_io.c,v 1.52 2015/10/12 09:28:54 semarie Exp $ */
/* $NetBSD: ar_io.c,v 1.5 1996/03/26 23:54:13 mrg Exp $ */
/*-
close(fds[0]);
close(fds[1]);
+#if 0
if (pledge("stdio rpath wpath cpath fattr getpw ioctl proc",
NULL) == -1)
err(1, "pledge");
+#endif
} else {
if (wr) {
dup2(fds[0], STDIN_FILENO);