FoxPro on FreeBSD

Xin Li delphij at delphij.net
Thu Oct 24 05:54:52 UTC 2013


-----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 at 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 at freebsd.org mailing list 
>> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To
>> unsubscribe, send any mail to
>> "freebsd-hackers-unsubscribe at freebsd.org"
> 
> _______________________________________________ 
> freebsd-hackers at freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To
> unsubscribe, send any mail to
> "freebsd-hackers-unsubscribe at 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-----


More information about the freebsd-hackers mailing list