10Sstevel@tonic-gate /* 20Sstevel@tonic-gate * Author: Tatu Ylonen <ylo@cs.hut.fi> 30Sstevel@tonic-gate * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 40Sstevel@tonic-gate * All rights reserved 50Sstevel@tonic-gate * 60Sstevel@tonic-gate * As far as I am concerned, the code I have written for this software 70Sstevel@tonic-gate * can be used freely for any purpose. Any derived versions of this 80Sstevel@tonic-gate * software must be clearly marked as such, and if the derived work is 90Sstevel@tonic-gate * incompatible with the protocol description in the RFC file, it must be 100Sstevel@tonic-gate * called by a name other than "ssh" or "Secure Shell". 110Sstevel@tonic-gate */ 120Sstevel@tonic-gate 13*9139SJan.Pechanec@Sun.COM /* $OpenBSD: uidswap.h,v 1.9 2001/06/26 17:27:25 markus Exp $ */ 14*9139SJan.Pechanec@Sun.COM 15*9139SJan.Pechanec@Sun.COM #ifndef _UIDSWAP_H 16*9139SJan.Pechanec@Sun.COM #define _UIDSWAP_H 17*9139SJan.Pechanec@Sun.COM 18*9139SJan.Pechanec@Sun.COM #ifdef __cplusplus 19*9139SJan.Pechanec@Sun.COM extern "C" { 20*9139SJan.Pechanec@Sun.COM #endif 21*9139SJan.Pechanec@Sun.COM 220Sstevel@tonic-gate void temporarily_use_uid(struct passwd *); 230Sstevel@tonic-gate void restore_uid(void); 24*9139SJan.Pechanec@Sun.COM void permanently_set_uid(struct passwd *, char *); 250Sstevel@tonic-gate 260Sstevel@tonic-gate #ifdef __cplusplus 270Sstevel@tonic-gate } 280Sstevel@tonic-gate #endif 290Sstevel@tonic-gate 300Sstevel@tonic-gate #endif /* _UIDSWAP_H */ 31