|
|
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.

[$] Dancing the DMA two-step

[Kernel] Posted Nov 14, 2024 15:35 UTC (Thu) by corbet

Direct memory access (DMA) I/O is simple in concept: a peripheral device moves data directly to or from memory while the CPU is busy doing other things. As is so often the case, DMA is rather more complicated in practice, and the kernel has developed a complicated internal API to support it. It turns out that the DMA API, as it exists now, can affect the performance of some high-bandwidth devices. In an effort to address that problem, Leon Romanovsky is making the API even more complex with this patch series adding a new two-step mapping API.

Full Story (comments: none)

[$] LWN.net Weekly Edition for November 14, 2024

Posted Nov 14, 2024 0:46 UTC (Thu)

The LWN.net Weekly Edition for November 14, 2024 is available.

Inside this week's LWN.net Weekly Edition

  • Front: Toolchain security features; systemd-homed; Open-source security in 2024; struct sockaddr; Cosmopolitan Libc; Back In Time.
  • Briefs: Anaconda Web UI; RIP Jérémy Bobbio; gccrs; Quotes; ...
  • Announcements: Newsletters, conferences, security updates, patches, and more.
Read more

[$] Truly portable C applications

[Development] Posted Nov 13, 2024 14:51 UTC (Wed) by daroc

Programming language polyglots are files that are valid programs in multiple languages, and do different things in each. While polyglots are normally nothing more than a curiosity, the Cosmopolitan Libc project has been trying to put them to a novel use: producing native, multi-platform binaries that run directly on several operating systems and architectures. There are still some rough edges with the project's approach, but it is generally possible to build C programs into a polyglot format with with minimal tweaking.

Full Story (comments: 13)

[$] Progress on toolchain security features

[Security] Posted Nov 12, 2024 20:21 UTC (Tue) by jake

Over the years, there has been steady progress in adding security features to compilers and other tools to assist with hardening the Linux kernel (and, of course, other programs). In something of a tradition in the toolchains track at the Linux Plumbers Conference, Kees Cook and Qing Zhao have led a session on that progress and further plans; this year, they were joined by Justin Stitt (YouTube video).

Full Story (comments: 15)

[$] The top open-source security events in 2024

[Security] Posted Nov 11, 2024 15:24 UTC (Mon) by corbet

What have been the most significant security-related incidents for the open-source community in 2024 (so far)? Marta Rybczyńska recently ran a poll and got some interesting results. At the 2024 Open Source Summit Japan, she presented those results along with some commentary of her own. The events in question are unlikely to be a surprise to LWN readers, but the overall picture that was presented was worth a look.

Full Story (comments: 10)

[$] Back In Time back from the dead

[Development] Posted Nov 8, 2024 18:49 UTC (Fri) by daroc

Back In Time is a GPL-2.0-licensed backup tool based on rsync and written in Python. It has both graphical and command-line interfaces, and supports backups to local disks or over SSH. Back In Time was originally written by Oprea Dan and released in 2009. The tool has been through some rough patches over the years, and is currently on its third set of maintainers. Christian Buhtz, one of the current maintainers, explained to me how he and his co-maintainers had revived the project, as well as why he thought Back In Time stood out from all of the existing backup solutions.

Full Story (comments: 24)

[$] Pondering systemd-homed for Fedora

[Distributions] Posted Nov 8, 2024 16:05 UTC (Fri) by jzb

Fedora Linux, as a rule, handles version upgrades reasonably well. However, there are times when users may want to do a fresh installation rather than an upgrade but preserve existing users and data under /home. This is a scenario that the Fedora installer, currently, does not address. Users can maintain a separate /home partition, of course, but the installer does not incorporate existing users into the new install—that is an exercise left to the user to handle. One solution might be to use systemd-homed, a systemd service for managing users and home directories. However, a discussion proposing the use systemd-homed as part of Fedora installation uncovered some hurdles, such as trying to blend its approach to managing users with tools that centralize user management.

Full Story (comments: 16)

[$] The trouble with struct sockaddr's fake flexible array

[Kernel] Posted Nov 7, 2024 16:34 UTC (Thu) by corbet

Flexible arrays — arrays that are declared as the final member of a structure and which have a size determined at run time — have long drawn the attention of developers seeking to harden the kernel against buffer-overflow vulnerabilities. These arrays have reliably been a source of bugs, so anything that can be done to ensure that operations on them stay within bounds is a welcome improvement. While many improvements, including the recent counted-by work, have been made, one of the most difficult cases remains. Now, however, developers who are interested in using recent compiler bounds-checking features are trying to get a handle on struct sockaddr.

Full Story (comments: 34)

LWN.net Weekly Edition for November 7, 2024

Posted Nov 7, 2024 2:57 UTC (Thu)

The LWN.net Weekly Edition for November 7, 2024 is available.

Inside this week's LWN.net Weekly Edition

  • Front: Secure NixOS images; OpenWrt One; Safety in an unsafe world; Overture; OSI board AMA.
  • Briefs: BPF RFC; LXQt 2.1.0; Man-page funding; Rust goals; Quotes; ...
  • Announcements: Newsletters, conferences, security updates, patches, and more.
Read more

Building secure images with NixOS

[Distributions] Posted Nov 6, 2024 16:35 UTC (Wed) by daroc

Image-based Linux distributions have seen increasing popularity, recently. They promise reliability and security, but pose packaging problems for existing distributions. Ryan Lahfa and Niklas Sturm spoke about the work that NixOS has done to enable an image-based workflow at this year's All Systems Go! conference in Berlin. Unfortunately, LWN was not able to cover the conference for scheduling reasons, but the videos of the event are available for anyone interested in watching the talks. Lahfa and Sturm explained that it is currently possible to create a NixOS system that cryptographically verifies the kernel, initrd, and Nix store on boot — although doing so still has some rough edges. Making an image-based NixOS installation is similarly possible.

Full Story (comments: 10)

PyPI now supports digital attestations

[Security] Posted Nov 14, 2024 21:22 UTC (Thu) by jzb

The Python Package Index (PyPI) has announced that it has finalized support for PEP 740 ("Index support for digital attestations"). Trail of Bits, which performed much of the development work for the implementation, has an in-depth blog post about the work and its adoption, as well as what is left undone:

One thing is notably missing from all of this work: downstream verification. [...]

This isn't an acceptable end state (cryptographic attestations have defensive properties only insofar as they're actually verified), so we're looking into ways to bring verification to individual installing clients. In particular, we're currently working on a plugin architecture for pip that will enable users to load verification logic directly into their pip install flows.

Comments (none posted)

Stable kernels 6.11.8, 6.6.61, 6.1.117, and 5.15.172

[Kernel] Posted Nov 14, 2024 15:00 UTC (Thu) by jake

A new batch of stable kernels has just been released: 6.11.8, 6.6.61, 6.1.117, and 5.15.172. As usual, they contain important fixes throughout the kernel tree.

Comments (none posted)

Security updates for Thursday

[Security] Posted Nov 14, 2024 14:10 UTC (Thu) by jake

Security updates have been issued by Fedora (llama-cpp, mingw-expat, python3.6, webkit2gtk4.0, and xorg-x11-server-Xwayland), Mageia (java-1.8.0-openjdk, java-11-openjdk, java-17-openjdk, java-21-openjdk & java-latest-openjdk and libarchive), Oracle (expat, gstreamer1-plugins-base, kernel, libsoup, podman, and tigervnc), SUSE (buildah, java-1_8_0-openjdk, and switchboard-plug-bluetooth), and Ubuntu (zlib).

Full Story (comments: none)

Security updates for Wednesday

[Security] Posted Nov 13, 2024 14:21 UTC (Wed) by jzb

Security updates have been issued by AlmaLinux (expat), Fedora (chromium and golang-github-nvidia-container-toolkit), Mageia (curl, expat, mpg123, networkmanager-libreswan, openssl, php-tcpdf, qbittorrent, and x11-server, x11-server-xwayland, and tigervnc), Red Hat (kernel and libsoup), Slackware (mozilla), SUSE (firefox, kernel, python-PyPDF2, and xen), and Ubuntu (dotnet9, ghostscript, linux-aws, linux-oem-6.8, and pydantic).

Full Story (comments: none)

Anaconda’s new "Web UI" (Fedora Magazine)

[Distributions] Posted Nov 12, 2024 15:39 UTC (Tue) by jzb

Garrett LeSage has written an in-depth article for Fedora Magazine about a new web-based user interface (UI) for Fedora's Anaconda installer, planned to ship with Fedora 42. The article looks at the rationale for moving from GTK 3 to a web-based UI, provides a number of screenshots and demo screencasts, as well as instructions on trying out the new installer with Fedora Rawhide.

Comments (30 posted)

Security updates for Tuesday

[Security] Posted Nov 12, 2024 14:47 UTC (Tue) by corbet

Security updates have been issued by AlmaLinux (gstreamer1-plugins-base), Debian (chromium, ghostscript, libarchive, mpg123, ruby-saml, and symfony), Fedora (buildah and podman), Red Hat (buildah, containernetworking-plugins, podman, skopeo, and xorg-x11-server-Xwayland), Slackware (wget), SUSE (pcp), and Ubuntu (linux, linux-aws-5.15, linux-gcp, linux-gcp-5.15, linux-gke, linux-gkeop, linux-gkeop-5.15, linux-hwe-5.15, linux-ibm, linux-ibm-5.15, linux-kvm, linux-lowlatency, linux-lowlatency-hwe-5.15, linux-nvidia, linux-oracle, linux-oracle-5.15, linux-raspi, linux-xilinx-zynqmp and mysql-8.0).

Full Story (comments: none)

RIP Jérémy Bobbio (Lunar)

[Briefs] Posted Nov 11, 2024 14:44 UTC (Mon) by jake

Longtime Debian and Tor developer, Jérémy Bobbio—perhaps better known as "Lunar"—died on November 8. Lunar was one of the founders of the reproducible builds movement and more recently had been working with Software Heritage. More information and tributes in French can be found at this site. They will be missed.

Comments (8 posted)

Security updates for Monday

[Security] Posted Nov 11, 2024 14:20 UTC (Mon) by jake

Security updates have been issued by AlmaLinux (podman), Debian (guix, libarchive, and nss), Fedora (expat, iaito, opendmarc, python-werkzeug, radare2, squid, and xorg-x11-server), Mageia (htmldoc, libheif, nspr, nss, firefox & rust, python-urllib3, python-werkzeug, quictls, ruby-webrick, and thunderbird), Oracle (firefox and NetworkManager-libreswan), SUSE (apache2, chromedriver, chromium, coredns, expat, govulncheck-vulndb, httpcomponents-client, java-17-openjdk, java-21-openjdk, libheif, python-wxPython, python311, python312, qbittorrent, ruby3.3-rubygem-actionmailer, ruby3.3-rubygem-actiontext, ruby3.3-rubygem-puma, ruby3.3-rubygem-rails, and virtualbox), and Ubuntu (openjdk-17, openjdk-21, openjdk-8, openjdk-lts, and qemu).

Full Story (comments: none)

Kernel prepatch 6.12-rc7

[Kernel] Posted Nov 11, 2024 3:00 UTC (Mon) by corbet

Linus has released 6.12-rc7 for testing. "No big surprises, and I think everything is on track for a final 6.12 release next weekend."

Comments (2 posted)

Seven more stable kernel updates

[Kernel] Posted Nov 8, 2024 16:53 UTC (Fri) by daroc

Greg Kroah-Hartman has shared another seven stable kernel updates: 6.6.60, 6.11.7, 6.1.116, 5.15.171, 5.10.229, 5.4.285, and 4.19.323.

Comments (none posted)

--> More news items


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