Changeset 719a208 in mainline for kernel/generic/src/main/kinit.c
- Timestamp:
- 2017-05-30T05:59:09Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f2460a50
- Parents:
- 456c086
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/main/kinit.c
r456c086 r719a208 64 64 #include <interrupt.h> 65 65 #include <console/kconsole.h> 66 #include <security/ cap.h>66 #include <security/perm.h> 67 67 #include <lib/rd.h> 68 68 #include <ipc/ipc.h> … … 259 259 if (programs[i].task != NULL) { 260 260 /* 261 * Set capabilities to init userspace tasks.261 * Set permissions to init userspace tasks. 262 262 */ 263 cap_set(programs[i].task, CAP_CAP | CAP_MEM_MANAGER | 264 CAP_IO_MANAGER | CAP_IRQ_REG); 263 perm_set(programs[i].task, 264 PERM_PERM | PERM_MEM_MANAGER | 265 PERM_IO_MANAGER | PERM_IRQ_REG); 265 266 266 267 if (!ipc_phone_0) {
Note:
See TracChangeset
for help on using the changeset viewer.