Utils fixes for ASLR

This commit is contained in:
Vestral 2025-04-06 13:48:08 +09:00 committed by Megamouse
parent 63b7134dce
commit e066735fe9
5 changed files with 128 additions and 99 deletions

View file

@ -2490,7 +2490,7 @@ void thread_ctrl::wait_for(u64 usec, [[maybe_unused]] bool alert /* true */)
if (alert)
{
list.set<0>(_this->m_sync, 0);
list.set<1>(utils::bless<atomic_t<u32>>(&_this->m_taskq)[1], 0);
list.template set<1>(_this->m_taskq);
}
else
{