Rev 1597 | Rev 1636 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 1597 | Rev 1600 | ||
|---|---|---|---|
| Line 265... | Line 265... | ||
| 265 | { |
265 | { |
| 266 | ipl_t ipl; |
266 | ipl_t ipl; |
| 267 | task_t *ta; |
267 | task_t *ta; |
| 268 | thread_t *t; |
268 | thread_t *t; |
| 269 | link_t *cur; |
269 | link_t *cur; |
| - | 270 | ||
| - | 271 | if (id == 1) |
|
| - | 272 | return EPERM; |
|
| 270 | 273 | ||
| 271 | ipl = interrupts_disable(); |
274 | ipl = interrupts_disable(); |
| 272 | spinlock_lock(&tasks_lock); |
275 | spinlock_lock(&tasks_lock); |
| 273 | 276 | ||
| 274 | if (!(ta = task_find_by_id(id))) { |
277 | if (!(ta = task_find_by_id(id))) { |