]> git.ipfire.org Git - thirdparty/systemd.git/commit
missing_sched: add CLONE_PIDFD
authorMichael Olbrich <m.olbrich@pengutronix.de>
Sun, 9 Feb 2025 12:32:36 +0000 (13:32 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 9 Feb 2025 15:43:53 +0000 (00:43 +0900)
commite91c5cf06ab7ca9e5576c6feac5f743927f2b063
tree8354165598e263812094b59fb0c6dc487e55a0c7
parentaaa274ed7f67a93e8cc0718d8afb83106d46f76f
missing_sched: add CLONE_PIDFD

CLONE_PIDFD was introduced in v5.2 and in sched.h in glibc-2.31 so
without this, building with older version fails with:

src/basic/raw-clone.h:41:108: error: 'CLONE_PIDFD' undeclared (first use in this function); did you mean 'CLONE_FILES'?
src/basic/missing_sched.h
src/basic/raw-clone.h