diff options
author | Todd C. Miller <Todd.Miller@sudo.ws> | 2023-03-24 10:58:49 -0600 |
---|---|---|
committer | Todd C. Miller <Todd.Miller@sudo.ws> | 2023-03-24 10:58:49 -0600 |
commit | d0cc84bc556de6758380281879e074c43ca2bd7c (patch) | |
tree | b6f9c8804fd2a76af740dda5a02883c4a6b863c3 | |
parent | 04e605bb974b0970f8db8c5e69f380ae87dbdaec (diff) | |
download | sudo-d0cc84bc556de6758380281879e074c43ca2bd7c.tar.gz |
Make ttyblock private to exec_iolog.c
-rw-r--r-- | src/exec_iolog.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/exec_iolog.c b/src/exec_iolog.c index 5a77ba3f2..d3deab082 100644 --- a/src/exec_iolog.c +++ b/src/exec_iolog.c @@ -1,7 +1,7 @@ /* * SPDX-License-Identifier: ISC * - * Copyright (c) 2009-2022 Todd C. Miller <Todd.Miller@sudo.ws> + * Copyright (c) 2009-2023 Todd C. Miller <Todd.Miller@sudo.ws> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -36,13 +36,14 @@ #include "sudo_plugin.h" #include "sudo_plugin_int.h" -sigset_t ttyblock; int ttymode = TERM_COOKED; struct io_buffer_list iobufs = SLIST_HEAD_INITIALIZER(&iobufs); int io_fds[6] = { -1, -1, -1, -1, -1, -1 }; +static sigset_t ttyblock; + /* * Remove and free any events associated with the specified * file descriptor present in the I/O buffers list. |