Making C Less Dangerous in the Linux kernel

  Рет қаралды 76,713

linux.conf.au

linux.conf.au

Күн бұрын

Kees Cook
2019.linux.conf.au/schedule/p...
With the Linux kernel written in C, it comes with some worrisome baggage, "undefined" behaviors, and other weaknesses that lead to security flaws and vulnerable infrastructure. Some of these weaknesses related to the design of chipsets and how close C is to machine code, but others are less specific.
This presentation will explore the areas where the kernel is changing the C standard, defining undefined behaviors, or otherwise reorganizing things to make C itself less of a hazard.
Specifically this will cover removing (and enforcing the lack of) Variable Length Arrays in kernel code, forcing all stack variables to be initialized with a GCC plugin, performing implicit bounds checking with overloaded builtins, handling arithmetic overflows safely, and protecting forward (call) and reverse (return) indirect function calls with CFI under Clang.
linux.conf.au is a conference about the Linux operating system, and all aspects of the thriving ecosystem of Free and Open Source Software that has grown up around it. Run since 1999, in a different Australian or New Zealand city each year, by a team of local volunteers, LCA invites more than 500 people to learn from the people who shape the future of Open Source. For more information on the conference see linux.conf.au/
#linux.conf.au #linux #foss #opensource

Пікірлер
Does making the kernel harder make making the kernel harder?
45:40
linux.conf.au
Рет қаралды 28 М.
why do header files even exist?
10:53
Low Level Learning
Рет қаралды 371 М.
Sigma Girl Past #funny #sigma #viral
00:20
CRAZY GREAPA
Рет қаралды 29 МЛН
OMG🤪 #tiktok #shorts #potapova_blog
00:50
Potapova_blog
Рет қаралды 17 МЛН
The kernel report
46:13
linux.conf.au
Рет қаралды 71 М.
Making C Less Dangerous - Kees Cook, Google
33:54
The Linux Foundation
Рет қаралды 15 М.
Booting faster
47:29
linux.conf.au
Рет қаралды 106 М.
Arguing with Linus Torvalds - Steven Rostedt
54:37
OpenFest Bulgaria
Рет қаралды 32 М.
Firmware security, why it matters and how you can have it
45:11
linux.conf.au
Рет қаралды 29 М.
But Mummy I don't want to use CUDA - Open source GPU compute
43:12
linux.conf.au
Рет қаралды 98 М.
Steven Rostedt - Learning the Linux Kernel with tracing
1:07:24
OpenFest Bulgaria
Рет қаралды 89 М.
Database as Filesystem
22:23
linux.conf.au
Рет қаралды 110 М.
Making Simple X11 GUI Window in C on Linux
8:18
Nir Lichtman
Рет қаралды 22 М.