diff src/lib/restrict-access.h @ 1271:0ca6dfe196f1 HEAD

Removed restrict_access_clean_env() and env_remove(). They're not needed.
author Timo Sirainen <tss@iki.fi>
date Tue, 04 Mar 2003 06:00:13 +0200
parents ea3f6c93d1a2
children e7c627bacaaf
line wrap: on
line diff
--- a/src/lib/restrict-access.h	Tue Mar 04 05:59:44 2003 +0200
+++ b/src/lib/restrict-access.h	Tue Mar 04 06:00:13 2003 +0200
@@ -6,9 +6,6 @@
 void restrict_access_set_env(const char *user, uid_t uid, gid_t gid,
 			     const char *chroot_dir);
 
-/* clear the environment variables set by restrict_access_set_env() */
-void restrict_access_clear_env(void);
-
 /* chroot, setuid() and setgid() based on environment variables.
    If disallow_roots is TRUE, we'll kill ourself if we didn't have the
    environment settings and we have root uid or gid. */