Open spdegabrielle opened 5 years ago
I tried Rob's suggestion, defined a nop function as (define (install-security-guard) #f) to replace the original one in the expanding-place.rkt, then I can load external libraries success now.
Thanks
-- quote --
Robby Findler | Aug 28
I think the best path forward probably involves changing DrRacket so that, on a case-by-case basis, people can opt-in to loading specific external libraries automatically. I've not yet tried to implement that, but if someone wants to, the right starting place is the code that currently disallows the access, which is here:
There would be changes required to identify that a shared library load was denied, convey that back to the main place where DrRacket runs, then add some way to offer people to allow it, which would then set a preference somehow and the other place could consult that preference to see what is allowed. Something like that.
I like this idea and hope to get to it eventually, but I can't do it right now.
Robby
changing DrRacket so that, on a case-by-case basis, people can opt-in to loading specific external libraries automatically
See https://groups.google.com/d/msg/racket-users/KkEuF4XPS7Y/fvdftxHVEAAJ