diff options
author | Damien Miller <djm@mindrot.org> | 2006-07-10 20:53:08 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2006-07-10 20:53:08 +1000 |
commit | 9f2abc47ebd58c974f51718f31009b49a001c0d7 (patch) | |
tree | b1596b7b77ec40c33749f40e0e126fe389d4fd47 /uidswap.h | |
parent | fef95ad81645250b83f7c83233648471d8d0edab (diff) |
- stevesk@cvs.openbsd.org 2006/07/06 16:03:53
[auth-options.c auth-options.h auth-passwd.c auth-rh-rsa.c]
[auth-rhosts.c auth-rsa.c auth.c auth.h auth2-hostbased.c]
[auth2-pubkey.c auth2.c includes.h misc.c misc.h monitor.c]
[monitor_wrap.c monitor_wrap.h scp.c serverloop.c session.c]
[session.h sftp-common.c ssh-add.c ssh-keygen.c ssh-keysign.c]
[ssh.c sshconnect.c sshconnect.h sshd.c sshpty.c sshpty.h uidswap.c]
[uidswap.h]
move #include <pwd.h> out of includes.h; ok markus@
Diffstat (limited to 'uidswap.h')
-rw-r--r-- | uidswap.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: uidswap.h,v 1.11 2006/06/08 14:45:49 markus Exp $ */ | 1 | /* $OpenBSD: uidswap.h,v 1.12 2006/07/06 16:03:53 stevesk Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -15,6 +15,10 @@ | |||
15 | #ifndef UIDSWAP_H | 15 | #ifndef UIDSWAP_H |
16 | #define UIDSWAP_H | 16 | #define UIDSWAP_H |
17 | 17 | ||
18 | #include <sys/types.h> | ||
19 | |||
20 | #include <pwd.h> | ||
21 | |||
18 | void temporarily_use_uid(struct passwd *); | 22 | void temporarily_use_uid(struct passwd *); |
19 | void restore_uid(void); | 23 | void restore_uid(void); |
20 | void permanently_set_uid(struct passwd *); | 24 | void permanently_set_uid(struct passwd *); |