Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Periodic maintenance PR #1336

Merged
merged 42 commits into from
May 10, 2023
Merged

Periodic maintenance PR #1336

merged 42 commits into from
May 10, 2023

Conversation

elicn
Copy link
Member

@elicn elicn commented Apr 2, 2023

Yet another maintenance PR including bug fixes and various improvements around security and robustness.

Highlights:

  • Revamped the fs_mapper module (might break a few old DOS examples)
  • Eliminated potential path traversal risks where emulated program could access arbitrary resources on the host file system
  • Patched many POSIX system calls to make them better compliant to spec
    • fcntl
    • unistd
    • stat (partially)
  • Replaced the dummy POSIX shm syscalls implementation with a more compliant one
  • Added an initial implementation for POSIX ipc syscall
  • Fixed a bug in which the emulated program could close host standard streams
  • As always, opportunistic PEP8-friendly tweaks to keep it clean an tidy

@elicn elicn marked this pull request as ready for review April 16, 2023 19:09
@elicn elicn requested review from xwings, wtdcode and klks April 16, 2023 19:09
@xwings xwings merged commit 97002fe into qilingframework:dev May 10, 2023
@elicn elicn deleted the dev-improv branch May 11, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants