Changeset 67f11a0 in mainline for kernel/generic/src/ipc/sysipc.c
- Timestamp:
- 2018-03-15T17:40:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 530f2de, e9e4068
- Parents:
- 30f1a25 (diff), a36f442 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Jakub Jermar <jakub@…> (2018-03-15 17:25:56)
- git-committer:
- Jakub Jermar <jakub@…> (2018-03-15 17:40:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/ipc/sysipc.c
r30f1a25 r67f11a0 724 724 sys_errno_t sys_ipc_hangup(sysarg_t handle) 725 725 { 726 kobject_t *kobj = kobject_get(TASK, handle, KOBJECT_TYPE_PHONE);726 kobject_t *kobj = cap_unpublish(TASK, handle, KOBJECT_TYPE_PHONE); 727 727 if (!kobj) 728 728 return ENOENT; … … 730 730 errno_t rc = ipc_phone_hangup(kobj->phone); 731 731 kobject_put(kobj); 732 cap_free(TASK, handle); 732 733 return rc; 733 734 }
Note:
See TracChangeset
for help on using the changeset viewer.