Changes in kernel/generic/src/ipc/sysipc.c [4e5dabf:6aae539d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/sysipc.c
r4e5dabf r6aae539d 597 597 if (IPC_GET_IMETHOD(call->data) == IPC_M_CONNECT_TO_ME) { 598 598 int phoneid = phone_alloc(TASK); 599 if (phoneid < 0) { 599 if (phoneid < 0) { /* Failed to allocate phone */ 600 600 IPC_SET_RETVAL(call->data, ELIMIT); 601 601 ipc_answer(box, call); … … 883 883 884 884 /* 885 * User 885 * Userspace is not allowed to change interface and method of system 886 886 * methods on forward, allow changing ARG1, ARG2, ARG3 and ARG4 by 887 * means of imethod, arg1, arg2 and arg3.887 * means of method, arg1, arg2 and arg3. 888 888 * If the interface and method is immutable, don't change anything. 889 889 */ … … 897 897 IPC_SET_ARG3(call->data, arg2); 898 898 899 if (slow) 899 if (slow) { 900 900 IPC_SET_ARG4(call->data, arg3); 901 902 /*903 * For system methods we deliberately don't904 * overwrite ARG5.905 */901 /* 902 * For system methods we deliberately don't 903 * overwrite ARG5. 904 */ 905 } 906 906 } else { 907 907 IPC_SET_IMETHOD(call->data, imethod);
Note:
See TracChangeset
for help on using the changeset viewer.