diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-11-18 18:29:22 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-11-18 18:29:22 +0100 |
commit | 44716a78aa42f999ac618cec1dc04ddb0c2c42e0 (patch) | |
tree | 47fe1fe4a3bbfdad403308e6565aebccd8d5ba01 /src/security.h | |
parent | confs (diff) | |
download | libpassphrase-44716a78aa42f999ac618cec1dc04ddb0c2c42e0.tar.gz libpassphrase-44716a78aa42f999ac618cec1dc04ddb0c2c42e0.tar.bz2 libpassphrase-44716a78aa42f999ac618cec1dc04ddb0c2c42e0.tar.xz |
use tty group
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r-- | src/security.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/security.h b/src/security.h index b16ef1b..5e291ff 100644 --- a/src/security.h +++ b/src/security.h @@ -38,8 +38,10 @@ /** * Secure the TTY from spying + * + * @param group The group, -1 for unchanged */ -void secure_tty(void); +void secure_tty(gid_t group); /** * Set ownership and mode of the TTY |