diff options
author | Neal H. Walfield <neal@gnu.org> | 2008-02-13 14:33:26 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-04-07 23:14:01 +0200 |
commit | e3ad421919c5f8c1677334d95df1438d52bcb665 (patch) | |
tree | 7775bb5a99d23c1ca17d75e66e35d80ceaebc75c /sysdeps | |
parent | ef79f627acbdeaf9a225d76aaebe4354eb1909e7 (diff) |
libhurd-mm/
2008-02-13 Neal H. Walfield <neal@gnu.org>
* storage.h (storage_alloc): Take additional parameter policy.
Update callers.
* storage.c (storage_alloc): Take additional parameter policy.
Use it when allocating the object and updating the shadow
capability slots.
libpthread/
2008-02-13 Neal H. Walfield <neal@gnu.org>
* sysdeps/l4/hurd/pt-thread-alloc.c (__pthread_thread_alloc):
Update use of storage_alloc to be consistent with new API.
newlib/
2008-02-13 Neal H. Walfield <neal@gnu.org>
* addon/newlib/libc/sys/hurd/getreent.c (slab_alloc): Update use
of storage_alloc to be consistent with new API.
ruth/
2008-02-13 Neal H. Walfield <neal@gnu.org>
* ruth.c (main): Update use of storage_alloc to be consistent with
new API.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/l4/hurd/pt-thread-alloc.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/l4/hurd/pt-thread-alloc.c b/sysdeps/l4/hurd/pt-thread-alloc.c index 9e2bc2a3..daa13dba 100644 --- a/sysdeps/l4/hurd/pt-thread-alloc.c +++ b/sysdeps/l4/hurd/pt-thread-alloc.c @@ -1,5 +1,5 @@ /* Allocate kernel thread. Hurd/L4 version. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2008 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -51,7 +51,8 @@ __pthread_thread_alloc (struct __pthread *thread) running and it accesses its stack, it will fault, which we naturally cannot handle. */ storage = storage_alloc (ADDR_VOID, cap_page, - STORAGE_UNKNOWN, ADDR_VOID); + STORAGE_UNKNOWN, OBJECT_POLICY_DEFAULT, + ADDR_VOID); if (ADDR_IS_VOID (storage.addr)) return EAGAIN; @@ -60,7 +61,8 @@ __pthread_thread_alloc (struct __pthread *thread) storage = storage_alloc (meta_data_activity, cap_thread, /* Threads are rarely shortly lived. */ - STORAGE_MEDIUM_LIVED, ADDR_VOID); + STORAGE_MEDIUM_LIVED, OBJECT_POLICY_DEFAULT, + ADDR_VOID); if (ADDR_IS_VOID (storage.addr)) { storage_free (thread->exception_page.addr, false); |