In August 2010 Manuel Schmitt reminds readers that with Linux software RAID 1 the GRUB bootloader must be set up on every disk so that the system still boots after one drive fails completely. The guide from an internal list enters every disk as hd0 in device.map and runs setup for each drive in the GRUB shell. The background is that the numbering changes when booting with a missing drive, but an hd0 is always present.
Mike Haertel explains how GNU grep reduces search work, reads input efficiently and only examines the bytes that can affect the result. The fastest processing step is often the one an algorithm can provably skip.
Andre Steincke explains KVM as part of the Linux kernel and covers guest management, migration, high availability and graphical tools such as virt-manager. Kernel integration ties virtualisation directly to Linux scheduling and memory management.
In 2010 Rafal Wojtczuk described a problem in Linux memory management in which the stack and shared memory segments could grow into each other. Using the X server as an example, Wojtczuk showed how an attacker could overwrite return addresses on the stack by writing to the shared memory and gain root privileges. The fix, a guard page between the stack and other areas, came in 2.6.32.19, 2.6.34.4 and 2.6.35.2, although SUSE had offered a fix as early as 2004.
With Linux 2.6.36-rc1, the merge window, in which most new features enter the main branch, ended in August 2010. Among other things, the AppArmor security framework was accepted after years of attempts, as were fanotify for virus scanners and a driver for Intel’s Intelligent Power Sharing. As with 2.6.35, Torvalds wanted to accept strictly only bug fixes in the following stabilisation phase.
In August 2010, Linus Torvalds released Linux kernel 2.6.35, just under eleven weeks after 2.6.34. New features included power saving for Radeon graphics and H.264 decoding on Intel’s Ironlake processors. Changes to the network stack and to the use of CPU power-saving states were expected to speed up some systems considerably.
In August 2010, Anantha Ramaiah, Randall Stewart and Mitesh Dalal described in RFC 5961 how TCP can be hardened against RST, SYN and data segments injected by off-path attackers. Instead of accepting a suspicious segment immediately, the receiver answers with a challenge ACK that only the real peer can answer correctly. Of all things, the recommended throttling of these replies became a vulnerability itself in the Linux kernel in 2016.