python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Linux: let a process fail, if it does opens a file for writing
I would like a command-line-tool to fail if it opens a particular file for writing.
Is there a way I can modify the environment (maybe via cgroups) of the command-line tool, so that the command/proces...

guettli
Votes: 0
Answers: 2
No output when JIT compile RISC-V assembly
I'm writing myself a toy JIT compiler, it basically just mmap a chunk of memory, write binary to it, mark this chunk of memory as executable, convert it to a function pointer and call it. It works wel...

Emanon
Votes: 0
Answers: 0
Python3 Ptrace duplicate syscalls
I'm trying to build a simple version of starce, which shows you the first x syscalls a process made. The problem is that currently it seems like every syscall appears twice (except execve and exit_gro...

Yuval.R
Votes: 0
Answers: 1
Why is 64-bit NASM insisting on the RSI register ? Why can't I put "hello world" into RCX register and use SYSCALL?
I have this x86 assembly code for a "hello world" program.
global _start
section .text
_start:
mov eax, 1 ; system call for write
mov ebx, 1 ...
vinod-vms
Votes: 0
Answers: 1