forked from GrapheneOS/hardened_malloc
-
Notifications
You must be signed in to change notification settings - Fork 3
/
changelog.upstream
5674 lines (3811 loc) · 172 KB
/
changelog.upstream
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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
commit d70bbf6d4298ef68e7a367393398e038873a97e6
Author: Patrick Schleizer <[email protected]>
Date: Thu Jan 18 08:53:30 2024 -0500
readme
commit 087f1fc647df4e53ee2cd1b39bcf205788f11197
Author: Patrick Schleizer <[email protected]>
Date: Mon Dec 25 17:32:35 2023 +0000
bumped changelog version
commit 262eb51f4c98e956f1a5ce3925ced959cb42ef90
Author: Patrick Schleizer <[email protected]>
Date: Mon Dec 25 12:30:18 2023 -0500
add compatibility symlinks to avoid errors messages during upgrade
commit 3a6dcfdd530b57514d6cd56fec2ece2117d8b342
Author: Patrick Schleizer <[email protected]>
Date: Mon Dec 25 12:22:11 2023 -0500
remove empty transitional package hardened-malloc-kicksecure-enable
was replaced by hardened-malloc-light-enable
commit c90094e92cba8a77db98959b4dd3a9eb9fdb2a7b
Author: Patrick Schleizer <[email protected]>
Date: Mon Dec 25 12:21:42 2023 -0500
wrap
commit 6114e4bc95c778b66e2f0b05440184db5ab06a18
Author: Patrick Schleizer <[email protected]>
Date: Mon Dec 25 12:20:20 2023 -0500
wrap-and-sort -a
commit d2697e65f6d6324c5d418a007736461b01d1ba94
Author: Patrick Schleizer <[email protected]>
Date: Mon Dec 25 12:18:49 2023 -0500
wrap-and-sort
commit f4ea0f076de751d5705e4e388b1f57628dd39775
Author: Patrick Schleizer <[email protected]>
Date: Mon Dec 25 17:15:38 2023 +0000
bumped changelog version
commit cca91c489ef31b2a975c9a3742a1227898b1f20f
Author: Patrick Schleizer <[email protected]>
Date: Mon Dec 25 12:10:04 2023 -0500
usrmerge
commit 56e947ecddd0d9c72731e666b45327277975821e
Author: Patrick Schleizer <[email protected]>
Date: Mon Dec 25 16:26:59 2023 +0000
bumped changelog version
commit a55725c5f104da18e939271250d5a90117088ee9
Author: Patrick Schleizer <[email protected]>
Date: Mon Dec 25 11:25:32 2023 -0500
more legacy file path migration
commit 82555352cebdb54d8700901bfbc2427fb86aaf8a
Author: Patrick Schleizer <[email protected]>
Date: Mon Dec 25 11:22:27 2023 -0500
fix: remove legacy path migration code from hardened-malloc-light-enable to hardened-malloc
so also users who manually enabled Hardened Malloc are covered
not only these who used hardened-malloc-light-enable
commit b3c49c186fb0fe5155071540348c314e3577b0d9
Author: Patrick Schleizer <[email protected]>
Date: Mon Dec 25 11:16:43 2023 -0500
fix: update to new path so /etc/ld.so.preload entry is removed on uninstallation
commit b3805a57a8b091f542b10679ccc34ebc04a1ea99
Author: Patrick Schleizer <[email protected]>
Date: Fri Dec 22 16:30:58 2023 +0000
bumped changelog version
commit e9dca0fc2f757ee1c18e8f544a8e47c239ad7a45
Author: Patrick Schleizer <[email protected]>
Date: Thu Dec 21 10:58:00 2023 -0500
fix: allow hardened malloc to be used by `setuid` programs
- no longer use full path names to hardened malloc library
- `set-user-id` hardened malloc library (`setuid`)
credit to @SkewedZeppelin for research:
https://gist.github.com/SkewedZeppelin/7f293d64c1c651bdc21526519d9e192b
https://forums.whonix.org/t/hardened-malloc-hardened-memory-allocator/7474/224
commit 8e5e9813bff6b76e697eaf45a36be9bb9a545281
Author: Patrick Schleizer <[email protected]>
Date: Sun Oct 1 10:37:52 2023 -0400
bumped changelog version
commit f2ea84a719818256870bd63d23622229e40c4c95
Merge: 8a94c76 903cba5
Author: Patrick Schleizer <[email protected]>
Date: Sun Oct 1 10:35:07 2023 -0400
Merge tag '12'
12
commit 903cba5a84952a84ee2d36ed00d7ca1b2d9b8604
Author: Christian Göttsche <[email protected]>
Date: Wed Sep 27 16:33:18 2023 +0200
test: add regression test for missing init() in realloc()
commit 9cb4e6daf6fb6237611b3e7b18e590add7b9ce95
Author: Christian Göttsche <[email protected]>
Date: Tue Sep 26 17:16:00 2023 +0200
do not skip init() in realloc()
If N_ARENA is greater than 1 `thread_arena` is initially to N_ARENA,
which is an invalid index into `ro.size_class_metadata[]`.
The actual used arena is computed in init().
Ensure init() is called if a new thread is only using realloc() to avoid
UB, e.g. pthread_mutex_lock() might crash due the memory not holding an
initialized mutex.
Affects mesa 23.2.0~rc4.
Example back trace using glmark2 (note `arena=4` with the default
N_ARENA being 4):
Program terminated with signal SIGSEGV, Segmentation fault.
#0 ___pthread_mutex_lock (mutex=0x7edff8d3f200) at ./nptl/pthread_mutex_lock.c:80
type = <optimized out>
__PRETTY_FUNCTION__ = "___pthread_mutex_lock"
id = <optimized out>
#1 0x00007f0ab62091a6 in mutex_lock (m=0x7edff8d3f200) at ./mutex.h:21
No locals.
#2 0x00007f0ab620c9b5 in allocate_small (arena=4, requested_size=24) at h_malloc.c:517
info = {size = 32, class = 2}
size = 32
c = 0x7edff8d3f200
slots = 128
slab_size = 4096
metadata = 0x0
slot = 0
slab = 0x0
p = 0x0
#3 0x00007f0ab6209809 in allocate (arena=4, size=24) at h_malloc.c:1252
No locals.
#4 0x00007f0ab6208e26 in realloc (old=0x72b138199120, size=24) at h_malloc.c:1499
vma_merging_reliable = false
old_size = 16
new = 0x0
copy_size = 139683981990973
#5 0x00007299f919e556 in attach_shader (ctx=0x7299e9ef9000, shProg=0x7370c9277d30, sh=0x7370c9278230) at ../src/mesa/main/shaderapi.c:336
n = 1
#6 0x00007299f904223e in _mesa_unmarshal_AttachShader (ctx=<optimized out>, cmd=<optimized out>) at src/mapi/glapi/gen/marshal_generated2.c:1539
program = <optimized out>
shader = <optimized out>
cmd_size = 2
#7 0x00007299f8f2e3b2 in glthread_unmarshal_batch (job=job@entry=0x7299e9ef9168, gdata=gdata@entry=0x0, thread_index=thread_index@entry=0) at ../src/mesa/main/glthread.c:139
cmd = 0x7299e9ef9180
batch = 0x7299e9ef9168
ctx = 0x7299e9ef9000
pos = 0
used = 3
buffer = 0x7299e9ef9180
shared = <optimized out>
lock_mutexes = <optimized out>
batch_index = <optimized out>
#8 0x00007299f8ecc2d9 in util_queue_thread_func (input=input@entry=0x72c1160e5580) at ../src/util/u_queue.c:309
job = {job = 0x7299e9ef9168, global_data = 0x0, job_size = 0, fence = 0x7299e9ef9168, execute = <optimized out>, cleanup = <optimized out>}
queue = 0x7299e9ef9058
thread_index = 0
#9 0x00007299f8f1bcbb in impl_thrd_routine (p=<optimized out>) at ../src/c11/impl/threads_posix.c:67
pack = {func = 0x7299f8ecc190 <util_queue_thread_func>, arg = 0x72c1160e5580}
#10 0x00007f0ab5aa63ec in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:444
ret = <optimized out>
pd = <optimized out>
out = <optimized out>
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {139683974242608, 2767510063778797177, -168, 11, 140727286820160, 126005371879424, -4369625917767903623, -2847048016936659335}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0,
0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = <optimized out>
#11 0x00007f0ab5b26a2c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
commit 8696431b884f15c0a25d289f2ccacd20ce9b41f4
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Mon Sep 4 17:14:45 2023 +0000
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected]>
commit 8a94c7671ce3059aae627ca6cbfb5decd0ac63bf
Author: Patrick Schleizer <[email protected]>
Date: Mon Jul 17 11:44:11 2023 -0400
bumped changelog version
commit 58a579638e0c19c67ee25bbe04aea39ba4be0a3e
Author: Patrick Schleizer <[email protected]>
Date: Mon Jul 17 11:18:03 2023 -0400
Kicksecure
commit a52358dcffc23edc38fc313dd3a06a777df2a356
Author: Patrick Schleizer <[email protected]>
Date: Wed Jun 21 09:28:28 2023 +0000
bumped changelog version
commit f29d2054c91dd7a6ffb4d90b3062ef86c526c6a2
Author: Patrick Schleizer <[email protected]>
Date: Wed Jun 21 09:18:09 2023 +0000
bumped changelog version
commit d18837b88b6869187059f06b57d3c14df6441758
Author: Patrick Schleizer <[email protected]>
Date: Wed Jun 21 09:11:27 2023 +0000
bookworm
commit a3251561817cd9ed225a997f15c86892b643246e
Author: Patrick Schleizer <[email protected]>
Date: Fri Jun 16 10:57:32 2023 +0000
bumped changelog version
commit df7695810a6a8227446500c029f550d6ead174a7
Author: Patrick Schleizer <[email protected]>
Date: Fri Jun 16 10:49:02 2023 +0000
readme
commit 85a2290060571a3da128e77721b24fa508723403
Author: Patrick Schleizer <[email protected]>
Date: Mon Jun 12 17:52:19 2023 +0000
bumped changelog version
commit af17570308332d2268ef06766dfdb728b3027c8e
Author: Patrick Schleizer <[email protected]>
Date: Mon Jun 12 17:10:27 2023 +0000
re-enable tests
commit 108b4da8bf53e5a74f4cc392bd95c17902ff69ea
Author: Patrick Schleizer <[email protected]>
Date: Mon Jun 12 17:09:18 2023 +0000
fix: compile flag -gdwarf-4 requried because of:
dwz: Unknown debugging section .debug_addr causes some builds to fail
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1016936
export DEB_CFLAGS_MAINT_APPEND += -gdwarf-4
export DEB_CXXFLAGS_MAINT_APPEND += -gdwarf-4
commit 70307d64b351ea6c1a8f92073bc342989c0097c9
Author: Patrick Schleizer <[email protected]>
Date: Mon Jun 12 16:57:13 2023 +0000
remove outdated .travis file
commit 1c2220855a9608f278c24e85abadca53b21f8578
Author: Patrick Schleizer <[email protected]>
Date: Mon Jun 12 16:55:50 2023 +0000
bookworm
commit 6d640410562ccddfc1262abee7be3ccdd21008ef
Author: Patrick Schleizer <[email protected]>
Date: Mon Jun 12 16:22:29 2023 +0000
Standards-Version: 4.6.1.0
commit 9ec5a9ec337ef1fd458909f4c1988e11a4a667d6
Author: Patrick Schleizer <[email protected]>
Date: Mon Jun 12 15:19:21 2023 +0000
bumped changelog version
commit f3da174423503907e53356b43eeeac64bc4a9b14
Author: Patrick Schleizer <[email protected]>
Date: Mon Jun 12 14:51:57 2023 +0000
update copyright year
commit 16128aea5274c31225de575a3066611d9411c7f2
Author: Patrick Schleizer <[email protected]>
Date: Mon Jun 12 14:25:51 2023 +0000
removed outdated .travis.yml file
commit 2d302f7d85944bcaa1ce6419a4c51732f76daaa6
Author: Daniel Micay <[email protected]>
Date: Sat Jun 10 14:58:33 2023 -0400
enable -Wundef
commit d5f9909eca75044c3ef1d3febf6cec7a788a123b
Author: Daniel Micay <[email protected]>
Date: Sat Jun 10 14:58:20 2023 -0400
add missing include
commit 5e1901e85dac0758b485fb43960bb10ce8818652
Author: Daniel Micay <[email protected]>
Date: Sat Jun 10 14:51:54 2023 -0400
silence unwanted tidy warning
commit 462c2c5293b834bcbdde1d3a9389202ae6e809ff
Author: Daniel Micay <[email protected]>
Date: Sat Jun 10 14:17:17 2023 -0400
conditionally include bits/functexcept.h
commit 8f3281ed6a7dd91be18673b1ff15e96a1ab6f421
Author: Daniel Micay <[email protected]>
Date: Sat Jun 10 14:11:07 2023 -0400
enable strict prototypes warning
commit 7d75acc62ad7efec815b31779f8380128dfb5cde
Author: Christian Göttsche <[email protected]>
Date: Thu Jun 16 19:22:46 2022 +0200
use strict prototype
h_malloc.c:83:21: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
83 | static inline void *get_slab_region_end() {
| ^~~~~~~~~~~~~~~~~~~
commit af866a7faa79c47baafea829bbd1ccb69288e909
Author: Christian Göttsche <[email protected]>
Date: Thu Jun 16 19:15:02 2022 +0200
support versioned Clang
make CC=clang-14
clang-14 -std=c17 -O3 -flto -fPIC -fvisibility=hidden -fno-plt -fstack-clash-protection -fstack-protector-strong -pipe -Wall -Wcast-qual -Wextra -Wfloat-equal -Wformat=2 -Winit-self -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wnull-dereference -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings -Wcast-align=strict -Wcast-qual -Wwrite-strings -Werror -march=native -Wmissing-prototypes -D_GNU_SOURCE -I include -DCONFIG_SEAL_METADATA=false -DZERO_ON_FREE=true -DWRITE_AFTER_FREE_CHECK=true -DSLOT_RANDOMIZE=true -DSLAB_CANARY=true -DSLAB_QUARANTINE_RANDOM_LENGTH=1 -DSLAB_QUARANTINE_QUEUE_LENGTH=1 -DCONFIG_EXTENDED_SIZE_CLASSES=true -DCONFIG_LARGE_SIZE_CLASSES=true -DGUARD_SLABS_INTERVAL=1 -DGUARD_SIZE_DIVISOR=2 -DREGION_QUARANTINE_RANDOM_LENGTH=256 -DREGION_QUARANTINE_QUEUE_LENGTH=1024 -DREGION_QUARANTINE_SKIP_THRESHOLD=33554432 -DFREE_SLABS_QUARANTINE_RANDOM_LENGTH=32 -DCONFIG_CLASS_REGION_SIZE=34359738368 -DN_ARENA=4 -DCONFIG_STATS=false -c -o out/chacha.o chacha.c
error: unknown warning option '-Wcast-align=strict'; did you mean '-Wcast-align'? [-Werror,-Wunknown-warning-option]
make: *** [Makefile:114: out/chacha.o] Error 1
commit 64dad0a69f2bb113e6677860314a7951123906dd
Author: Daniel Micay <[email protected]>
Date: Sat Jun 10 14:04:46 2023 -0400
drop legacy glibc support
commit 95c4b40caf26c2a521055bad2c4cd6e05d9de386
Author: Daniel Micay <[email protected]>
Date: Sat Jun 10 14:02:39 2023 -0400
update minimum dependency version list
commit cc70583beb9862339a37ddf5a6be3c827d8ab977
Author: Daniel Micay <[email protected]>
Date: Sat Jun 10 13:59:56 2023 -0400
drop info on MPK with unsupported kernels
commit 62a98efb13fa9ccadc2ab2351b4151d96ccafcfe
Author: Daniel Micay <[email protected]>
Date: Sat Jun 10 13:59:36 2023 -0400
update supported Android branch
commit d3152b8e8ff5070f69e7c991d34f32a429e6a894
Author: Daniel Micay <[email protected]>
Date: Fri Feb 17 12:56:26 2023 -0500
preserve errno for free calls
This is a future POSIX requirement recently implemented by musl and
glibc.
commit 2e9daf312249656ef74108f7dd37cebebf936ad9
Author: Daniel Micay <[email protected]>
Date: Fri Feb 17 12:19:47 2023 -0500
merge fprintf/fputs calls in malloc_info
commit 6038030d0bfd5122bd391bde669998c6e8fdf5cf
Author: Daniel Micay <[email protected]>
Date: Fri Feb 17 11:48:34 2023 -0500
no need to check for -fstack-clash-protection
This is supported by the compiler versions listed as minimum
requirements in the README.
commit 4d23fa37ad579b197b7a18b0210cb75ae898f62c
Author: Daniel Micay <[email protected]>
Date: Fri Feb 17 11:43:58 2023 -0500
enable Intel CET support
commit 6d36e758f51d75cbd353e308837eba0894683f09
Author: Daniel Micay <[email protected]>
Date: Fri Feb 17 11:31:49 2023 -0500
update copyright notice
commit cd9b875297dfb7144e66f4c93d679952941096e7
Author: Daniel Micay <[email protected]>
Date: Fri Feb 17 11:31:26 2023 -0500
reorganize compiler switches
commit 2250130c537fda373a4362cf7727562287eb1168
Author: Daniel Micay <[email protected]>
Date: Fri Sep 16 01:03:47 2022 -0400
remove unnecessary UNUSED marker
commit 72dba6765f36576f7e6eda7e93b4ac7677abb674
Author: Daniel Micay <[email protected]>
Date: Fri Sep 16 00:57:08 2022 -0400
disable tidy identifier length lint
commit 8f38bbdee6d01cbce0fada8e3b044bd0b01cc7c9
Author: Daniel Micay <[email protected]>
Date: Wed Sep 14 03:19:23 2022 -0400
add configuration for self-init
This needs to be disabled for compatibility with the exploit protection
compatibility mode on GrapheneOS. hardened_malloc shouldn't be trying to
initialize itself when exploit protection compatibility mode is enabled.
This has to be handled in our Bionic integration instead.
commit dd427cb3b8b51125edf3fba2f2f5afe87a046e65
Author: Daniel Micay <[email protected]>
Date: Thu Sep 8 23:17:25 2022 -0400
arm64 page table / page size docs
commit b5dd9d11d9fd404d845025c35e8f086cc6e8d288
Author: Daniel Micay <[email protected]>
Date: Thu Sep 8 23:12:46 2022 -0400
raise class region size to 32GB for arm64 Android
commit 72fb3576f568481a03076c62df37984f96bfdfeb
Author: Daniel Micay <[email protected]>
Date: Tue Aug 16 07:47:26 2022 -0400
Android 13 is now all we'll be supporting
commit f8fec401c734d85928948f18d7abe76782558d40
Author: Dmitry Muhomor <[email protected]>
Date: Tue Aug 16 13:35:07 2022 +0300
update Android.bp for Android 13
commit 19ee16d1950ce0453a19aee3f1c19b9dac48468f
Author: Patrick Schleizer <[email protected]>
Date: Sun Jul 10 06:59:33 2022 -0400
bumped changelog version
commit 181110e2787b437c251e1c62e1255a72c8e45ca0
Merge: e2e9b5d 0b396ec
Author: Patrick Schleizer <[email protected]>
Date: Sun Jul 10 06:57:31 2022 -0400
Merge remote-tracking branch 'github-kicksecure/master'
commit 0b396ec2db8ae1dcbc34b0512a7b66ae5ba20298
Merge: e2e9b5d fadb607
Author: Patrick Schleizer <[email protected]>
Date: Sun Jul 10 06:56:15 2022 -0400
Merge pull request #2 from raja-grewal/master
Raised maximum number of memory-mapped areas
commit fadb60701c2ae835b16499c7fab1388a6649f84d
Author: Raja Grewal <[email protected]>
Date: Sun Jul 10 08:09:32 2022 +0000
Raised maximum memory-mapped areas
commit e2e9b5dd1683c5bfd1faeb14f2abd5cdc4c52e1f
Author: Patrick Schleizer <[email protected]>
Date: Wed Jun 8 10:38:53 2022 -0400
bumped changelog version
commit d95a1ad046cf5c3fe55ae9a523463e76d029c438
Author: Patrick Schleizer <[email protected]>
Date: Wed Jun 8 09:24:49 2022 -0400
remove unicode
commit c89417efd5c72e1aa477a796e048126186674981
Author: Patrick Schleizer <[email protected]>
Date: Wed May 25 06:06:31 2022 -0400
bumped changelog version
commit ea150aea627a2ade48b343623302cdeb0d5e3db5
Author: Patrick Schleizer <[email protected]>
Date: Fri May 20 15:27:05 2022 -0400
readme
commit 76e095900ca16161a4d52d008f8199d2eaf2c012
Author: Patrick Schleizer <[email protected]>
Date: Fri May 20 14:46:34 2022 -0400
copyright
commit d9adc720ddae8abeffca41d611396660e61d4616
Author: Patrick Schleizer <[email protected]>
Date: Sun Apr 10 12:40:11 2022 -0400
readme
commit 0d6d63cbe7cb6326bb06e1161b680cb3229f25a0
Author: Daniel Micay <[email protected]>
Date: Fri Mar 11 22:03:25 2022 -0500
improve package installation for CI
commit 8fd31e4bc193f36a7b93342e66da9572800a9259
Author: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Date: Wed Mar 2 17:24:37 2022 +0000
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <[email protected]>
commit b511696c555a03b6fc61e47d212e02d1d6554287
Author: jvoisin <[email protected]>
Date: Mon Feb 7 11:54:57 2022 +0100
clean up includes and remove non-portable includes
This marginally increases the portability of hardened_malloc,
eg. on OSX.
commit 943704de7c6075d84e61581ad1ce46406426ee00
Author: jvoisin <[email protected]>
Date: Sun Feb 6 22:01:51 2022 +0100
Remove __pycache__ as well in `make clean`
commit 04a86566c3047d2488e6f0fb3ea34b372de11b9b
Author: jvoisin <[email protected]>
Date: Fri Jan 28 19:51:00 2022 +0100
Don't depend on gcc_s
commit a5f0e40e085b1003b47d723965d396d75d38206f
Author: Patrick Schleizer <[email protected]>
Date: Thu Jan 27 08:06:58 2022 -0500
bumped changelog version
commit c1c8bf6e896281d88402b7cb07ed5a418f59a48b
Author: Patrick Schleizer <[email protected]>
Date: Thu Jan 27 07:55:12 2022 -0500
bumped changelog version
commit f5fb1e1532979fb0f1519a00be341fe8771cd802
Merge: 7ebd960 995ce07
Author: Patrick Schleizer <[email protected]>
Date: Thu Jan 27 07:53:11 2022 -0500
Merge tag '11'
11
commit 448170a4121518b786a25982dd023f0c85281375
Author: Daniel Micay <[email protected]>
Date: Fri Jan 21 23:59:37 2022 -0500
fix case for non-macro constant
commit 995ce07d4559460b1060991ada7bca1482e4271b
Author: Daniel Micay <[email protected]>
Date: Fri Jan 21 19:46:49 2022 -0500
add is_init likely/unlikely markers
commit c9d1abcd7e1cccd65026fab89206306bbb4d1d3d
Author: Daniel Micay <[email protected]>
Date: Fri Jan 21 19:41:53 2022 -0500
explicitly mark fatal error conditions unlikely
commit 8f0b252c33dac776c8100859fd888568d900d849
Author: Daniel Micay <[email protected]>
Date: Fri Jan 21 19:02:35 2022 -0500
mark more out-of-memory conditions as unlikely
commit 3cffc1e1af3c7d33d4f71fdc1513d0b71c728ed9
Author: Daniel Micay <[email protected]>
Date: Fri Jan 21 18:21:38 2022 -0500
treat zero size malloc as unlikely
Calls to malloc with a zero size are extremely rare relative to normal
usage of the API. It's generally only done by inefficient C code with
open coded dynamic array implementations where they aren't handling zero
size as a special case for their usage of malloc/realloc. Efficient code
wouldn't be making these allocations. It doesn't make sense to optimize
for the performance of rare edge cases caused by inefficient code.
commit ae2524bf8887beace8034a9207bcb5556acbacd9
Author: Daniel Micay <[email protected]>
Date: Fri Jan 21 16:24:14 2022 -0500
ignore environment for test Makefile variables
commit e28addda1921eccff4c15fadf16342eb5c332eb6
Author: Daniel Micay <[email protected]>
Date: Fri Jan 21 15:07:13 2022 -0500
add back gitignore entries
commit 9d89712386c8a963fcaca1125c819483dd2035db
Author: Daniel Micay <[email protected]>
Date: Fri Jan 21 15:06:29 2022 -0500
remove extra newline
commit 84eadd8568c95698000338c7ec7cd38ff006f59b
Author: jvoisin <[email protected]>
Date: Fri Jan 21 20:47:21 2022 +0100
Move memory corruption tests up a directory
commit 0bbcc5d61040c474d6ef14f011ce0b39ef45777e
Author: Daniel Micay <[email protected]>
Date: Wed Jan 19 16:42:12 2022 -0500
malloc.c was renamed to h_malloc.c
commit 3fa30842ed6a1d4867a18afbd0c6f049d502c1cc
Author: jvoisin <[email protected]>
Date: Mon Jan 17 22:16:45 2022 +0100
Use $(MAKE) instead of make in Makefiles
This will pass the correct flags to the make
invocations.
commit b3d78bd5f6d8232655f1f824da7453d3e7f53fbb
Author: Daniel Micay <[email protected]>
Date: Sun Jan 16 21:02:17 2022 -0500
use static const for local constants
commit 8d61e632746395fe892f1d7ad2f02428f6d8726e
Author: Daniel Micay <[email protected]>
Date: Sun Jan 16 20:50:49 2022 -0500
add comment about special small size classes
commit 422ee78b3eb6066790a87166a899b0f18e7dc1d9
Author: Daniel Micay <[email protected]>
Date: Sun Jan 16 16:57:22 2022 -0500
reorganize pages.h header
commit 3e312695e1e3fe4b2ed405cbb0b1a2844c1a65fe
Author: Daniel Micay <[email protected]>
Date: Sun Jan 16 16:28:24 2022 -0500
document clz64/log2u64 not being able to handle 0
commit 81cf2f27a07439f8a5598f5e8673a76aadfca462
Author: Daniel Micay <[email protected]>
Date: Sun Jan 16 14:05:59 2022 -0500
calculate slab size class instead of array loop
commit d8cb2d9f7a1f132e1c45d6578f3f4d124ec0ebef
Author: Daniel Micay <[email protected]>
Date: Sun Jan 16 15:39:59 2022 -0500
use consistent wrappers around clz/ffs
commit 86f9c739ee88f47c24b7e3c93e94381e88947f6a
Author: Daniel Micay <[email protected]>
Date: Sun Jan 16 15:01:51 2022 -0500
define constant for u64 bit width
commit 536f85253853922095819325ce20adc4fd24e4e8
Author: Daniel Micay <[email protected]>
Date: Sun Jan 16 14:41:46 2022 -0500
reuse a single size alignment implementation
commit e814cf4f5c459d0e1f883085e7d6763d05e1bfa7
Author: Daniel Micay <[email protected]>
Date: Sun Jan 16 12:18:00 2022 -0500
enable linking optimization for GNU linker
commit 705211ef496866cd32f5afb5213af7e8beee3d9c
Author: Daniel Micay <[email protected]>
Date: Sun Jan 16 11:50:55 2022 -0500
define UBSan flags for SHARED_FLAGS to reuse it
commit 189d3362d5d0cc87f6b9daf3a4c5a9b921883a8c
Author: Daniel Micay <[email protected]>
Date: Sun Jan 16 11:48:01 2022 -0500
enable sized deallocation ABI for consistency
commit 7ebd9604f39159b81ffb3dc3b260fe7490ed4b66
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 11:24:06 2022 -0500
bumped changelog version
commit 6f93aff1ccfb97ace1bf04d6b277aa6eb4d937b9
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 11:21:00 2022 -0500
legacy
commit b70c622e2ed19220c68b7819a2d615a418a5e0d8
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 10:43:33 2022 -0500
legacy
commit 6e78118ade09e4b8ce3138f5177615f1677a4544
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 10:40:33 2022 -0500
legacy
commit c9bb58650052c3b6ce0a4620d5b557503f6e665e
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 10:30:30 2022 -0500
bumped changelog version
commit 4107d703f640c04fbcb208014d1fc419a03c1a8a
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 10:12:45 2022 -0500
legacy
commit e6c81b9e384489afcbb73129c0e1e906bfec526a
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 09:35:56 2022 -0500
bumped changelog version
commit 170631407dc5edbf1f1b5a80e6382c02834e425b
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 09:26:06 2022 -0500
bumped changelog version
commit 0a05dfb27e6280136d29f265b32740923faf5a66
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 09:24:45 2022 -0500
legacy
commit 470c8521ff624e38ca37d6019377bc86ed806968
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 09:06:31 2022 -0500
bumped changelog version
commit ab02868f921b873870c67b3ae030537b49b1d316
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 09:04:36 2022 -0500
update for Hardened Malloc Light
commit 949b4c7e8596181cfbde03d0de4d9f2df7d8c961
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 09:03:11 2022 -0500
refactoring
commit 9141f1f062efedeb4d0cdf0319aa560ec6d8c879
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 09:01:34 2022 -0500
renamed: debian/hardened-malloc-kicksecure-enable.install -> debian/hardened-malloc-light-enable.install
renamed: debian/hardened-malloc-kicksecure-enable.postinst -> debian/hardened-malloc-light-enable.postinst
renamed: debian/hardened-malloc-kicksecure-enable.prerm -> debian/hardened-malloc-light-enable.prerm
commit 36f131f2caaa20e222cea5ba29b019d884f7ee32
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 09:00:04 2022 -0500
rename package hardened-malloc-kicksecure-enable to hardened-malloc-light-enable
commit 2dc1f8d668f2c647ade166b125f566838660e0ed
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 08:53:43 2022 -0500
legacy
commit 1d8ce334120804ee5d33ad3c2dc38c3c77032b06
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 08:27:12 2022 -0500
use new upstream supported VARIANT=light
(Instead of Kicksecure specific configuration `CONFIG_SLAB_QUARANTINE_RANDOM_LENGTH=0 CONFIG_SLAB_QUARANTINE_QUEUE_LENGTH=0 CONFIG_GUARD_SLABS_INTERVAL=8`,
which has now been dropped.)
commit 4da35617671ab959dcb9310d05f5c5a45980bca3
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 08:05:01 2022 -0500
bumped changelog version
commit 0b8d0c02031b3283f6f30896d92452faa294b973
Author: Patrick Schleizer <[email protected]>
Date: Sat Jan 15 08:02:55 2022 -0500
package build fix for upstream version 10
commit ac7538937149f3590a71eafc5ca81dd545eb89eb
Author: Patrick Schleizer <[email protected]>
Date: Fri Jan 14 11:23:49 2022 -0500
bumped changelog version
commit e2bcf4a35633c7d9d5a7ef4c4a09e57447b0b16d
Author: Daniel Micay <[email protected]>
Date: Thu Jan 13 14:51:22 2022 -0500
stop silencing constant logical operand warning
This was resolved by 3696f071a4a136edc9d2baea6ab5fbbd33ced371.
commit d470ae56a58fa3c31b519747c4983036ec15d8fa
Author: Daniel Micay <[email protected]>
Date: Thu Jan 13 14:48:56 2022 -0500
switch Android build to C17 from C11
commit 42b097f3b04bd791c9d525ee332e44fdb5faec4c
Author: Daniel Micay <[email protected]>
Date: Thu Jan 13 14:25:41 2022 -0500
CONFIG_SEAL_METADATA is regularly tested now
commit b9d66ce4dd654e079b0d5d00a3e6bc5a6102751d
Merge: becde94 17891d7
Author: Patrick Schleizer <[email protected]>
Date: Thu Jan 13 08:41:38 2022 -0500
Merge tag '10'
10
commit 17891d743e2ae7f5c8daf92328da74cfaf40ebca
Author: Daniel Micay <[email protected]>
Date: Wed Jan 12 10:20:47 2022 -0500
switch from c11 to c17 standard
commit efd71e70c7213d092a9fa3634972cc1f577944ba
Author: Daniel Micay <[email protected]>
Date: Wed Jan 12 08:58:00 2022 -0500
update documentation based on light configuration
commit a6d27848af0ae0a9305cac8ad24a8bcefdabb9a1
Author: Daniel Micay <[email protected]>
Date: Wed Jan 12 08:44:39 2022 -0500
wrap overly long line
commit 110126d7f0f6fc6dca444fd436d0858632463f33
Author: Daniel Micay <[email protected]>
Date: Wed Jan 12 08:43:28 2022 -0500
README: fix path to configuration templates
commit a2bdb4da277035306d1814a4eb9b43694ecf17f5
Author: Daniel Micay <[email protected]>
Date: Wed Jan 12 08:41:21 2022 -0500
update gitignore for renamed / added tests
commit 0c0561e563d64ef9d9fda35f5c8f9f4620aca3f7
Author: Daniel Micay <[email protected]>
Date: Wed Jan 12 08:41:12 2022 -0500
update gitignore for config template system
commit 5a577e9ee06e0995902db6ad5fd925ad8828fd35
Author: Daniel Micay <[email protected]>
Date: Wed Jan 12 08:38:33 2022 -0500
document configuration template system
commit b3372e157645d3bdb441927f9c3b8220aae6b428
Author: Daniel Micay <[email protected]>
Date: Sun Jan 9 11:08:56 2022 -0500
add configuration template system
commit 052b7568408b035a3676f35ac78263606385dbdd
Author: jvoisin <[email protected]>
Date: Tue Jan 4 18:39:49 2022 +0100
Fix two warnings
commit becde94f01af7df335e477f89a869782eb399ad1
Author: Patrick Schleizer <[email protected]>
Date: Thu Jan 6 15:26:00 2022 -0500
bumped changelog version
commit c921c71fe2d0e43dd154368d14e01a6d6cac87a6
Merge: 14f63b3 c6af50d
Author: Patrick Schleizer <[email protected]>
Date: Thu Jan 6 15:25:22 2022 -0500
Merge tag '9'
9
commit 001eb0687b38b624dd8fb8cd235487b24a2ccc16
Author: jvoisin <[email protected]>
Date: Tue Jan 4 17:56:48 2022 +0100
Fix an unused parameter warning
commit 2a5662948e3c5f67648ce584b40a6280f59afbf7
Author: Daniel Micay <[email protected]>
Date: Tue Jan 4 12:10:59 2022 -0500
rename bitmap manipulation functions
commit d1c39edc9b15cf45b5ea577747197d9188417deb
Author: Daniel Micay <[email protected]>
Date: Tue Jan 4 10:14:41 2022 -0500
use const for malloc_object_size API
commit aa1746a90d864e313ab8965637cff382c2b10130
Author: Daniel Micay <[email protected]>
Date: Tue Jan 4 10:04:26 2022 -0500
alloc_size attribute for legacy valloc function