From 65f6806f6ab5fe87d385ef9335efdfeee9555e1d Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Tue, 14 May 1996 18:10:03 +0000 Subject: (netfs_fsys_identity): New variable. (netfs_init): Initialize netfs_fsys_identity. --- libnetfs/init-init.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libnetfs') diff --git a/libnetfs/init-init.c b/libnetfs/init-init.c index 36983790..411430f0 100644 --- a/libnetfs/init-init.c +++ b/libnetfs/init-init.c @@ -28,6 +28,8 @@ struct port_bucket *netfs_port_bucket = 0; struct port_class *netfs_protid_class = 0; struct port_class *netfs_control_class = 0; auth_t netfs_auth_server_port = 0; +mach_port_t netfs_fsys_identity; + void netfs_init () @@ -36,4 +38,6 @@ netfs_init () netfs_control_class = ports_create_class (0, 0); netfs_port_bucket = ports_create_bucket (); netfs_auth_server_port = getauth (); + mach_port_allocate (mach_task_self (), MACH_PORT_RIGHT_RECEIVE, + &netfs_fsys_identity); } -- cgit v1.2.3