Changeset a9e8b39 in mainline for generic/src/ddi/ddi.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/ddi/ddi.c

    r6fa476f7 ra9e8b39  
    9393        if (writable)
    9494                flags |= AS_AREA_WRITE;
    95         if (!as_area_create(t->as, flags, pages * PAGE_SIZE, vp)) {
     95        if (!as_area_create(t->as, flags, pages * PAGE_SIZE, vp, AS_AREA_ATTR_NONE)) {
    9696                /*
    9797                 * The address space area could not have been created.
Note: See TracChangeset for help on using the changeset viewer.