darlingserver/duct-tape/xnu
Ariel Abreu e7c383758a
Fix some leaks in duct-taped code
One significant change made here is that lck_mtx structures now directly
contain the internals of dtape_mutex structures. This was changed
because the old way of storing in a malloc'ed object led to memory leaks.
The problem is that there's a lot of XNU code that uses simple locks and
does not destroy them (because it doesn't need to in the XNU
implementation). Since the only structure that really cares about the
lock size is the waitq structure, we just patch that up. Besides, we
had modified the waitq structure in the LKM before and nothing blew up,
so this should be fine.
2022-06-30 22:49:17 -04:00
..
bsd Implement remote mmap/munmap + various fixes 2022-02-17 19:12:44 -05:00
EXTERNAL_HEADERS Initial commit 2022-01-18 00:46:28 -05:00
iokit Initial commit 2022-01-18 00:46:28 -05:00
libkern Initial commit 2022-01-18 00:46:28 -05:00
osfmk Fix some leaks in duct-taped code 2022-06-30 22:49:17 -04:00
pexpert Initial commit 2022-01-18 00:46:28 -05:00
san Implement remote mmap/munmap + various fixes 2022-02-17 19:12:44 -05:00
security Initial commit 2022-01-18 00:46:28 -05:00
APPLE_LICENSE Initial commit 2022-01-18 00:46:28 -05:00