baa71b09cc
Kernel: Build with -fstack-protector-strong instead of -fstack-protector-all
...
We lose a LITTLE bit of security, while allowing the compiler to optimize MUCH more.
Very simple functions, like most functions in misc/utils.cpp, were being made very big when some of them can just be "jmp thingy" or "and rax, something" and waste much less space.
This change makes more sense, I think.
2022-10-12 14:50:31 +02:00
28469497e9
Change build system to accept arbitrary CFLAGS during the build process
...
For the kernel, at least.
2022-10-12 14:31:41 +02:00
1e0c8c5fe7
Kernel: Strip kernel symbols when installing
...
Since we already extract the symbols into a separate file which the kernel then uses for backtraces, this only brings us a smaller kernel, with no downsides :)
2022-10-08 15:57:07 +02:00
028a1b1a3c
libc: Enable even more warnings
2022-10-07 18:19:06 +02:00
b7ee746da3
Kernel: Enable even more warnings
2022-10-07 18:10:20 +02:00
594d79143e
Kernel: enable -Wconversion
2022-10-06 17:13:34 +02:00
952d8fa294
Be more strict with warnings
2022-10-05 17:34:22 +02:00
3bfdad7a75
Kernel: Remove outdated rule in Makefile
2022-10-04 18:52:02 +02:00
25928a2a8d
Kernel: Always build config.cpp, even when it's not modified
2022-10-04 18:46:10 +02:00
6bacded5cf
Update build system
2022-10-02 17:01:30 +02:00
f8a72f15c8
Adjust build system to be more flexible and to work with the new toolchain
2022-10-02 12:44:32 +02:00
d79596f21b
Add a tool to auto-generate a symbol map, borrowed from SerenityOS :)
2022-09-19 20:35:24 +02:00
cb311c4981
Add initrd/boot/moon.elf and Luna.iso to the clean Makefile target
2022-09-18 20:20:51 +02:00
a42c4bd2da
Add -fno-omit-frame-pointer to CFLAGS
2022-09-18 17:13:56 +02:00
efb28d3258
Randomness and stack protection!!
2022-09-14 18:54:40 +02:00
b4484e951d
LOTS MORE LOGGING. which is great, of course.
2022-09-07 19:41:08 +02:00
0cc3900e88
Make building with debug symbols conditional in the Makefile
2022-09-07 15:05:57 +02:00
c2391cee5d
Added config.h
2022-09-07 15:02:54 +02:00
bd0a24097f
Add a KernelMemoryManager namespace to wrap PMM + VMM
2022-09-06 18:08:15 +02:00
1b727a66ea
Ready. Set. Go!
2022-09-05 16:13:51 +02:00