Changeset f2c8f55 in mainline for kernel/generic/src/ipc/ops/sharein.c


Ignore:
Timestamp:
2018-08-03T12:41:38Z (6 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c92dfed
Parents:
f67d8ee
Message:

IPC_M_SHARE_IN: source has no business deciding destination address

Make the use of kernel-set arguments more consistent with
IPC_M_CONNECT_* methods (i.e. allocate the kernel-set arguments from the
end). Improve the documentation of IPC_M_SHARE_IN.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ipc/ops/sharein.c

    rf67d8ee rf2c8f55  
    5151                errno_t rc = as_area_share(AS, IPC_GET_ARG1(answer->data),
    5252                    IPC_GET_ARG1(*olddata), as, IPC_GET_ARG2(answer->data),
    53                     &dst_base, IPC_GET_ARG3(answer->data));
    54                 IPC_SET_ARG4(answer->data, dst_base);
     53                    &dst_base, IPC_GET_ARG2(*olddata));
     54                IPC_SET_ARG5(answer->data, dst_base);
    5555                IPC_SET_RETVAL(answer->data, rc);
    5656        }
Note: See TracChangeset for help on using the changeset viewer.