Changeset d088616 in mainline for kernel/generic/include/cap/cap.h


Ignore:
Timestamp:
2017-10-28T08:49:42Z (6 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d470ec8
Parents:
9b642f92
Message:

Provide locked versions of cap_unpublish() and cap_free()

This is necessary so that capabilities can be unpublished and freed from a
caps_apply_to_kobject_type() callback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/cap/cap.h

    r9b642f92 rd088616  
    121121extern void cap_publish(struct task *, cap_handle_t, kobject_t *);
    122122extern kobject_t *cap_unpublish(struct task *, cap_handle_t, kobject_type_t);
     123extern kobject_t *cap_unpublish_locked(struct task *, cap_handle_t,
     124    kobject_type_t);
    123125extern void cap_free(struct task *, cap_handle_t);
     126extern void cap_free_locked(struct task *, cap_handle_t);
    124127
    125128extern void kobject_initialize(kobject_t *, kobject_type_t, void *,
Note: See TracChangeset for help on using the changeset viewer.