commit b08a0ccd43bb6d5f5cc56ccbb1c5244affccf2a9 from: Stefan Sperling date: Thu Sep 24 14:39:18 2020 UTC do not pledge 'got integrate' in a PROFILE=1 build found by jrick on freenode commit - 04d9a9ecdab02fa65ffe5ade82da586e5442869e commit + b08a0ccd43bb6d5f5cc56ccbb1c5244affccf2a9 blob - cf23cb0f7c414153a94a75eba7b4147c5bb8e032 blob + fd46852d20b5897c487045e6e0c4d99e0bda0508 --- got/got.c +++ got/got.c @@ -8972,11 +8972,11 @@ cmd_integrate(int argc, char *argv[]) if (argc != 1) usage_integrate(); branch_arg = argv[0]; - +#ifndef PROFILE if (pledge("stdio rpath wpath cpath fattr flock proc exec sendfd " "unveil", NULL) == -1) err(1, "pledge"); - +#endif cwd = getcwd(NULL, 0); if (cwd == NULL) { error = got_error_from_errno("getcwd");