Skip to content

Commit 8a7eb7f

Browse files
committed
Auto merge of #3086 - howjmay:add-PR_SET_PTRACER_ANY, r=JohnTitor
linux: add PR_SET_PTRACER_ANY fixed #3085
2 parents d3cb0e7 + 2ab05d0 commit 8a7eb7f

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

libc-test/semver/fuchsia.txt

+1
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,7 @@ PR_SET_NAME
671671
PR_SET_NO_NEW_PRIVS
672672
PR_SET_PDEATHSIG
673673
PR_SET_PTRACER
674+
PR_SET_PTRACER_ANY
674675
PR_SET_SECCOMP
675676
PR_SET_SECUREBITS
676677
PR_SET_THP_DISABLE

libc-test/semver/linux.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1800,6 +1800,7 @@ PR_SET_NAME
18001800
PR_SET_NO_NEW_PRIVS
18011801
PR_SET_PDEATHSIG
18021802
PR_SET_PTRACER
1803+
PR_SET_PTRACER_ANY
18031804
PR_SET_SECCOMP
18041805
PR_SET_SECUREBITS
18051806
PR_SET_THP_DISABLE

src/fuchsia/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2602,6 +2602,7 @@ pub const PR_SET_MM_MAP: ::c_int = 14;
26022602
pub const PR_SET_MM_MAP_SIZE: ::c_int = 15;
26032603

26042604
pub const PR_SET_PTRACER: ::c_int = 0x59616d61;
2605+
pub const PR_SET_PTRACER_ANY: ::c_ulong = 0xffffffffffffffff;
26052606

26062607
pub const PR_SET_CHILD_SUBREAPER: ::c_int = 36;
26072608
pub const PR_GET_CHILD_SUBREAPER: ::c_int = 37;

src/unix/linux_like/emscripten/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1119,6 +1119,7 @@ pub const PR_SET_MM_MAP: ::c_int = 14;
11191119
pub const PR_SET_MM_MAP_SIZE: ::c_int = 15;
11201120

11211121
pub const PR_SET_PTRACER: ::c_int = 0x59616d61;
1122+
pub const PR_SET_PTRACER_ANY: ::c_ulong = 0xffffffffffffffff;
11221123

11231124
pub const PR_SET_CHILD_SUBREAPER: ::c_int = 36;
11241125
pub const PR_GET_CHILD_SUBREAPER: ::c_int = 37;

src/unix/linux_like/linux/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -2041,6 +2041,7 @@ pub const PR_SET_MM_MAP: ::c_int = 14;
20412041
pub const PR_SET_MM_MAP_SIZE: ::c_int = 15;
20422042

20432043
pub const PR_SET_PTRACER: ::c_int = 0x59616d61;
2044+
pub const PR_SET_PTRACER_ANY: ::c_ulong = 0xffffffffffffffff;
20442045

20452046
pub const PR_SET_CHILD_SUBREAPER: ::c_int = 36;
20462047
pub const PR_GET_CHILD_SUBREAPER: ::c_int = 37;

0 commit comments

Comments
 (0)