* Added a "flags" parameter to vm_create_anonymous_area() and
create_area_etc(). * When the new flag CREATE_AREA_DONT_WAIT is specified, the functions don't wait for memory or pages to become available. They fail immediately instead. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27117 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1470,7 +1470,7 @@ elf_load_user_image(const char *path, struct team *team, int flags,
|
||||
regionAddress += fileUpperBound;
|
||||
id = create_area_etc(team->id, regionName,
|
||||
(void **)®ionAddress, B_EXACT_ADDRESS, bssSize,
|
||||
B_NO_LOCK, B_READ_AREA | B_WRITE_AREA);
|
||||
B_NO_LOCK, B_READ_AREA | B_WRITE_AREA, 0);
|
||||
if (id < B_OK) {
|
||||
dprintf("error allocating bss area: %s!\n", strerror(id));
|
||||
status = B_NOT_AN_EXECUTABLE;
|
||||
|
||||
Reference in New Issue
Block a user