diff options
Diffstat (limited to 'src/waypipe.c')
-rw-r--r-- | src/waypipe.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/waypipe.c b/src/waypipe.c index adbe048..9e30f92 100644 --- a/src/waypipe.c +++ b/src/waypipe.c @@ -292,7 +292,7 @@ static int run_recon(const char *control_path, const char *recon_path) control_path, (int)len, 108); return EXIT_FAILURE; } - int cfd = open(control_path, O_WRONLY); + int cfd = open(control_path, O_WRONLY | O_NOCTTY); if (cfd == -1) { fprintf(stderr, "Failed to open control pipe at \"%s\"\n", control_path); @@ -430,7 +430,7 @@ static const struct arg_permissions arg_permissions[] = { {ARG_VERSION, MODE_FAIL}, {ARG_ALLOW_TILED, MODE_SSH | MODE_CLIENT | MODE_SERVER}, {ARG_UNLINK, MODE_SERVER}, - {ARG_DRMNODE, MODE_SERVER}, + {ARG_DRMNODE, MODE_SSH | MODE_CLIENT | MODE_SERVER}, {ARG_REMOTENODE, MODE_SSH}, {ARG_WAYPIPE_BINARY, MODE_SSH}, {ARG_LOGIN_SHELL, MODE_SERVER}, |