mailing list of musl libc
 help / color / mirror / code / Atom feed
d2f58eb10daeecc5d187bb4653a131bea4b1f50f blob 1665 bytes (raw)

 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
 
#define MAP_FAILED ((void *) -1)

#define	PROT_NONE      0
#define	PROT_READ      1
#define	PROT_WRITE     2
#define	PROT_EXEC      4
#define	PROT_GROWSDOWN 0x01000000
#define	PROT_GROWSUP   0x02000000

#define	MAP_SHARED     0x01
#define	MAP_PRIVATE    0x02
#define	MAP_FIXED      0x10

#define MAP_TYPE       0x0f
#undef MAP_FILE
#define MAP_FILE       0x00
#undef MAP_ANON
#define MAP_ANON       0x800
#define MAP_ANONYMOUS  MAP_ANON
#undef MAP_NORESERVE
#define MAP_NORESERVE  0x0400
#undef MAP_GROWSDOWN
#define MAP_GROWSDOWN  0x1000
#undef MAP_DENYWRITE
#define MAP_DENYWRITE  0x2000
#undef MAP_EXECUTABLE
#define MAP_EXECUTABLE 0x4000
#undef MAP_LOCKED
#define MAP_LOCKED     0x8000
#undef MAP_POPULATE
#define MAP_POPULATE   0x10000
#undef MAP_NONBLOCK
#define MAP_NONBLOCK   0x20000
#undef MAP_STACK
#define MAP_STACK      0x40000
#undef MAP_HUGETLB
#define MAP_HUGETLB    0x80000

#define POSIX_MADV_NORMAL       0
#define POSIX_MADV_RANDOM       1
#define POSIX_MADV_SEQUENTIAL   2
#define POSIX_MADV_WILLNEED     3
#define POSIX_MADV_DONTNEED     4

#define MS_ASYNC        1
#define MS_INVALIDATE   2
#define MS_SYNC         4

#define MCL_CURRENT     1
#define MCL_FUTURE      2

#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define MADV_NORMAL      0
#define MADV_RANDOM      1
#define MADV_SEQUENTIAL  2
#define MADV_WILLNEED    3
#define MADV_DONTNEED    4
#define MADV_REMOVE      9
#define MADV_DONTFORK    10
#define MADV_DOFORK      11
#define MADV_MERGEABLE   12
#define MADV_UNMERGEABLE 13
#define MADV_HUGEPAGE    14
#define MADV_NOHUGEPAGE  15
#define MADV_DONTDUMP    16
#define MADV_DODUMP      17
#define MADV_HWPOISON    100
#endif
debug log:

solving d2f58eb1 ...
found d2f58eb1 in https://inbox.vuxu.org/musl/20240227232430.GM4163@brightrain.aerifal.cx/

applying [1/1] https://inbox.vuxu.org/musl/20240227232430.GM4163@brightrain.aerifal.cx/
diff --git a/arch/xtensa/bits/mman.h b/arch/xtensa/bits/mman.h
new file mode 100644
index 00000000..d2f58eb1

Checking patch arch/xtensa/bits/mman.h...
Applied patch arch/xtensa/bits/mman.h cleanly.

index at:
100644 d2f58eb10daeecc5d187bb4653a131bea4b1f50f	arch/xtensa/bits/mman.h

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).