summaryrefslogtreecommitdiff
path: root/pflocal
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-07-03 23:54:12 +0000
committerThomas Bushnell <thomas@gnu.org>1999-07-03 23:54:12 +0000
commit3d107d5b12ac76a37621e589ebc03540205b488f (patch)
tree42452e61ce8bc62201819a003642f1fb820ea1ef /pflocal
parent567b1a2a3cfc098ae28b4a03ed957b07a9436e17 (diff)
1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
* io.c (TRASH_IDS): Use munmap instead of vm_deallocate.
Diffstat (limited to 'pflocal')
-rw-r--r--pflocal/ChangeLog4
-rw-r--r--pflocal/io.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/pflocal/ChangeLog b/pflocal/ChangeLog
index 9ee8e944..5e54c1d8 100644
--- a/pflocal/ChangeLog
+++ b/pflocal/ChangeLog
@@ -1,3 +1,7 @@
+1999-07-03 Thomas Bushnell, BSG <tb@mit.edu>
+
+ * io.c (TRASH_IDS): Use munmap instead of vm_deallocate.
+
1999-03-01 Mark Kettenis <kettenis@gnu.org>
* pf.c (S_socket_whatis_address): Implement. Since we cannot tell
diff --git a/pflocal/io.c b/pflocal/io.c
index 4d5b733d..1189eba7 100644
--- a/pflocal/io.c
+++ b/pflocal/io.c
@@ -422,7 +422,7 @@ S_io_reauthenticate (struct sock_user *user, mach_port_t rendezvous)
/* Throw away the ids we went through all that trouble to get... */
#define TRASH_IDS(ids, buf, num) \
if (buf != ids) \
- vm_deallocate (mach_task_self (), (vm_address_t)ids, num * sizeof (uid_t));
+ munmap (ids, num * sizeof (uid_t));
TRASH_IDS (uids, uids_buf, num_uids);
TRASH_IDS (gids, gids_buf, num_gids);