Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Linux Kernel 4.18 Keeps Things Solid and Secure

#1
Linux Kernel 4.18 Keeps Things Solid and Secure

<div style="margin: 5px 5% 10px 5%;"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/08/linux-kernel-4-18-keeps-things-solid-and-secure.jpg" width="1789" height="881" title="" alt="" /></div><div><div><img src="http://www.sickgaming.net/blog/wp-content/uploads/2018/08/linux-kernel-4-18-keeps-things-solid-and-secure.jpg" class="ff-og-image-inserted" /></div>
<p>Linus Torvalds published the 4.18 kernel on Sunday, one week later than expected. This has a been a rocky release… and it’s all Android’s fault (more or less).</p>
<p>You see, Android systems lack tmpfs, the temporary file systems you usually see hanging off your <i>/tmp</i> directory. In regular Linux systems, a tmpfs is stored in memory and holds data that applications may need to retrieve at short notice or share with other programs. Instead, Android allocates a chunk of memory (called <i>ashmem</i>) that does the same thing. However, a change introduced to ashmem in 4.18-rc7 made the open source version of Android crash. Unfortunately, all this came to light the week before the final release of 4.18 was due. Nine patches later and the problem was still not totally resolved, so Linus decided to roll back the whole thing and wait another week for the things to calm down.</p>
<p>In other news, the kernel is becoming slimmer and more toned. 4.18 is actually 100 thousand lines lighter over its predecessor, 4.17. It is worth remembering that 4.17 had already shed over half a million lines of code and was the lightest in the 4.x series. As more obsolete code gets ditched, the kernel should take up less memory, run more efficiently and be less vulnerable to attacks that takes advantage of crufty old code.</p>
<p>Forward-thinking developers have also been working on a new <code>__kernel_timespec</code> structure. This will help avoid the 2038 problem hitting 32-bit systems. If you haven’t heard of this, it is similar to the year 2000 bug in that, at 03:14:07 UTC on 19 January 2038, <a href="https://en.wikipedia.org/wiki/Year_2038_problem">unpatched machines will think we are back in the 1900s</a>. Airplanes will fall from the sky, power stations will explode, and in a surprise snap referendum that nobody called for, the UK will rejoin the EU. Nonetheless, work continues apace.</p>
<p>Other things to look forward to in kernel 4.18:</p>
<ul>
<li>The 32-bit ARM architecture has gained fixes for Spectre variants 1 and 2, thus protecting a wider variety of devices from being attacked.</li>
<li>The Steam Controller HID driver was merged into the kernel. This allows using Valve’s Steam Controller as a HID input device without needing to rely upon Steam or the user-space SC-Controller.</li>
<li>Finally, <a href="https://lkml.org/lkml/2018/8/2/663">something that Linus himself is looking forward to</a> is seeing <a href="https://www.wireguard.com/">WireGuard</a> included in the kernel. “Can I just state my love for it and hope it gets merged soon?” gushed Linus, while talking to David Miller, main maintainer of the networking subsystem. WireGuard is a VPN, similar to OpenVPN or IPSec, but much more efficient, according to Linus. In his words, WireGuard is “a work of art,” but, unfortunately, it has not made it into the main trunk of this time around. It does remain available as a module, notwithstanding.</li>
</ul>
<p>You can find out more about kernel 4.18 by reading <a href="https://www.linux.com/news/2018/8/linux-kernel-418-keeps-things-solid-and-secure">the release notes themselves</a>, visiting <a href="https://www.phoronix.com/scan.php?page=search&amp;q=Linux+4.18">Phoronix</a> or checking <a href="https://kernelnewbies.org/Linux_4.18">the Kernel Newbies report</a> when it becomes available.</p>
<p><em>Learn more about Linux through the free <a href="https://training.linuxfoundation.org/linux-courses/system-administration-training/introduction-to-linux">“Introduction to Linux” </a>course from The Linux Foundation and edX.</em></p>
</div>
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB Theme © iAndrew 2016