Changeset 9b6aae6 in mainline for generic/src/proc/task.c


Ignore:
Timestamp:
2006-06-06T08:54:02Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3247f0a
Parents:
bffa0b06
Message:

Prevent task killing of kernel by returning EPERM on such a request.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/proc/task.c

    rbffa0b06 r9b6aae6  
    268268        thread_t *t;
    269269        link_t *cur;
     270
     271        if (id == 1)
     272                return EPERM;
    270273       
    271274        ipl = interrupts_disable();
Note: See TracChangeset for help on using the changeset viewer.