CALL US

+91 9116117170

Experiment is going for the development of Linux Kernel parts in the language of Rust | Cyberops

Experiment is going for the development of Linux Kernel parts in the language of Rust

By Chandan Singh 0 Comment June 5, 2017

French developer, operating under the name of Dominus Carnufex, in practice demonstrated realistic ideas to rewrite the Linux kernel in Rust language.

Currently, Rust has already proved itself as a low-level system programming language, and even there are several projects to develop new operating systems on Rust language. The author of the study refers to projects to create new OS dubious, believing that they have no chance to gain market share. At the same time, more realistic looks gradual processing of the Linux kernel to Rust, that would solve many security problems.

To not look unfounded Dominus Carnufex prepared a working prototype implementation of an integrable system call in the kernel code is written in assembler language in Rust inlay, decorated as unsafe-blocks. The code is compiled using rustic into object files are not attached to the standard library and is attached to the core during assembly. Example tested at the core of Linux 4.8.17, supplied in the distribution Linux Mint.

Granted example can be regarded as a starting point for the gradual porting different system calls Linux kernel on Rust. Interest in Rust is caused primarily provides opportunities for the safe programming language which eliminates the problems encountered in C due to the low level of memory, such as memory handling after her release, null pointer submission, and out of the buffer boundary.

error: Content is protected by Cyberops !!