Rev 3222 | Rev 3707 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3222 | Rev 3362 | ||
---|---|---|---|
Line 176... | Line 176... | ||
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 | 180 | ||
181 | - | ||
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 */ |
186 | } else { |
185 | } else { |