Menu

Emulation environment

2012-02-05
2013-04-30
  • Hans B Pufal

    Hans B Pufal - 2012-02-05

    As of version 1.1.0, an emulator runs in a temporary subdirectory but the working directory is not changed.  I suggest that the working  directory be set to the execution directory before starting the emulator. Since the emulators run unvetted programs it is conceivable that this could represent a security risk on the server. and that, at least in *nix type system, the emulators be constrained by a chroot to the same execution directory.

     
  • Bram Lohman

    Bram Lohman - 2012-02-09

    Hi Hans,
    Thanks for your comments.
    We've been looking into this issue for some time now, and aren't quite happy with the way the working directories work either. However, we are constrained by the limitations of running the Emulation Framework through the Java virtual machine, which means that starting external processes (such as emulators), must be done using absolute paths.

    As for security risks: Java runs applications in a JVM sandbox so that takes care of the EF; the emulator processes will be run with the same permission as the users so I strongly suggest to not run the EF root/superuser. Although we try to ensure the external programs are safe, as always caveat emptor!

    Regards,
    Bram Lohman
    Emulation Framework team

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.