diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:07:12 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:07:12 +0000 |
commit | b4c774cf8878d9100fde92ff4e938671c3b0301b (patch) | |
tree | a2dff9a498a7c4cdeddace98c2c34c7a2e3689fb /uidswap.h | |
parent | 16ae3d0dba5f81e5602798b915105284033dea75 (diff) |
- itojun@cvs.openbsd.org 2001/06/26 06:33:07
[servconf.h serverloop.h session.h sftp-client.h sftp-common.h
sftp-glob.h sftp-int.h sshconnect.h ssh-dss.h sshlogin.h sshpty.h
ssh-rsa.h tildexpand.h uidswap.h uuencode.h xmalloc.h]
prototype pedant. not very creative...
- () -> (void)
- no variable names
Diffstat (limited to 'uidswap.h')
-rw-r--r-- | uidswap.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: uidswap.h,v 1.7 2001/04/06 21:00:17 markus Exp $ */ | 1 | /* $OpenBSD: uidswap.h,v 1.8 2001/06/26 06:33:06 itojun Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -19,7 +19,7 @@ | |||
19 | * Temporarily changes to the given uid. If the effective user id is not | 19 | * Temporarily changes to the given uid. If the effective user id is not |
20 | * root, this does nothing. This call cannot be nested. | 20 | * root, this does nothing. This call cannot be nested. |
21 | */ | 21 | */ |
22 | void temporarily_use_uid(struct passwd *pw); | 22 | void temporarily_use_uid(struct passwd *); |
23 | 23 | ||
24 | /* | 24 | /* |
25 | * Restores the original effective user id after temporarily_use_uid(). | 25 | * Restores the original effective user id after temporarily_use_uid(). |
@@ -31,6 +31,6 @@ void restore_uid(void); | |||
31 | * Permanently sets all uids to the given uid. This cannot be called while | 31 | * Permanently sets all uids to the given uid. This cannot be called while |
32 | * temporarily_use_uid is effective. This must also clear any saved uids. | 32 | * temporarily_use_uid is effective. This must also clear any saved uids. |
33 | */ | 33 | */ |
34 | void permanently_set_uid(struct passwd *pw); | 34 | void permanently_set_uid(struct passwd *); |
35 | 35 | ||
36 | #endif /* UIDSWAP_H */ | 36 | #endif /* UIDSWAP_H */ |