6 ms·
I'd love to see a video of the demo session for this; really curious how ProcMon and AV tools will deal with ELF binaries in this release.
by coverband 10y ago
I'd love to see a video of the demo session for this; really curious how ProcMon and AV tools will deal with ELF binaries in this release.
- Analemma_ 10y agoWill they even try? WSL isn't installed by default, you have to specifically ask for it, and presumably only a small percentage of Windows 10 installs are developers who'll be doing that. I don't know if malware writers will bother with it.
- sdrinf 10y agoScreenshot: http://imgur.com/a/5Fcr9 http://imgur.com/a/5Fcr9 Short summary: * Ubuntu, and all children apps run under current user's credentials, but are launched under an Lxssmanager servicehost process (as opposed to explorer.exe) * ProcMon can interact (send sigterm / etc to) unix processes; but as shown on htop, unix processes are not aware of windows ones; nor have I found any ways to send signals backwards * API compatibility is excellent. Last 2 days, I have re-compiled a full python & elasticsearch & mysql stack into this. Overhead is significantly lower, than any of the virtualization stacks * I don't use AV tools; however, I suspect they don't check for ELF files. Host system is mounted in /mnt/c , /mnt/d ,etc in LXSS, with current-windows-user creds * 2-command Sandbox reset: lxrun /uninstall & lxrun /install <- will restore the linux subsystem to factory default * LXSS root dir (/usr /var, etc) is in c:\Users\$username$\AppData\Local\lxss\rootfs\ ; home is mounted into c:\Users\$username$\AppData\Local\lxss\home\$username$\ And some caveats: * Filewatching (specifically, inotify_add_watch ) does not (yet) work * Manipulating files from the host occasionally makes it _disappear_ (??!) from visibility in the linux subsystem. Specifically, git pull from bash, then git update from host makes git update from bash impossible (index file open failed). Same problems with other types of host file-manipulation. This might be due to permissions, or somethings I haven't figured out yet.
- Zardoz84 10y agoAnd there is some strange behaviour with the keys. Actually using LXSS become far lees powerfull to the users of Conemu thanks to this. Vim and NeoVim does weird things with the arrows, on mc I can't navigate on the filesytem with the cursors, and htop does weird things.
- sdrinf 10y agoI suspect that might be conemu, and compatibility thereof. Specifically, running the bog-standard bash prompt (with conhost.exe) makes this a no-repro; all keys / arrows works in MC & htop
- GeorgeHahn 10y agoUnfortunately, it appears to be a design problem on the Microsoft side: https://github.com/Microsoft/BashOnWindows/issues/111#issuecomment-232733125 https://github.com/Microsoft/BashOnWindows/issues/111#issuec...
- Zekio 10y agoyou can get ubuntu bash into ConEmu with just: -new_console bash ~
- mmebane 10y agoOr, with current stable (160724), install "Bash on Ubuntu On Windows" (ugh), then in ConEmu, open the Tasks section in Settings and click "Add default tasks...", then Yes. You may want to add the tilde to the path, as it seems to open to /mnt/c/Users/<username>/. Also, I think it still messes with the keys, but not always. They seem to work fine right after starting it.
- deleted 10y ago[deleted]
- rrdharan 10y ago> unix processes are not aware of windows ones; nor have I found any ways to send signals backwards I haven't tried it out, but this project claims to offer support for doing exactly that: https://github.com/xilun/cbwin/ https://github.com/xilun/cbwin/