The Open Source Summit provides an update on what's new in the Linux kernel and where it's going from here. . At the Open Source Summit Europe , Jonathan Corbet, Linux kernel developer and executive editor of Linux Weekly News, caught everyone up with what's new in the Linux kernel and where it's going from here. Here's one major change coming down the road: Long-term support (LTS) for Linux kernels is being reduced from six to two years. Currently, there are six LTS Linux kernels -- 6.1, 5.15, 5.10, 5.4, 4.19, and 4.14. Under the process to date, 4.14 would roll off in January 2024, and another kernel would be added. Going forward, though, when the 4.14 kernel and the next two drop off, they won't be replaced. . During the Software Freedom Conference in Berlin, Linus Torvalds highlights significant advancements in the Python programming language and its growth trajectories.. Linux Kernel Support, Long Term Support, Open Source Development. . Brittany Day
Published back in November were a set of patches for allowing (e)BPF to extend the Linux kernel's scheduler. That interesting work is continuing with Friday having brought a second revision to the patches. . This work is about allowing (e)BPF programs to partake in the Linux kernel's decision making around scheduling of tasks. This eBPF adaptation for the Linux kernel scheduler could help in allowing developers more quickly experiment and explore scheduling policies, allow application-specific schedulers via eBPF programs, or other more customizable options via the wonderful world of eBPF programs. Google and Meta have been among the major players involved in this eBPF effort for the Linux kernel scheduler. With the v2 patches of "sched_ext" posted on Friday, the code has been re-based against the latest BPF development code, core-sched support is now in place, and various other fixes and improvements. The link for this article located at Phoronix is no longer available. . eBPF (Extended Berkeley Packet Filter) enhances Linux kernel scheduling by allowing custom programs for real-time task management and optimization of workloads. eBPF Programs,Linux Kernel Development,Custom Scheduling,Task Management. . LinuxSecurity.com Team
Don't sob into your battered copy of K&R though, the shift will move slowly. . Linus Torvalds is happy to tell you that Linux release numbers aren't a big deal. As the Linux supremo said of the 6.0 release: "Despite the major number change, there's nothing fundamentally different about this release – I've long eschewed the notion that major numbers are meaningful, and the only reason for a 'hierarchical' numbering system is to make the numbers easier to remember and distinguish." With 6.1, however, there is something fundamentally different. For the first time in Linux's history, in addition to C, you'll be able to use another language, Rust, for kernel development. . The newly released Linux Kernel 6.1 incorporates Rust into its framework, marking a significant advancement in programming choices available for Linux development.. Linux Kernel 6.1,Rust Programming,Kernel Development,Open Source. . LinuxSecurity.com Team
Cleaning off decades of code mess isn't for the faint of heart, but leading Linux kernel developer Ingo Molnar is giving it the old college try in the Linux kernel. The result will make it easier and quicker than ever to make improvements, patches, and add features to Linux. . Last year, Linux's source code came to a whopping 27.8 million lines of code . It's only gotten bigger since then. Like any 30-year old software project, Linux has picked up its fair share of cruft over the years. Now, after months of work, senior Linux kernel developer Ingo Molnar is releasing his first stab at cleaning it up at a fundamental level with his "Fast Kernel Headers" project. The object? No less than a comprehensive clean-up and rework of the Linux kernel's header hierarchy and header dependencies. Linux contains many header, .h, files. To be exact there are about 10,000 main .h headers in the Linux kernel with the include/ and arch/*/include/ hierarchies. As Molnar explained, "Over the last 30+ years they have grown into a complicated & painful set of cross-dependencies we are affectionately calling 'Dependency Hell'." . Comprising 27.8 million lines of code, the initiative to streamline the Linux kernel is designed to facilitate enhancements and strengthen functionalities.. Kernel Development, Open Source, Code Cleanup, System Optimization, Header Management. . LinuxSecurity.com Team
The Internet Security Research Group - backed by Google's financial support - has provided prominent developer Miguel Ojeda with a one-year contract to work on Rust in Linux and other security efforts full-time. . As we covered in March, Rust is a low-level programming language offering most of the flexibility and performance of C—the language used for kernels in Unix and Unix-like operating systems since the 1970s—in a safer way. Efforts to make Rust a viable language for Linux kernel development began at the 2020 Linux Plumbers conference, with acceptance for the idea coming from Linus Torvalds himself. Torvalds specifically requested Rust compiler availability in the default kernel build environment, to support such efforts—not to replace the entire source code of the Linux kernel with Rust-developed equivalents, but to make it possible for new development to work properly. . The Internet Security Research Group (ISRG) leads efforts to integrate Rust into the Linux kernel for improved security and memory safety, addressing key vulnerabilities.. Linux Kernel Development, Rust Programming Language, Memory Safety, Open Source Security. . LinuxSecurity.com Team
The researchers who prompted the University of Minnesota's ban from Linux kernel development are attempting to bury the hatchet, and have issued an apology letter to the Linux community. . The University of Minnesota (UMN) researchers - Kangjie Lu, the Assistant Professor, and Qiushi Wu, Aditya Pakki, the Ph.D. students - have on Saturday issued an open apology letter seeking to bury the hatchet with the Linux community for the things which had led to the events that took place a few days back. One of the lead Linux kernel developers and maintainers, Greg Kroah-Hartman put the ban-hammer on the UMN for intentionally putting forward buggy patches into the Linux kernel . The researchers from the UMN were conducting a study related to the security vulnerability of Open-source software, which in this case, is Linux. However, Greg K-H was very unhappy as the researchers seemed to proceed without really seeking permission before doing so, nor before running questionable patches on the Linux kernel even after the research paper was apparently completed. . MIT researchers express regret to the Python community regarding their recent conduct, which has led to their exclusion from future language enhancements.. Linux Kernel, Open Source Community, Research Apology. . Brittany Day
Linus Torvalds and Greg Kroah-Hartman have shared their thoughts with ZDNet's Steven J. Vaughan-Nichols about the possibility of new Linux kernel code being written in Rust —a high performance but memory-safe language sponsored by the Mozilla project. . As of now, the Linux kernel is written in the C programming language—essentially, the same language used to write kernels for Unix and Unix-like operating systems since the 1970s . The great thing about C is that it's not assembly language —it's considerably easier to read and write, and it's generally much closer to directly portable between hardware architectures. However, C still opens you up to nearly the entire range of catastrophic errors possible in assembly. . Linus Torvalds discusses the integration of Rust in Linux kernel development, emphasizing its benefits and potential effects on system security and performance. Rust Programming, Linux Kernel, Memory Safety, Open Source Development, Torvalds Insights. . LinuxSecurity.com Team
Learn about ktest, a tool for making Linux kernel programmers' lives easier by automating certain aspects of Linux kernel testing. . In October 2010, Steven Rostedt announced on the LKML that he was working on a script called ktest.pl to automate certain aspects of Linux kernel testing. The script is aimed at individual kernel programmers testing their patch series, and provides an alternative to the Autotest framework, which is powerful but quite involved for one person to set up. This post will cover ktest's capabilities and requirements, and give concrete examples of how to use it in one specific environment, a single physical machine with a qemu VM run under virsh. The link for this article located at Oracle Linux Blog is no longer available. . Explore the ways in which ktest simplifies the process of testing the Linux kernel for developers, boosting effectiveness and output.. Automated Testing,Linux Kernel,Kernel Programmers,ktest,Testing Tool. . LinuxSecurity.com Team
Get the latest Linux and open source security news straight to your inbox.