Date: Wed, 23 Oct 2013 22:54:51 -0700 From: Xin Li <delphij@delphij.net> To: Kevin Day <toasty@dragondata.com>, Puppet Master <pmaster@mindslayer.net> Cc: "freebsd-hackers@freebsd.org Hackers" <freebsd-hackers@freebsd.org> Subject: Re: FoxPro on FreeBSD Message-ID: <5268B62B.3000104@delphij.net> In-Reply-To: <9B89077C-6BE7-49F1-9F22-19FAD9F6C3ED@dragondata.com> References: <52687ED8.6080309@mindslayer.net> <9B89077C-6BE7-49F1-9F22-19FAD9F6C3ED@dragondata.com>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 On 10/23/13, 8:32 PM, Kevin Day wrote: > I did some debugging, and watched how the process was getting > launched, and I've managed to get it to load! > > The problem was that COFF files expect to be mapped into memory at > address 0, something that processes are no longer allowed to do. > > Run "sysctl security.bsd.map_at_zero=1” or add > “security.bsd.map_at_zero=1“ to /etc/sysctl.conf and you should > have it working. We probably should either make an exception for > COFF files to bypass this the sysctl restriction, or at least print > a more helpful error than just letting the process segfault because > it didn’t get mapped where it was supposed to go. Wow, this is impressive find, indeed! Do they need to do the map at startup only, or do they want to explicitly map something at address 0 during runtime? > — Kevin > > > On Oct 23, 2013, at 8:58 PM, Puppet Master <pmaster@mindslayer.net> > wrote: > >> Hello, >> >> A couple of years ago I posted a message on the forums, regarding >> getting FoxPro (for SCO Unix) working on FreeBSD. The direct link >> to the forum is here: >> http://forums.freebsd.org/showthread.php?t=19764 >> >> From version 2.2.8 to 7.4 of FreeBSD this has worked flawlessly, >> but ceased to run with version 8.1. >> >> I would really love for this to continue working with future >> versions but have not found anyone that can help. A few days ago >> I received a private message on the forum requesting that I >> please post to hackers@ to see if anyone could help. The idea >> being that "Its unlikely the SCO binaries get tested very >> regularly." >> >> So here I am. In case anyone wants to test the FoxPro for >> FreeBSD, you can download my Perl script that installs it from >> here: http://www.at-vantage.com/foxfiles/foxp_install.txt >> >> (rename the foxp_install.txt to foxp_install.pl). This checks for >> i386, FreeBSD version before installing so if you plan on testing >> it on 8.1 or above, you may need to modify the script and comment >> out the sections that check for that. >> >> I do hope that someone can help, it would be great if the SCO >> binary for FoxPro would function again. >> >> Thanks. >> >> >> _______________________________________________ >> freebsd-hackers@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To >> unsubscribe, send any mail to >> "freebsd-hackers-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To > unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" > -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJSaLYrAAoJEJW2GBstM+nsLJUQAKrSrqgBcMmzlURu9XFWedCc pcr9HyqNqssb2h0P1EiSZAOt39LccXtbyWRLghwxfNUc3UPsb9ShFBVKia4LJiqe H8yqgbg2cw8SKLpYthTVfKKxqR1wKiaV0NN8Hh6ZMuo5Hp0X/Dkd83VHoZNy8aY0 WjAOTpUs094hC8PtA9SfnH+BWzFxse6IXqAQtL/XUwfRkrZWCxoReUvgDgKdDDju uoQtmykVM2tMF+HwdAKOIcK8WiBNzTZDoNt0R0F+VbXOLDG+ziNJ4x70j005EOYt uClwFTVpkpMhf44xaM8PS7ta4pqO3DuhqMFSWMK6PyA/cjj4pMvwLJQDad6NViH5 pAK3XILry6Q4YxcXKM1sglPk+Vpb+/3RyW44LZAzFi0SdTAUytbaRvbRgVx5HVvl 8oi0r6DOjYQTAHyU0r+I4uZy7F+btniq7ul/5lqiIx4q+o5xWlQXnDzY+tvh7gJg LkkDWUuJVfQPpAFRbsSU7c0RsoucR9yzviaEvVKn3pxGasOTpJCgnZQB46K+F0yy v5vYCNpYvUxsz7dm16BgneqlHONnuj61uGf93/bhoB1wMOV/cjdwZDjwBTiry0X8 OLTwQwB9wXgWNA+m9/pe1AzZPj6admr7KDeQsSw+TsPHquwiJzqp5mDfM73g4m+m LK18ePNLK2SWq8HSUbYM =3qLK -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5268B62B.3000104>