-
Notifications
You must be signed in to change notification settings - Fork 0
/
s7_cargo_libc_b64modrs.patch
130 lines (122 loc) · 4.79 KB
/
s7_cargo_libc_b64modrs.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
--- a/src/unix/notbsd/linux/musl/b64/mod.rs
+++ b/src/unix/notbsd/linux/musl/b64/mod.rs
@@ -136,8 +136,8 @@
pub const O_ASYNC: ::c_int = 0x2000;
-pub const FIOCLEX: ::c_int = 0x5451;
-pub const FIONBIO: ::c_int = 0x5421;
+// MJS pub const FIOCLEX: ::c_int = 0x5451;
+// MJS pub const FIONBIO: ::c_int = 0x5421;
pub const RLIMIT_RSS: ::c_int = 5;
pub const RLIMIT_NOFILE: ::c_int = 7;
@@ -172,7 +172,7 @@
pub const SOL_SOCKET: ::c_int = 1;
-pub const EDEADLK: ::c_int = 35;
+// MJS pub const EDEADLK: ::c_int = 35;
pub const ENAMETOOLONG: ::c_int = 36;
pub const ENOLCK: ::c_int = 37;
pub const ENOSYS: ::c_int = 38;
@@ -194,7 +194,7 @@
pub const ENOANO: ::c_int = 55;
pub const EBADRQC: ::c_int = 56;
pub const EBADSLT: ::c_int = 57;
-pub const EDEADLOCK: ::c_int = EDEADLK;
+// MJS pub const EDEADLOCK: ::c_int = EDEADLK;
pub const EMULTIHOP: ::c_int = 72;
pub const EBADMSG: ::c_int = 74;
pub const EOVERFLOW: ::c_int = 75;
@@ -272,12 +272,12 @@
pub const SO_LINGER: ::c_int = 13;
pub const SO_BSDCOMPAT: ::c_int = 14;
pub const SO_REUSEPORT: ::c_int = 15;
-pub const SO_PASSCRED: ::c_int = 16;
-pub const SO_PEERCRED: ::c_int = 17;
-pub const SO_RCVLOWAT: ::c_int = 18;
-pub const SO_SNDLOWAT: ::c_int = 19;
-pub const SO_RCVTIMEO: ::c_int = 20;
-pub const SO_SNDTIMEO: ::c_int = 21;
+// MJS pub const SO_PASSCRED: ::c_int = 16;
+// MJS pub const SO_PEERCRED: ::c_int = 17;
+// MJS pub const SO_RCVLOWAT: ::c_int = 18;
+// MJS pub const SO_SNDLOWAT: ::c_int = 19;
+// MJS pub const SO_RCVTIMEO: ::c_int = 20;
+// MJS pub const SO_SNDTIMEO: ::c_int = 21;
pub const SO_ACCEPTCONN: ::c_int = 30;
pub const SO_SNDBUFFORCE: ::c_int = 32;
pub const SO_RCVBUFFORCE: ::c_int = 33;
@@ -323,43 +323,43 @@
pub const F_SETOWN: ::c_int = 8;
pub const VEOF: usize = 4;
-pub const VEOL: usize = 11;
-pub const VEOL2: usize = 16;
-pub const VMIN: usize = 6;
-pub const IEXTEN: ::tcflag_t = 0x00008000;
-pub const TOSTOP: ::tcflag_t = 0x00000100;
-pub const FLUSHO: ::tcflag_t = 0x00001000;
+// MJS pub const VEOL: usize = 11;
+// MJS pub const VEOL2: usize = 16;
+// MJS pub const VMIN: usize = 6;
+// MJS pub const IEXTEN: ::tcflag_t = 0x00008000;
+// MJS pub const TOSTOP: ::tcflag_t = 0x00000100;
+// MJS pub const FLUSHO: ::tcflag_t = 0x00001000;
-pub const TCGETS: ::c_int = 0x5401;
-pub const TCSETS: ::c_int = 0x5402;
-pub const TCSETSW: ::c_int = 0x5403;
-pub const TCSETSF: ::c_int = 0x5404;
-pub const TCGETA: ::c_int = 0x5405;
-pub const TCSETA: ::c_int = 0x5406;
-pub const TCSETAW: ::c_int = 0x5407;
-pub const TCSETAF: ::c_int = 0x5408;
-pub const TCSBRK: ::c_int = 0x5409;
-pub const TCXONC: ::c_int = 0x540A;
-pub const TCFLSH: ::c_int = 0x540B;
-pub const TIOCGSOFTCAR: ::c_int = 0x5419;
-pub const TIOCSSOFTCAR: ::c_int = 0x541A;
-pub const TIOCLINUX: ::c_int = 0x541C;
-pub const TIOCGSERIAL: ::c_int = 0x541E;
-pub const TIOCEXCL: ::c_int = 0x540C;
-pub const TIOCNXCL: ::c_int = 0x540D;
-pub const TIOCSCTTY: ::c_int = 0x540E;
-pub const TIOCGPGRP: ::c_int = 0x540F;
-pub const TIOCSPGRP: ::c_int = 0x5410;
-pub const TIOCOUTQ: ::c_int = 0x5411;
-pub const TIOCSTI: ::c_int = 0x5412;
-pub const TIOCGWINSZ: ::c_int = 0x5413;
-pub const TIOCSWINSZ: ::c_int = 0x5414;
-pub const TIOCMGET: ::c_int = 0x5415;
-pub const TIOCMBIS: ::c_int = 0x5416;
-pub const TIOCMBIC: ::c_int = 0x5417;
-pub const TIOCMSET: ::c_int = 0x5418;
-pub const FIONREAD: ::c_int = 0x541B;
-pub const TIOCCONS: ::c_int = 0x541D;
+// MJS pub const TCGETS: ::c_int = 0x5401;
+// MJS pub const TCSETS: ::c_int = 0x5402;
+// MJS pub const TCSETSW: ::c_int = 0x5403;
+// MJS pub const TCSETSF: ::c_int = 0x5404;
+// MJS pub const TCGETA: ::c_int = 0x5405;
+// MJS pub const TCSETA: ::c_int = 0x5406;
+// MJS pub const TCSETAW: ::c_int = 0x5407;
+// MJS pub const TCSETAF: ::c_int = 0x5408;
+// MJS pub const TCSBRK: ::c_int = 0x5409;
+// MJS pub const TCXONC: ::c_int = 0x540A;
+// MJS pub const TCFLSH: ::c_int = 0x540B;
+// MJS pub const TIOCGSOFTCAR: ::c_int = 0x5419;
+// MJS pub const TIOCSSOFTCAR: ::c_int = 0x541A;
+// MJS pub const TIOCLINUX: ::c_int = 0x541C;
+// MJS pub const TIOCGSERIAL: ::c_int = 0x541E;
+// MJS pub const TIOCEXCL: ::c_int = 0x540C;
+// MJS pub const TIOCNXCL: ::c_int = 0x540D;
+// MJS pub const TIOCSCTTY: ::c_int = 0x540E;
+// MJS pub const TIOCGPGRP: ::c_int = 0x540F;
+// MJS pub const TIOCSPGRP: ::c_int = 0x5410;
+// MJS pub const TIOCOUTQ: ::c_int = 0x5411;
+// MJS pub const TIOCSTI: ::c_int = 0x5412;
+// MJS pub const TIOCGWINSZ: ::c_int = 0x5413;
+// MJS pub const TIOCSWINSZ: ::c_int = 0x5414;
+// MJS pub const TIOCMGET: ::c_int = 0x5415;
+// MJS pub const TIOCMBIS: ::c_int = 0x5416;
+// MJS pub const TIOCMBIC: ::c_int = 0x5417;
+// MJS pub const TIOCMSET: ::c_int = 0x5418;
+// MJS pub const FIONREAD: ::c_int = 0x541B;
+// MJS pub const TIOCCONS: ::c_int = 0x541D;
pub const POLLWRNORM: ::c_short = 0x100;
pub const POLLWRBAND: ::c_short = 0x200;