Skip to content
This repository has been archived by the owner on Jan 6, 2025. It is now read-only.

Compile-in clone3() crash fix even when the glibc version is < 2.34 #127

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

arter97
Copy link

@arter97 arter97 commented Mar 5, 2023

Commit merged in #123 fixes clone3() crashes on glibc 2.34+.

However, with the #ifdef SYS_clone3 guard, libsyscall_intercept.so built with glibc < 2.34 will not work with 2.34+.

Fix this by integrating the relevant parts from the linux and glibc headers directly.

Commit merged in pmem#123
fixes clone3() crashes on glibc 2.34+.

However, with the `#ifdef SYS_clone3` guard, libsyscall_intercept.so
built with glibc < 2.34 will not work with 2.34+.

Fix this by integrating the relevant parts from the linux and glibc
headers directly.

Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
@en4bz
Copy link
Collaborator

en4bz commented Mar 6, 2023

The presence of clone3 is determined by the kernel version, not the glibc version so the title is incorrect. Clone3 was added in kernel 5.3.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants