1 /* 2 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * All rights reserved 5 * 6 * As far as I am concerned, the code I have written for this software 7 * can be used freely for any purpose. Any derived versions of this 8 * software must be clearly marked as such, and if the derived work is 9 * incompatible with the protocol description in the RFC file, it must be 10 * called by a name other than "ssh" or "Secure Shell". 11 */ 12 13 /* $OpenBSD: uidswap.h,v 1.9 2001/06/26 17:27:25 markus Exp $ */ 14 15 #ifndef _UIDSWAP_H 16 #define _UIDSWAP_H 17 18 #ifdef __cplusplus 19 extern "C" { 20 #endif 21 22 void temporarily_use_uid(struct passwd *); 23 void restore_uid(void); 24 void permanently_set_uid(struct passwd *, char *); 25 26 #ifdef __cplusplus 27 } 28 #endif 29 30 #endif /* _UIDSWAP_H */ 31