about summary refs log tree commit diff stats
path: root/src/utils/endians.nim
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2024-04-03 18:54:07 +0200
committerbptato <nincsnevem662@gmail.com>2024-04-03 19:08:34 +0200
commit5cf524958fc73d6912aef4866500b0cc46fa1bc6 (patch)
treeacc298fe143f5f9cfd9eff591fd52e5fb1e3866b /src/utils/endians.nim
parentaf92dd1711181586a58843216e5fdd9c48876e59 (diff)
downloadchawan-5cf524958fc73d6912aef4866500b0cc46fa1bc6.tar.gz
sandbox: add OpenBSD pledge/unveil support
pledge is a bit more fine-grained than Capsicum's capability mode,
so the buffer & http ("network") sandboxes are now split up into
two parts.

I applied the same hack as in FreeBSD for overriding the buffer
selector kqueue, because a) I didn't want to request sysctl promise
b) I'm not sure if it would even work and c) if it breaks on OpenBSD,
then it's broken on FreeBSD too, so there's a greater chance of
discovering the bug.
Diffstat (limited to 'src/utils/endians.nim')
0 files changed, 0 insertions, 0 deletions
2'>^
4c13e1f2 ^
34a60763 ^
62cd83ba ^


f07bb12f ^
34a60763 ^
f07bb12f ^
4c13e1f2 ^
34a60763 ^
b3556b21 ^
f07bb12f ^

62cd83ba ^










f07bb12f ^




62cd83ba ^

34a60763 ^

62cd83ba ^





2144cf26 ^
62cd83ba ^
f07bb12f ^





62cd83ba ^
f07bb12f ^





62cd83ba ^
f07bb12f ^
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