Skip to content

Commit

Permalink
Streamlines cap_ops
Browse files Browse the repository at this point in the history
  • Loading branch information
HAKarlsson committed Nov 12, 2023
1 parent 45ec901 commit a831dc3
Show file tree
Hide file tree
Showing 5 changed files with 347 additions and 228 deletions.
2 changes: 1 addition & 1 deletion kernel/inc/cap_ops.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

err_t cap_read(cte_t cte, cap_t *cap);
err_t cap_move(cte_t src, cte_t dst);
err_t cap_ipc_move(cte_t src, cte_t dst);
err_t cap_delete(cte_t cte);
err_t cap_revoke(cte_t parent);
err_t cap_reset(cte_t cte);
err_t cap_derive(cte_t src, cte_t dst, cap_t new_cap);
1 change: 1 addition & 0 deletions kernel/inc/cap_types.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ typedef enum capty {
CAPTY_MONITOR = 4, ///< Monitor capability.
CAPTY_CHANNEL = 5, ///< IPC Channel capability.
CAPTY_SOCKET = 6, ///< IPC Socket capability.
CAPTY_COUNT ///< Number of capability types
} capty_t;

/// Capability description
Expand Down
Loading

0 comments on commit a831dc3

Please sign in to comment.