@@ -67,6 +67,13 @@ int rm_path(const char *p) {
}
int main(int argc, char *argv[]) {
#ifdef __OpenBSD__
if (pledge("stdio rpath wpath cpath proc exec", NULL) == -1) {
perror("pledge");
return 1;
#endif
char tmpname[] = "/tmp/vidirXXXXXX";
int fd;
FILE *tmp;
The note is not visible to the blocked user.