Ignore:
File:
1 edited

Legend:

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

    rfaec9fc r9e87562  
    4848#include <adt/cht.h>
    4949#include <adt/list.h>
    50 #include <security/cap.h>
     50#include <security/perm.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>
    6263
    6364#define TASK                 THE->task
     
    6566
    6667struct thread;
     68struct cap;
    6769
    6870/** Task structure. */
     
    9395        atomic_t lifecount;
    9496       
    95         /** Task capabilities. */
    96         cap_t capabilities;
     97        /** Task permissions. */
     98        perm_t perms;
     99
     100        /** Capabilities */
     101        cap_info_t *cap_info;
    97102       
    98103        /* IPC stuff */
     
    100105        /** Receiving communication endpoint */
    101106        answerbox_t answerbox;
    102 
    103         /** Sending communication endpoints */
    104         phone_t phones[IPC_MAX_PHONES];
    105107
    106108        /** Spinlock protecting the active_calls list. */
     
    159161extern void task_print_list(bool);
    160162
    161 extern void cap_set(task_t *, cap_t);
    162 extern cap_t cap_get(task_t *);
     163extern void perm_set(task_t *, perm_t);
     164extern perm_t perm_get(task_t *);
    163165
    164166#ifndef task_create_arch
Note: See TracChangeset for help on using the changeset viewer.