Changeset 473d5d2 in mainline for kernel/generic/src/proc/the.c


Ignore:
Timestamp:
2011-05-19T16:44:47Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bcaca55
Parents:
9c757820
Message:

add magic value to THE structure for better stack/memory corruption detection
rename (security) contexts to containers (a slightly less overloaded term within SPARTAN kernel)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/proc/the.c

    r9c757820 r473d5d2  
    5858        the->task = NULL;
    5959        the->as = NULL;
     60        the->magic = MAGIC;
    6061}
    6162
     
    7071NO_TRACE void the_copy(the_t *src, the_t *dst)
    7172{
     73        ASSERT(src->magic == MAGIC);
    7274        *dst = *src;
    7375}
Note: See TracChangeset for help on using the changeset viewer.