Changeset cfffb290 in mainline for kernel/generic/src/ddi/ddi.c


Ignore:
Timestamp:
2006-08-05T16:05:25Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e2882a7
Parents:
b006a2c8
Message:

finish security context isolation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/ddi/ddi.c

    rb006a2c8 rcfffb290  
    130130        t = task_find_by_id(id);
    131131       
    132         if (!t) {
     132        if ((!t) || (!context_check(CONTEXT, t->context))) {
    133133                /*
    134                  * There is no task with the specified ID.
     134                 * There is no task with the specified ID
     135                 * or the task belongs to a different security
     136                 * context.
    135137                 */
    136138                spinlock_unlock(&tasks_lock);
Note: See TracChangeset for help on using the changeset viewer.