flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
donn 03 Aug 2020, 19:12
Hi, researching webserver alternatives to some tiny apps with Angular FE, Python BE.
In dev, Angular uses ng serve with webpack-dev-server. The backend uses Flask. In prod, webpack-dev-server is not enough, so one common alternative is nginx. This got me thinking about rwasa. On a Windows box, I have Windows Subsystem for Linux. Is rwasa supported here? I'm getting the following: Code: donn@DESKTOP-14N7ABI:/mnt/c/Users/donn/downloads/HeavyThing-1.24$ ./rwasa/rwasa -bind 2090 -sandbox ../var/www/html setgid() failed. |
|||
![]() |
|
donn 04 Aug 2020, 18:15
Interesting, I commented out the following:
Code: mov eax, syscall_setgid mov rdi, [runasgid] ;syscall ;test eax, eax ;jnz .setgidfail mov eax, syscall_setuid mov rdi, [runasuid] ;syscall ;test eax, eax ;jnz .setuidfail ; deal with detaching cmp dword [background], 0 je .skip_detach for starters. Once my Linux env is more set up, I'll try and report back. Currently getting: Code: donn@DESKTOP-14N7AAI:/mnt/c/users/donn/downloads/HeavyThing-1.24/rwasa$ fasm master.inc -bash: /usr/bin/fasm: cannot execute binary file: Exec format error donn@DESKTOP-14N7AAI:/mnt/c/users/donn/downloads/HeavyThing-1.24/rwasa$ fasm -bash: /usr/bin/fasm: cannot execute binary file: Exec format error which can occur when running on the wrong platform. May need to get a real system instead of this WSL at some point. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.