=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/uuencode/uuencode.c,v retrieving revision 1.12 retrieving revision 1.13 diff -c -r1.12 -r1.13 *** src/usr.bin/uuencode/uuencode.c 2015/10/07 06:00:33 1.12 --- src/usr.bin/uuencode/uuencode.c 2015/10/09 01:37:09 1.13 *************** *** 1,4 **** ! /* $OpenBSD: uuencode.c,v 1.12 2015/10/07 06:00:33 deraadt Exp $ */ /* $FreeBSD: uuencode.c,v 1.18 2004/01/22 07:23:35 grehan Exp $ */ /*- --- 1,4 ---- ! /* $OpenBSD: uuencode.c,v 1.13 2015/10/09 01:37:09 deraadt Exp $ */ /* $FreeBSD: uuencode.c,v 1.18 2004/01/22 07:23:35 grehan Exp $ */ /*- *************** *** 99,109 **** argc -= optind; if (argc == 2 || outfile) { ! if (tame("stdio rpath wpath cpath", NULL) == -1) ! err(1, "tame"); } else { ! if (tame("stdio", NULL) == -1) ! err(1, "tame"); } switch(argc) { --- 99,109 ---- argc -= optind; if (argc == 2 || outfile) { ! if (pledge("stdio rpath wpath cpath", NULL) == -1) ! err(1, "pledge"); } else { ! if (pledge("stdio", NULL) == -1) ! err(1, "pledge"); } switch(argc) {