mirror of
https://github.com/darlinghq/darlingserver.git
synced 2024-12-04 18:46:55 +00:00
e7c383758a
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. |
||
---|---|---|
.. | ||
bsd | ||
EXTERNAL_HEADERS | ||
iokit | ||
libkern | ||
osfmk | ||
pexpert | ||
san | ||
security | ||
APPLE_LICENSE |