Rev 3343 | Rev 3549 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3343 | Rev 3397 | ||
---|---|---|---|
Line 175... | Line 175... | ||
175 | /* |
175 | /* |
176 | * Set capabilities to init userspace tasks. |
176 | * Set capabilities to init userspace tasks. |
177 | */ |
177 | */ |
178 | cap_set(programs[i].task, CAP_CAP | CAP_MEM_MANAGER | |
178 | cap_set(programs[i].task, CAP_CAP | CAP_MEM_MANAGER | |
179 | CAP_IO_MANAGER | CAP_PREEMPT_CONTROL | CAP_IRQ_REG); |
179 | CAP_IO_MANAGER | CAP_PREEMPT_CONTROL | CAP_IRQ_REG); |
180 | - | ||
181 | 180 | ||
182 | if (!ipc_phone_0) |
181 | if (!ipc_phone_0) |
183 | ipc_phone_0 = &programs[i].task->answerbox; |
182 | ipc_phone_0 = &programs[i].task->answerbox; |
184 | } else if (rc == 0) { |
183 | } else if (rc == 0) { |
185 | /* It was the program loader and was registered */ |
184 | /* It was the program loader and was registered */ |