aboutsummaryrefslogtreecommitdiffstats
path: root/src/security.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-18 17:50:44 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-18 17:50:44 +0100
commit6155eb0850b4c91a5e9a80dc230cb1d12d5c4f8c (patch)
tree6f0bad22560efd3f1ed0bb4f26f659c06a64c51d /src/security.h
parentm + take ownership of and chmod /dev/vcs and /dev/vcsa (diff)
downloadlibpassphrase-6155eb0850b4c91a5e9a80dc230cb1d12d5c4f8c.tar.gz
libpassphrase-6155eb0850b4c91a5e9a80dc230cb1d12d5c4f8c.tar.bz2
libpassphrase-6155eb0850b4c91a5e9a80dc230cb1d12d5c4f8c.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/security.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/security.h b/src/security.h
index bbc0c4e..464afbf 100644
--- a/src/security.h
+++ b/src/security.h
@@ -41,9 +41,9 @@ void secure_tty(void);
/**
* Set ownership and mode of the TTY
*
- * @param owner The owner
- * @param group The group
+ * @param owner The owner, -1 for unchanged
+ * @param group The group, -1 for unchanged
* @param with_fail Abort on failure
*/
-void chown_tty(int owner, int group, int with_fail);
+void chown_tty(uid_t owner, gid_t group, int with_fail);