Changeset 5d96851 in mainline for uspace/srv/ns/ns.c


Ignore:
Timestamp:
2009-07-06T19:17:49Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0315679
Parents:
7114d83
Message:

Pass task ID to NS from loader. This prevents ID spoofing by user apps.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/ns/ns.c

    r7114d83 r5d96851  
    134134                        continue;
    135135                case IPC_M_PHONE_HUNGUP:
    136                         retval = EOK;
     136                        retval = ns_task_disconnect(&call);
    137137                        break;
    138138                case IPC_M_CONNECT_TO_ME:
     
    171171                        wait_for_task(id, &call, callid);
    172172                        continue;
     173                case NS_ID_INTRO:
     174                        retval = ns_task_id_intro(&call);
     175                        break;
    173176                case NS_RETVAL:
    174177                        retval = ns_task_retval(&call);
Note: See TracChangeset for help on using the changeset viewer.