[Bug 20314] wine loader doesn't work on Debian/kFreeBSD

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 12 17:33:31 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=20314


Ove Kaaven <ovek at arcticnet.no> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ovek at arcticnet.no




--- Comment #1 from Ove Kaaven <ovek at 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.)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list