Skip to content

Instantly share code, notes, and snippets.

@labaneilers
Created April 9, 2019 15:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save labaneilers/1e8049c6fa87301ab8ddf93564330ac9 to your computer and use it in GitHub Desktop.
Save labaneilers/1e8049c6fa87301ab8ddf93564330ac9 to your computer and use it in GitHub Desktop.
wslpath bug
125 execve("/bin/wslpath", ["wslpath", "/c/some/path"], [/* 18 vars */]) = 0
125 arch_prctl(ARCH_SET_FS, 0x61c0b8) = 0
125 set_tid_address(0x61c0f0) = 125
125 getpid() = 125
125 brk(NULL) = 0x1893000
125 brk(0x1894000) = 0x1894000
125 open("/dev/lxssclient", O_RDWR) = 3
125 getcwd("/c/frb/wsl-bug", 4096) = 15
125 open("/c/frb/wsl-bug", O_RDONLY|O_NOFOLLOW|O_PATH) = 4
125 ioctl(3, _IOC(0, 0x00, 0x3f, 0x22), 0x7fffeb5f70c0) = 0
125 close(4) = 0
125 ioctl(3, _IOC(0, 0x00, 0xef, 0x22), 0x7fffeb5f70c0) = -1 ENOENT (No such file or directory)
125 ioctl(3, _IOC(0, 0x00, 0xef, 0x22), 0x7fffeb5f70c0) = -1 ENOENT (No such file or directory)
125 ioctl(3, _IOC(0, 0x00, 0xef, 0x22), 0x7fffeb5f70c0) = -1 ENOENT (No such file or directory)
125 ioctl(3, _IOC(0, 0x00, 0xef, 0x22), 0x7fffeb5f70c0) = 0
125 open("/c/", O_RDONLY|O_DIRECTORY) = 4
125 close(4) = 0
125 ioctl(1, TIOCGWINSZ, {ws_row=63, ws_col=157, ws_xpixel=0, ws_ypixel=0}) = 0
125 writev(1, [{"/c/c/some/path", 14}, {"\n", 1}], 2) = 15
125 exit_group(0) = ?
125 +++ exited with 0 +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment