Am 15/08/2019 um 02:13 schrieb waddlesplash:
72b37d9ffc7e: kernel: Turn the clone-area-attempt panic into a dprintf.[...]
if (!kernel && sourceAddressSpace != targetAddressSpace
&& (sourceArea->protection & B_CLONEABLE_AREA) == 0) {
- // kernel areas must not be cloned in userland, unless
explicitly
- // declared user-cloneable upon construction
#if KDEBUG
- panic("attempting to clone area \"%s\" (%" B_PRId32 ")!",
- sourceArea->name, sourceID);
+ Team* team = thread_get_current_thread()->team;
+ dprintf("team \"%s\" (%" B_PRId32 ") attempted to clone area \"%s\"
(%"
+ B_PRId32 ")!\n", team->Name(), team->id,
sourceArea->name, sourceID);