http://bugs.winehq.org/show_bug.cgi?id=20314
Ove Kaaven ovek@arcticnet.no changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |ovek@arcticnet.no
--- Comment #1 from Ove Kaaven ovek@arcticnet.no 2009-10-12 17:33:31 --- Hi Austin. My guess is that you'll have to fix it yourself, since probably very few developers use GNU/kFreeBSD at this time.
You can look to dlls/kernel32/process.c (set_process_name) for inspiration about what the prctl's function (and BSD equivalent?) is. However, you can't just copy that code into the preloader, since the preloader may not depend on *any* userspace library, not even libc or ldso. It has to do direct kernel syscalls for anything it needs to do. Probably only someone with experience with FreeBSD would know how to add such syscalls.
(Though perhaps it's fine to just ifdef out the whole prctl thing? Its purpose looks quite cosmetic.)