Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions linux-user/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,9 @@ void fork_start(void)
mmap_fork_start();
sigact_fork_start();
path_fork_start();
#ifdef CONFIG_LATX
latx_syscall_fs_fork_start();
#endif
fd_trans_fork_start();
cpu_list_lock();
}
Expand All @@ -229,6 +232,9 @@ void fork_end(int child)
sigact_fork_end(child);
path_fork_end(child);
fd_trans_fork_end();
#ifdef CONFIG_LATX
latx_syscall_fs_fork_end();
#endif
if (child) {
CPUState *cpu, *next_cpu;
/* Child processes created by fork() only have a single thread.
Expand Down
4 changes: 4 additions & 0 deletions linux-user/qemu.h
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,10 @@ void fork_start(void);
void fork_end(int child);
void fd_trans_fork_start(void);
void fd_trans_fork_end(void);
#ifdef CONFIG_LATX
void latx_syscall_fs_fork_start(void);
void latx_syscall_fs_fork_end(void);
#endif

/**
* probe_guest_base:
Expand Down
Loading