Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/proc/task.h

    r9e87562 rfaec9fc  
    4848#include <adt/cht.h>
    4949#include <adt/list.h>
    50 #include <security/perm.h>
     50#include <security/cap.h>
    5151#include <arch/proc/task.h>
    5252#include <arch/proc/thread.h>
     
    6060#include <abi/sysinfo.h>
    6161#include <arch.h>
    62 #include <cap/cap.h>
    6362
    6463#define TASK                 THE->task
     
    6665
    6766struct thread;
    68 struct cap;
    6967
    7068/** Task structure. */
     
    9593        atomic_t lifecount;
    9694       
    97         /** Task permissions. */
    98         perm_t perms;
    99 
    100         /** Capabilities */
    101         cap_info_t *cap_info;
     95        /** Task capabilities. */
     96        cap_t capabilities;
    10297       
    10398        /* IPC stuff */
     
    105100        /** Receiving communication endpoint */
    106101        answerbox_t answerbox;
     102
     103        /** Sending communication endpoints */
     104        phone_t phones[IPC_MAX_PHONES];
    107105
    108106        /** Spinlock protecting the active_calls list. */
     
    161159extern void task_print_list(bool);
    162160
    163 extern void perm_set(task_t *, perm_t);
    164 extern perm_t perm_get(task_t *);
     161extern void cap_set(task_t *, cap_t);
     162extern cap_t cap_get(task_t *);
    165163
    166164#ifndef task_create_arch
Note: See TracChangeset for help on using the changeset viewer.