Adds constants DEF_MODE_FILE and DEF_MODE_DIR

This commit is contained in:
2025-07-27 21:45:32 +02:00
parent f18de90868
commit a8bc8cfa2e
2 changed files with 3 additions and 1 deletions

View File

@@ -113,7 +113,7 @@ fopen:
pop rdi
push rdi
not rax
mov rsi, 0666q
mov rsi, DEF_MODE_FILE
and rsi, rax
mov rax, NR_creat
syscall