File tree 8 files changed +0
-18
lines changed
8 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -170,8 +170,6 @@ pub fn restore_rt() callconv(.naked) noreturn {
170
170
}
171
171
}
172
172
173
- pub const MMAP2_UNIT = 4096 ;
174
-
175
173
pub const F = struct {
176
174
pub const DUPFD = 0 ;
177
175
pub const GETFD = 1 ;
Original file line number Diff line number Diff line change @@ -251,8 +251,6 @@ pub const Stat = extern struct {
251
251
252
252
pub const Elf_Symndx = u32 ;
253
253
254
- pub const MMAP2_UNIT = 4096 ;
255
-
256
254
pub const VDSO = void ;
257
255
258
256
/// TODO
Original file line number Diff line number Diff line change @@ -284,10 +284,6 @@ pub const Stat = extern struct {
284
284
285
285
pub const Elf_Symndx = u32 ;
286
286
287
- // m68k has multiple minimum page sizes.
288
- // glibc sets MMAP2_PAGE_UNIT to -1 so it is queried at runtime.
289
- pub const MMAP2_UNIT = -1 ;
290
-
291
287
// glibc 112a0ae18b831bf31f44d81b82666980312511d6
292
288
pub const VDSO = void ;
293
289
Original file line number Diff line number Diff line change @@ -294,8 +294,6 @@ pub const F = struct {
294
294
pub const GETOWNER_UIDS = 17 ;
295
295
};
296
296
297
- pub const MMAP2_UNIT = 4096 ;
298
-
299
297
pub const VDSO = struct {
300
298
pub const CGT_SYM = "__vdso_clock_gettime" ;
301
299
pub const CGT_VER = "LINUX_2.6" ;
Original file line number Diff line number Diff line change @@ -273,8 +273,6 @@ pub const F = struct {
273
273
pub const GETOWNER_UIDS = 17 ;
274
274
};
275
275
276
- pub const MMAP2_UNIT = 4096 ;
277
-
278
276
pub const VDSO = struct {
279
277
pub const CGT_SYM = "__vdso_clock_gettime" ;
280
278
pub const CGT_VER = "LINUX_2.6" ;
Original file line number Diff line number Diff line change @@ -348,7 +348,5 @@ pub const ucontext_t = extern struct {
348
348
349
349
pub const Elf_Symndx = u32 ;
350
350
351
- pub const MMAP2_UNIT = 4096 ;
352
-
353
351
/// TODO
354
352
pub const getcontext = {};
Original file line number Diff line number Diff line change @@ -256,8 +256,6 @@ pub const Stat = extern struct {
256
256
257
257
pub const Elf_Symndx = u32 ;
258
258
259
- pub const MMAP2_UNIT = 4096 ;
260
-
261
259
pub const VDSO = struct {
262
260
pub const CGT_SYM = "__vdso_clock_gettime" ;
263
261
pub const CGT_VER = "LINUX_4.15" ;
Original file line number Diff line number Diff line change @@ -230,8 +230,6 @@ pub const F = struct {
230
230
pub const UNLCK = 2 ;
231
231
};
232
232
233
- pub const MMAP2_UNIT = 4096 ;
234
-
235
233
pub const VDSO = struct {
236
234
pub const CGT_SYM = "__vdso_clock_gettime" ;
237
235
pub const CGT_VER = "LINUX_2.6" ;
You can’t perform that action at this time.
0 commit comments