Ignore:
Timestamp:
2019-02-06T13:25:12Z (6 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
eb13ef8
Parents:
d066259
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-02 13:29:26)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-06 13:25:12)
Message:

Convert CAP_HANDLE_RAW and CAP_HANDLE_VALID into functions

File:
1 edited

Legend:

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

    rd066259 rbb97118  
    5252        }
    5353        call->priv = (sysarg_t) pobj;
    54         IPC_SET_ARG5(call->data, CAP_HANDLE_RAW(phandle));
     54        IPC_SET_ARG5(call->data, cap_handle_raw(phandle));
    5555        return 0;
    5656}
     
    6161        kobject_t *pobj = (kobject_t *) answer->priv;
    6262
    63         if (CAP_HANDLE_VALID(phandle)) {
     63        if (cap_handle_valid(phandle)) {
    6464                kobject_put(pobj);
    6565                cap_free(TASK, phandle);
     
    7777                /* The connection was not accepted */
    7878                answer_cleanup(answer, olddata);
    79         } else if (CAP_HANDLE_VALID(phandle)) {
     79        } else if (cap_handle_valid(phandle)) {
    8080                /*
    8181                 * The connection was accepted
Note: See TracChangeset for help on using the changeset viewer.