Skip to content

Commit 18895a3

Browse files
committed
Add SYS_gettid
1 parent 91ef172 commit 18895a3

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

src/unix/notbsd/linux/other/b32/arm.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ pub const SO_SNDTIMEO: ::c_int = 21;
1818

1919
pub const FIOCLEX: ::c_ulong = 0x5451;
2020
pub const FIONBIO: ::c_ulong = 0x5421;
21+
22+
pub const SYS_gettid: ::c_int = 178;

src/unix/notbsd/linux/other/b32/powerpc.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ pub const SO_SNDTIMEO: ::c_int = 19;
1818

1919
pub const FIOCLEX: ::c_ulong = 0x20006601;
2020
pub const FIONBIO: ::c_ulong = 0x8004667e;
21+
22+
pub const SYS_gettid: ::c_int = 207;

src/unix/notbsd/linux/other/b32/x86.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ pub const SO_SNDTIMEO: ::c_int = 21;
1919
pub const FIOCLEX: ::c_ulong = 0x5451;
2020
pub const FIONBIO: ::c_ulong = 0x5421;
2121

22+
pub const SYS_gettid: ::c_int = 224;
23+
2224
s! {
2325

2426
pub struct mcontext_t {

src/unix/notbsd/linux/other/b64/aarch64.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ pub const SO_SNDTIMEO: ::c_int = 21;
2626
pub const FIOCLEX: ::c_ulong = 0x5451;
2727
pub const FIONBIO: ::c_ulong = 0x5421;
2828

29+
pub const SYS_gettid: ::c_int = 178;
30+
2931
s! {
3032
pub struct stat {
3133
pub st_dev: ::dev_t,

src/unix/notbsd/linux/other/b64/powerpc64.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ pub const SO_SNDTIMEO: ::c_int = 19;
2626
pub const FIOCLEX: ::c_ulong = 0x20006601;
2727
pub const FIONBIO: ::c_ulong = 0x8004667e;
2828

29+
pub const SYS_gettid: ::c_int = 207;
30+
2931
s! {
3032
pub struct stat {
3133
pub st_dev: ::dev_t,

src/unix/notbsd/linux/other/b64/x86_64.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ pub const PTRACE_SETFPXREGS: ::c_uint = 19;
3333
pub const PTRACE_GETREGS: ::c_uint = 12;
3434
pub const PTRACE_SETREGS: ::c_uint = 13;
3535

36+
pub const SYS_gettid: ::c_int = 186;
37+
3638
s! {
3739
pub struct stat {
3840
pub st_dev: ::dev_t,

0 commit comments

Comments
 (0)