|
|
Subscribe / Log in / New account

Welcome to LWN.net

LWN.net is a reader-supported news site dedicated to producing the best coverage from within the Linux and free software development communities. See the LWN FAQ for more information, and please consider subscribing to gain full access and support our activities.

[$] eBPF seccomp() filters

[Kernel] Posted May 31, 2021 15:49 UTC (Mon) by corbet

The seccomp() mechanism allows a process to load a BPF program to restrict its future use of system calls; it is a simple but flexible sandboxing mechanism that is widely used. Those filter programs, though, run on the "classic" BPF virtual machine, rather than the extended BPF (eBPF) machine used elsewhere in the kernel. Moving seccomp() to eBPF has been an often-requested change, but security concerns have prevented that from happening. The latest attempt to enable eBPF is this patch set from YiFei Zhu; whether it will succeed where others have failed remains to be seen.

Full Story (comments: 1)

[$] Top-tier memory management

[Kernel] Posted May 28, 2021 15:07 UTC (Fri) by mrybczyn

Modern computing systems can feature multiple types of memory that differ in their performance characteristics. The most common example is NUMA architectures, where memory attached to the local node is faster to access than memory on other nodes. Recently, persistent memory has started appearing in deployed systems as well; this type of memory is byte-addressable like DRAM, but it is available in larger sizes and is slower to access, especially for writes. This new memory type makes memory allocation even more complicated for the kernel, driving the need for a method to better manage multiple types of memory in one system.

Full Story (comments: 15)

[$] printk() indexing

[Kernel] Posted May 27, 2021 14:53 UTC (Thu) by corbet

When kernel developers want to communicate something about the state of a running kernel, they tend to use printk(); that results in a log entry that is intended — with varying success — to be human-readable. As it happens, though, the consumers of that information are often not human; the kernel's log output is also read by automated monitoring systems that are looking for problems. The result is an impedance mismatch that often ends with the monitoring system missing important messages. The printk() format indexing patch set is the latest of many attempts to improve this situation.

Full Story (comments: 41)

[$] LWN.net Weekly Edition for May 27, 2021

Posted May 27, 2021 1:44 UTC (Thu)

The LWN.net Weekly Edition for May 27, 2021 is available.

Inside this week's LWN.net Weekly Edition

  • Front: Freenode; RISC-V KVM; Control-flow integrity; Multi-generational LRU; Julia 1.6.
  • Briefs: seL4 project shutdown; Inkscape 1.1; Magit 3.0; Perl 5.34; Quotes; ...
  • Announcements: Newsletters; conferences; security updates; kernel patches; ...
Read more

[$] Turmoil at the freenode IRC network

[Front] Posted May 26, 2021 20:15 UTC (Wed) by jake

Internet Relay Chat (IRC) is a longstanding protocol—or series of protocols—for creating online, text-based chat rooms. While many of the "channels" (as chat rooms are usually called) are highly useful to a wide variety of projects and organizations, including much of the free-software world, IRC seems to have a community that suffers from more than its fair share of disagreements, hostile forks, vitriol, and other types of divisiveness. It is perhaps no huge surprise, then, that the IRC world is currently undergoing another of its periodic upheavals. The largest IRC network, freenode, is embroiled in a messy dispute that has led to the mass resignation of many of its volunteer staff, the founding of a competitor network (run by the former staff), and its abandonment by multiple high-profile projects.

Full Story (comments: 27)

[$] Julia 1.6 addresses latency issues

[Development] Posted May 25, 2021 16:31 UTC (Tue) by leephillips

On March 24, version 1.6.0 of the Julia programming language was released. This is the first feature release since 1.0 came out in 2018. The new release significantly reduces the "time to first plot", which is a common source of dissatisfaction for newcomers to the language, by parallelizing pre-compilation, downloading packages more efficiently, and reducing the frequency of just-in-time re-compilations at run time.

Full Story (comments: 7)

[$] Multi-generational LRU: the next generation

[Kernel] Posted May 24, 2021 15:25 UTC (Mon) by corbet

The multi-generational LRU patch set is a significant reworking of the kernel's memory-management subsystem that promises better performance for a number of workloads; it was covered here in April. Since then, two new versions of that work have been released by developer Yu Zhao, with version 3 being posted on May 20. Some significant changes have been made since the original post, so another look is in order.

Full Story (comments: 17)

[$] Control-flow integrity in 5.13

[Kernel] Posted May 21, 2021 14:36 UTC (Fri) by corbet

Among the many changes merged for the 5.13 kernel is support for the LLVM control-flow integrity (CFI) mechanism. CFI defends against exploits by ensuring that indirect function calls have not been redirected by an attacker. Quite a bit of work was needed to make this feature work well for the kernel, but the result appears to be production-ready and able to defend Linux systems from a range of attacks.

Full Story (comments: 19)

[$] Why RISC-V doesn't (yet) support KVM

[Kernel] Posted May 20, 2021 17:39 UTC (Thu) by corbet

The RISC-V CPU architecture has been gaining prominence for some years; its relatively open nature makes it an attractive platform on which a number of companies have built products. Linux supports RISC-V well, but there is one gaping hole: there is no support for virtualization with KVM, despite the fact that a high-quality implementation exists. A recent attempt to add that support is shining some light on a part of the ecosystem that, it seems, does not work quite as well as one would like.

Full Story (comments: 25)

LWN.net Weekly Edition for May 20, 2021

Posted May 20, 2021 1:47 UTC (Thu)

The LWN.net Weekly Edition for May 20, 2021 is available.

Inside this week's LWN.net Weekly Edition

  • Front: Pallets; Calling kernel functions from BPF; Shadow groups; Exported-symbol changes; Misc control group.
  • Briefs: T2; Site isolation in Firefox; freenode; Quotes; ...
  • Announcements: Newsletters; conferences; security updates; kernel patches; ...
Read more

Security updates for Monday

[Security] Posted May 31, 2021 15:23 UTC (Mon) by ris

Security updates have been issued by Debian (hyperkitty, libxml2, nginx, openjdk-11-jre-dcevm, rxvt-unicode, samba, and webkit2gtk), Fedora (exiv2, java-1.8.0-openjdk-aarch32, mingw-python-pillow, opendmarc, php-symfony3, php-symfony4, python-pillow, runc, rust-cranelift-codegen-shared, rust-cranelift-entity, and rxvt-unicode), openSUSE (curl, hivex, libu2f-host, libX11, libxls, singularity, and upx), Oracle (dotnet3.1 and dotnet5.0), Red Hat (docker, glib2, and runc), and Ubuntu (lz4).

Full Story (comments: none)

Kernel prepatch 5.13-rc4

[Kernel] Posted May 31, 2021 1:06 UTC (Mon) by corbet

The fourth 5.13 kernel prepatch is out for testing. "So after two small rc releases, the other shoe finally dropped, and rc4 is fairly sizable."

Comments (none posted)

AlmaLinux 8.4 released

[Development] Posted May 28, 2021 20:06 UTC (Fri) by corbet

AlmaLinux 8.4, a clone of RHEL filling the role that CentOS used to play, has been released. Changes include full support for secure boot, a developer repository with packages not found in RHEL, and more; see the release notes for details.

Full Story (comments: 7)

Stable kernels 5.12.8, 5.10.41, and 5.4.123

[Kernel] Posted May 28, 2021 15:05 UTC (Fri) by jake

The 5.12.8, 5.10.41, and 5.4.123 stable kernels have been released. These contain only a small handful of changes, including fixes to the BPF verifier to address a privilege escalation vulnerability. Users of those series should upgrade.

Comments (none posted)

Security updates for Friday

[Security] Posted May 28, 2021 14:41 UTC (Fri) by jake

Security updates have been issued by Debian (nginx), Fedora (chromium, curl, kernel, php-symfony3, php-symfony4, python-lxml, python-pip, and runc), Mageia (ceph and wireshark), openSUSE (mpv), Oracle (bind, idm:DL1, redis:6, slapi-nis, squid:4, and xorg-x11-server), SUSE (curl, nginx, postgresql10, postgresql12, postgresql13, slurm, slurm_18_08, and slurm_20_11), and Ubuntu (nginx).

Full Story (comments: none)

Reports from the 2021 Python Language Summit

[Development] Posted May 27, 2021 15:53 UTC (Thu) by jake

Over on the Python Software Foundation blog, the reports from day 1 of the Python Language Summit are available. At the time of this writing, a few from day 2 are ready as well. There are lots of interesting topics discussed at the summit, including a talk on making CPython faster from Python creator Guido van Rossum. "Seven months ago, Guido van Rossum left a brief retirement to work at Microsoft. He was given the freedom to pick a project and decided to work on making CPython faster. Microsoft will be funding a small team consisting of Guido van Rossum, Mark Shannon, Eric Snow, and possibly others. [...] The team is optimistic about doubling CPython's speed for 3.11. They plan to try an adaptive, specializing byte code interpreter, which is a bit like the existing inline cache and a bit like the shadow byte code covered in Dino Viehland's talk." Some of the ideas go back to Shannon's thoughts on speeding up the interpreter that we looked at back in December.

Comments (5 posted)

Security updates for Thursday

[Security] Posted May 27, 2021 13:36 UTC (Thu) by jake

Security updates have been issued by Debian (djvulibre), Fedora (slapi-nis and upx), Gentoo (ceph and nginx), openSUSE (python-httplib2 and rubygem-actionpack-5_1), Slackware (curl), SUSE (curl, libX11, and python-httplib2), and Ubuntu (isc-dhcp, lz4, and nginx).

Full Story (comments: none)

A set of stable kernels

[Kernel] Posted May 26, 2021 15:07 UTC (Wed) by ris

Stable kernels 5.12.7, 5.10.40, 5.4.122, 4.19.192, 4.14.234, 4.9.270, and 4.4.270 have been released. As usual, they contain important fixes and users should upgrade.

Comments (none posted)

Security updates for Wednesday

[Security] Posted May 26, 2021 14:55 UTC (Wed) by ris

Security updates have been issued by Arch Linux (djvulibre, dotnet-runtime, dotnet-runtime-3.1, dotnet-sdk, dotnet-sdk-3.1, gupnp, hivex, lz4, matrix-synapse, prometheus, python-pydantic, runc, thunderbird, and websvn), Fedora (composer, moodle, and wordpress), Gentoo (bash, boost, busybox, containerd, curl, dnsmasq, ffmpeg, firejail, gnome-autoar, gptfdisk, icu, lcms, libX11, mariadb, mumble, mupdf, mutt, mysql, nettle, nextcloud-client, opensmtpd, openssh, openvpn, php, postgresql, prosody, rxvt-unicode, samba, screen, smarty, spamassassin, squid, stunnel, tar, tcpreplay, and telegram-desktop), openSUSE (Botan), Red Hat (kernel), Slackware (gnutls), SUSE (hivex, libu2f-host, and rubygem-actionpack-5_1), and Ubuntu (apport, exiv2, and libx11).

Full Story (comments: none)

Magit 3.0 released

[Development] Posted May 25, 2021 16:34 UTC (Tue) by ris

Version 3.0 of Magit, a Git interface that runs inside emacs, has been released. "The big change are the completely reworked menus used to select arguments and invoke suffix commands. Magit now uses the Transient package to implement these menus." See the release notes for more details.

Comments (2 posted)

--> More news items


Copyright © 2021, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds