Changeset 2bb8648 in mainline for generic/include/security/cap.h
- Timestamp:
- 2006-05-07T15:21:11Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 31282f9
- Parents:
- ecf3722
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/security/cap.h
recf3722 r2bb8648 42 42 #define __CAP_H__ 43 43 44 #include <syscall/sysarg64.h> 44 45 #include <arch/types.h> 45 46 #include <typedefs.h> … … 64 65 65 66 /** 66 * CAP_PREEMPT_CONTROL allows its holder to disable interrupts67 * CAP_PREEMPT_CONTROL allows its holder to disable/enable preemption. 67 68 */ 68 #define CAP_PREEMPT_CONTROL (1<<3) 69 #define CAP_PREEMPT_CONTROL (1<<3) 70 71 /** 72 * CAP_IRQ_REG entitles its holder to register IRQ handlers. 73 */ 74 #define CAP_IRQ_REG (1<<4) 69 75 70 76 typedef __u32 cap_t; … … 73 79 extern cap_t cap_get(task_t *t); 74 80 81 extern __native sys_cap_grant(sysarg64_t *uspace_taskid_arg, cap_t caps); 82 extern __native sys_cap_revoke(sysarg64_t *uspace_taskid_arg, cap_t caps); 83 75 84 #endif
Note:
See TracChangeset
for help on using the changeset viewer.