Changeset a9e8b39 in mainline for generic/src/proc/task.c


Ignore:
Timestamp:
2006-04-26T17:56:23Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ed6c81f1
Parents:
6fa476f7
Message:

Prevent race in as_area_send() by allowing the address space area to be
created with AS_AREA_ATTR_PARTIAL attribute.

File:
1 edited

Legend:

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

    r6fa476f7 ra9e8b39  
    152152         * Create the data as_area.
    153153         */
    154         a = as_area_create(as, AS_AREA_READ | AS_AREA_WRITE, LOADED_PROG_STACK_PAGES_NO*PAGE_SIZE, USTACK_ADDRESS);
     154        a = as_area_create(as, AS_AREA_READ | AS_AREA_WRITE, LOADED_PROG_STACK_PAGES_NO*PAGE_SIZE,
     155                USTACK_ADDRESS, AS_AREA_ATTR_NONE);
    155156
    156157        t = thread_create(uinit, kernel_uarg, task, 0, "uinit");
Note: See TracChangeset for help on using the changeset viewer.