summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/uidswap.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2006-09-30 13:29:51 +0000
committerdes <des@FreeBSD.org>2006-09-30 13:29:51 +0000
commit2f35ce4773442329d7798ccfecd8db9dcdce89bf (patch)
treebba6f2fe7855d7b0095f9dc7720dc27bea4d1fdf /crypto/openssh/uidswap.h
parent03ef9d989bf2619956d8c703362439e9be9257ca (diff)
downloadFreeBSD-src-2f35ce4773442329d7798ccfecd8db9dcdce89bf.zip
FreeBSD-src-2f35ce4773442329d7798ccfecd8db9dcdce89bf.tar.gz
Vendor import of OpenSSH 4.4p1.
Diffstat (limited to 'crypto/openssh/uidswap.h')
-rw-r--r--crypto/openssh/uidswap.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/crypto/openssh/uidswap.h b/crypto/openssh/uidswap.h
index 0726980..1c1163d 100644
--- a/crypto/openssh/uidswap.h
+++ b/crypto/openssh/uidswap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: uidswap.h,v 1.9 2001/06/26 17:27:25 markus Exp $ */
+/* $OpenBSD: uidswap.h,v 1.13 2006/08/03 03:34:42 deraadt Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -12,11 +12,7 @@
* called by a name other than "ssh" or "Secure Shell".
*/
-#ifndef UIDSWAP_H
-#define UIDSWAP_H
-
void temporarily_use_uid(struct passwd *);
void restore_uid(void);
void permanently_set_uid(struct passwd *);
-
-#endif /* UIDSWAP_H */
+void permanently_drop_suid(uid_t);
OpenPOWER on IntegriCloud