@@ -180,6 +180,14 @@ libc_support_library(
180
180
],
181
181
)
182
182
183
+ libc_support_library (
184
+ name = "hdr_unistd_macros" ,
185
+ hdrs = ["hdr/unistd_macros.h" ],
186
+ deps = [
187
+ ":hdr_unistd_overlay" ,
188
+ ],
189
+ )
190
+
183
191
libc_support_library (
184
192
name = "hdr_limits_macros" ,
185
193
hdrs = ["hdr/limits_macros.h" ],
@@ -195,6 +203,11 @@ libc_support_library(
195
203
hdrs = ["hdr/stdlib_overlay.h" ],
196
204
)
197
205
206
+ libc_support_library (
207
+ name = "hdr_unistd_overlay" ,
208
+ hdrs = ["hdr/unistd_overlay.h" ],
209
+ )
210
+
198
211
############################ Type Proxy Header Files ###########################
199
212
200
213
libc_support_library (
@@ -300,6 +313,11 @@ libc_support_library(
300
313
hdrs = ["hdr/types/pid_t.h" ],
301
314
)
302
315
316
+ libc_support_library (
317
+ name = "types_uid_t" ,
318
+ hdrs = ["hdr/types/uid_t.h" ],
319
+ )
320
+
303
321
libc_support_library (
304
322
name = "types_off_t" ,
305
323
hdrs = ["hdr/types/off_t.h" ],
@@ -3996,6 +4014,7 @@ libc_function(
3996
4014
":__support_common" ,
3997
4015
":__support_osutil_syscall" ,
3998
4016
":errno" ,
4017
+ ":hdr_unistd_macros" ,
3999
4018
],
4000
4019
)
4001
4020
@@ -4008,6 +4027,7 @@ libc_function(
4008
4027
":__support_osutil_syscall" ,
4009
4028
":errno" ,
4010
4029
":hdr_fcntl_macros" ,
4030
+ ":hdr_unistd_macros" ,
4011
4031
],
4012
4032
)
4013
4033
@@ -4023,6 +4043,7 @@ libc_function(
4023
4043
":__support_common" ,
4024
4044
":__support_osutil_syscall" ,
4025
4045
":errno" ,
4046
+ ":hdr_unistd_macros" ,
4026
4047
],
4027
4048
)
4028
4049
@@ -4067,6 +4088,8 @@ libc_function(
4067
4088
":__support_common" ,
4068
4089
":__support_osutil_syscall" ,
4069
4090
":errno" ,
4091
+ ":hdr_unistd_macros" ,
4092
+ ":types_off_t" ,
4070
4093
],
4071
4094
)
4072
4095
@@ -4078,6 +4101,8 @@ libc_function(
4078
4101
# ":__support_common",
4079
4102
# ":__support_osutil_syscall",
4080
4103
# ":errno",
4104
+ # ":hdr_unistd_macros",
4105
+ # ":types_size_t",
4081
4106
# ],
4082
4107
# )
4083
4108
@@ -4089,6 +4114,9 @@ libc_function(
4089
4114
":__support_common" ,
4090
4115
":__support_osutil_syscall" ,
4091
4116
":errno" ,
4117
+ ":hdr_unistd_macros" ,
4118
+ ":types_size_t" ,
4119
+ ":types_uid_t" ,
4092
4120
],
4093
4121
)
4094
4122
@@ -4100,6 +4128,8 @@ libc_function(
4100
4128
":__support_common" ,
4101
4129
":__support_osutil_syscall" ,
4102
4130
":errno" ,
4131
+ ":hdr_unistd_macros" ,
4132
+ ":types_pid_t" ,
4103
4133
],
4104
4134
)
4105
4135
@@ -4111,6 +4141,8 @@ libc_function(
4111
4141
":__support_common" ,
4112
4142
":__support_osutil_syscall" ,
4113
4143
":errno" ,
4144
+ ":hdr_unistd_macros" ,
4145
+ ":types_uid_t" ,
4114
4146
],
4115
4147
)
4116
4148
@@ -4125,6 +4157,7 @@ libc_function(
4125
4157
# ":__support_file_file",
4126
4158
# ":__support_osutil_syscall",
4127
4159
# ":errno",
4160
+ # ":hdr_unistd_macros",
4128
4161
# ],
4129
4162
# )
4130
4163
@@ -4136,6 +4169,7 @@ libc_function(
4136
4169
":__support_common" ,
4137
4170
":__support_osutil_syscall" ,
4138
4171
":errno" ,
4172
+ ":hdr_unistd_macros" ,
4139
4173
],
4140
4174
)
4141
4175
@@ -4148,6 +4182,7 @@ libc_function(
4148
4182
":__support_osutil_syscall" ,
4149
4183
":errno" ,
4150
4184
":hdr_fcntl_macros" ,
4185
+ ":hdr_unistd_macros" ,
4151
4186
],
4152
4187
)
4153
4188
@@ -4160,6 +4195,7 @@ libc_function(
4160
4195
":__support_osutil_syscall" ,
4161
4196
":errno" ,
4162
4197
":hdr_fcntl_macros" ,
4198
+ ":hdr_unistd_macros" ,
4163
4199
],
4164
4200
)
4165
4201
@@ -4184,6 +4220,8 @@ libc_function(
4184
4220
":__support_file_linux_lseekimpl" ,
4185
4221
":__support_osutil_syscall" ,
4186
4222
":errno" ,
4223
+ ":hdr_unistd_macros" ,
4224
+ ":types_off_t" ,
4187
4225
],
4188
4226
)
4189
4227
@@ -4200,6 +4238,10 @@ libc_function(
4200
4238
":__support_macros_sanitizer" ,
4201
4239
":__support_osutil_syscall" ,
4202
4240
":errno" ,
4241
+ ":hdr_unistd_macros" ,
4242
+ ":types_off_t" ,
4243
+ ":types_size_t" ,
4244
+ ":types_ssize_t" ,
4203
4245
],
4204
4246
)
4205
4247
@@ -4215,6 +4257,10 @@ libc_function(
4215
4257
":__support_common" ,
4216
4258
":__support_osutil_syscall" ,
4217
4259
":errno" ,
4260
+ ":hdr_unistd_macros" ,
4261
+ ":types_off_t" ,
4262
+ ":types_size_t" ,
4263
+ ":types_ssize_t" ,
4218
4264
],
4219
4265
)
4220
4266
@@ -4228,6 +4274,9 @@ libc_function(
4228
4274
":__support_macros_sanitizer" ,
4229
4275
":__support_osutil_syscall" ,
4230
4276
":errno" ,
4277
+ ":hdr_unistd_macros" ,
4278
+ ":types_size_t" ,
4279
+ ":types_ssize_t" ,
4231
4280
],
4232
4281
)
4233
4282
@@ -4240,6 +4289,9 @@ libc_function(
4240
4289
":__support_osutil_syscall" ,
4241
4290
":errno" ,
4242
4291
":hdr_fcntl_macros" ,
4292
+ ":hdr_unistd_macros" ,
4293
+ ":types_size_t" ,
4294
+ ":types_ssize_t" ,
4243
4295
],
4244
4296
)
4245
4297
@@ -4252,6 +4304,9 @@ libc_function(
4252
4304
":__support_osutil_syscall" ,
4253
4305
":errno" ,
4254
4306
":hdr_fcntl_macros" ,
4307
+ ":hdr_unistd_macros" ,
4308
+ ":types_size_t" ,
4309
+ ":types_ssize_t" ,
4255
4310
],
4256
4311
)
4257
4312
@@ -4276,6 +4331,7 @@ libc_function(
4276
4331
":__support_osutil_syscall" ,
4277
4332
":errno" ,
4278
4333
":hdr_fcntl_macros" ,
4334
+ ":hdr_unistd_macros" ,
4279
4335
],
4280
4336
)
4281
4337
@@ -4288,6 +4344,7 @@ libc_function(
4288
4344
":__support_osutil_syscall" ,
4289
4345
":errno" ,
4290
4346
":hdr_fcntl_macros" ,
4347
+ ":hdr_unistd_macros" ,
4291
4348
],
4292
4349
)
4293
4350
@@ -4302,6 +4359,7 @@ libc_function(
4302
4359
# ":__support_common",
4303
4360
# ":__support_osutil_syscall",
4304
4361
# ":errno",
4362
+ # ":hdr_unistd_macros",
4305
4363
# ],
4306
4364
# )
4307
4365
@@ -4313,6 +4371,8 @@ libc_function(
4313
4371
":__support_common" ,
4314
4372
":__support_osutil_syscall" ,
4315
4373
":errno" ,
4374
+ ":hdr_unistd_macros" ,
4375
+ ":types_ssize_t" ,
4316
4376
],
4317
4377
)
4318
4378
@@ -4324,6 +4384,8 @@ libc_function(
4324
4384
":__support_common" ,
4325
4385
":__support_osutil_syscall" ,
4326
4386
":errno" ,
4387
+ ":hdr_unistd_macros" ,
4388
+ ":types_off_t" ,
4327
4389
],
4328
4390
)
4329
4391
@@ -4360,6 +4422,9 @@ libc_function(
4360
4422
":__support_common" ,
4361
4423
":__support_osutil_syscall" ,
4362
4424
":errno" ,
4425
+ ":hdr_unistd_macros" ,
4426
+ ":types_size_t" ,
4427
+ ":types_ssize_t" ,
4363
4428
],
4364
4429
)
4365
4430
0 commit comments