Subversion Repositories HelenOS

Rev

Rev 4010 | Rev 4463 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4010 Rev 4406
Line 78... Line 78...
78
       
78
       
79
        switch (IPC_GET_METHOD(call)) {
79
        switch (IPC_GET_METHOD(call)) {
80
        case IPC_M_PHONE_HUNGUP:
80
        case IPC_M_PHONE_HUNGUP:
81
            keep_on_going = false;
81
            keep_on_going = false;
82
            break;
82
            break;
83
        case IPC_M_CONNECT_ME_TO:
-
 
84
            /*
-
 
85
             * Connect the client file system to another one.
-
 
86
             */
-
 
87
            /* FIXME:
-
 
88
             * Prevent ordinary clients from connecting to file
-
 
89
             * system servers directly. This should be solved by
-
 
90
             * applying some security mechanisms.
-
 
91
             */
-
 
92
            fs_handle = IPC_GET_ARG1(call);
-
 
93
            phone = vfs_grab_phone(fs_handle);
-
 
94
            (void) ipc_forward_fast(callid, phone, 0, 0, 0,
-
 
95
                IPC_FF_NONE);
-
 
96
            vfs_release_phone(phone);
-
 
97
            break;
-
 
98
        case VFS_REGISTER:
83
        case VFS_REGISTER:
99
            vfs_register(callid, &call);
84
            vfs_register(callid, &call);
100
            /*
85
            /*
101
             * Keep the connection open so that a file system can
86
             * Keep the connection open so that a file system can
102
             * later ask us to connect it to another file system.
87
             * later ask us to connect it to another file system.