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

[$] The end of the accounting search

[Development] Posted May 5, 2023 14:49 UTC (Fri) by corbet

Some things, it seems, just cannot be hurried. Back in 2007, your editor first started considering alternatives to the proprietary accounting system that had been used by LWN since the beginning. That search became more urgent in 2012, and returned in 2017 with a focused effort to find something better. But another five years passed before some sort of conclusion was reached. It has finally happened, though; LWN is no longer using proprietary software for its accounting needs.

Full Story (comments: 12)

[$] The ongoing trouble with get_user_pages()

[Kernel] Posted May 4, 2023 14:19 UTC (Thu) by corbet

The 2018 Linux Storage, Filesystem, and Memory-Management (LSFMM) conference included a session on get_user_pages(), an internal kernel interface that can, in some situations, be used in ways that will lead to data corruption or kernel crashes. As the 2023 LSFMM+BPF event approaches, this problem remains unsolved and is still the topic of ongoing discussion. This patch series from Lorenzo Stoakes, which is another attempt at a partial solution, is the latest focus point.

Full Story (comments: none)

[$] LWN.net Weekly Edition for May 4, 2023

Posted May 4, 2023 0:02 UTC (Thu)

The LWN.net Weekly Edition for May 4, 2023 is available.

Inside this week's LWN.net Weekly Edition

  • Front: PyPI namespaces; Unprivileged BPF; 6.4 Merge window; Buffer heads; Ruff.
  • Briefs: Debian "bookworm" coming; Guix bootstrap; SystemTap 4.9; Valgrind 3.21; Quote; ...
  • Announcements: Newsletters, conferences, security updates, patches, and more.
Read more

[$] Namespaces for the Python Package Index

[Development] Posted May 3, 2023 18:04 UTC (Wed) by jake

The Python packaging picture is generally a bit murky; there are lots of different stakeholders, with disparate wishes and needs, which all adds up to a fairly large set of multi-faceted problems. Back in the first three months of the year, we looked at various discussions around packaging, some of which are still ongoing. A packaging summit was held at PyCon 2023 to bring some of the participants of those discussions together in one room. One of its sessions was on adding a namespaces feature to the Python Package Index (PyPI). It provides a look into some of the difficulties that can arise, especially when trying to accommodate a long legacy of existing practices, which is often a millstone around the neck of those trying to make packaging improvements.

Full Story (comments: 13)

[$] Ruff: a fast Python linter

[Development] Posted May 2, 2023 13:31 UTC (Tue) by koenvervloesem

Linters are tools that analyze a program's source code to detect various problems such as syntax errors, programming mistakes, style violations, and more. They are important for maintaining code quality and readability in a project, as well as for catching bugs early in the development cycle. Last year, a new Python linter appeared: Ruff. It's fast, written in Rust, and in less than a year it has been adopted by some high-profile projects, including FastAPI, Pandas, and SciPy.

Full Story (comments: 7)

[$] A kernel without buffer heads

[Kernel] Posted May 1, 2023 15:28 UTC (Mon) by corbet

No data structures found in the Linux kernel — at least, in any version that escaped from Linus Torvalds's development machine — are older than the buffer head. Like many other legacies from the early days of Linux, buffer heads have been targeted for removal for years. They persist, though, despite the problems they present. Now, Christoph Hellwig has posted a patch series that enables the building of a kernel without buffer heads — but the cost of doing so at this point will be more than most want to pay.

Full Story (comments: 8)

[$] 6.4 Merge window, part 1

[Kernel] Posted Apr 28, 2023 14:50 UTC (Fri) by corbet

As of this writing, nearly 7,500 non-merge changesets have been pulled into the mainline repository for the 6.4 kernel release. The 6.4 merge window is thus clearly off and running, with a number of significant changes merged already. Read on for a summary of the most significant pulled so far.

Full Story (comments: 15)

[$] Unprivileged BPF and authoritative security hooks

[Kernel] Posted Apr 27, 2023 14:59 UTC (Thu) by corbet

When the developers of the Linux security module (LSM) subsystem find themselves disagreeing with other kernel developers, it tends to be because those other developers don't think to — or don't want to — add security hooks to their shiny new subsystems. Sometimes, though, the addition of new hooks by non-LSM developers can also create some friction. Andrii Nakryiko's posting of a pair of BPF-related security hooks raised a couple of interesting questions, one of which spurred a fair amount of discussion, and one that did not.

Full Story (comments: 20)

LWN.net Weekly Edition for April 27, 2023

Posted Apr 27, 2023 0:35 UTC (Thu)

The LWN.net Weekly Edition for April 27, 2023 is available.

Inside this week's LWN.net Weekly Edition

  • Front: People API; SELinux runtime disable; Designated movable blocks; 6.3 Statistics; Nikola; GNOME 44.
  • Briefs: Git security updates; PyPI trusted publishers; Linux 6.3; Ubuntu 23.04; GCC 13.1; gccrs; Quotes; ...
  • Announcements: Newsletters, conferences, security updates, patches, and more.
Read more

A user's guide for the people API

[Front] Posted Apr 26, 2023 22:08 UTC (Wed) by jake

Longtime Pythonista Ned Batchelder gave the first of four keynotes at PyCon's 20th-anniversary edition, PyCon 2023, which was held April 19-27 in Salt Lake City, Utah. In fact, it is still being held at the time of this writing; the sprints continue for four days after the three days of main-conference talks. Batchelder presented his thoughts on communication, how it can often go awry for technical people, and how to make it work better.

Full Story (comments: 10)

Security updates for Friday

[Security] Posted May 5, 2023 13:33 UTC (Fri) by jake

Security updates have been issued by Debian (chromium, evolution, and odoo), Fedora (java-11-openjdk), Oracle (samba), Red Hat (libreswan and samba), Slackware (libssh), SUSE (amazon-ssm-agent, apache2-mod_auth_openidc, cmark, containerd, editorconfig-core-c, ffmpeg, go1.20, harfbuzz, helm, java-11-openjdk, java-1_8_0-ibm, liblouis, podman, and vim), and Ubuntu (linux-aws, linux-aws-hwe, linux-intel-iotg, and linux-oem-6.1).

Full Story (comments: none)

Google "We Have No Moat, And Neither Does OpenAI" (SemiAnalysis)

[Development] Posted May 4, 2023 18:03 UTC (Thu) by corbet

The SemiAnalysis site has what is said to be a leaked Google document on the state of open-source AI development. Open source, it concludes, is winning.

At the beginning of March the open source community got their hands on their first really capable foundation model, as Meta’s LLaMA was leaked to the public. It had no instruction or conversation tuning, and no RLHF. Nonetheless, the community immediately understood the significance of what they had been given.

A tremendous outpouring of innovation followed, with just days between major developments (see The Timeline for the full breakdown). Here we are, barely a month later, and there are variants with instruction tuning, quantization, quality improvements, human evals, multimodality, RLHF, etc. etc. many of which build on each other.

(Thanks to Dave Täht).

Comments (27 posted)

New C features in GCC 13 (Red Hat Developer)

[Development] Posted May 4, 2023 13:40 UTC (Thu) by corbet

The Red Hat Developer site has an overview of some of the new C-language features supported by the GCC 13 release.

The nullptr constant first appeared in C++11, described in proposal N2431 from 2007. Its purpose was to alleviate the problems with the definition of NULL, which can be defined in a variety of ways: (void *)0 (a pointer constant), 0 (an integer), and so on. This posed problems for overload resolution, generic programming, etc. While C doesn’t have function overloading, the protean definition of NULL still causes headaches.

Comments (31 posted)

Security updates for Thursday

[Security] Posted May 4, 2023 13:33 UTC (Thu) by jake

Security updates have been issued by Fedora (python-sentry-sdk) and Ubuntu (python-django and ruby2.3, ruby2.5, ruby2.7).

Full Story (comments: none)

Security updates for Wednesday

[Security] Posted May 3, 2023 13:14 UTC (Wed) by corbet

Security updates have been issued by Debian (avahi, kernel, linux-5.10, nodejs, webkit2gtk, and wpewebkit), Gentoo (chromium, google-chrome, microsoft-edge, dbus, dbus-broker, dhcp, firefox, firejail-lts, libapreq2, libsdl, libsdl2, lua, proftpd, python, PyPy3, sudo, syslog-ng, systemd, tor, uptimed, vim, and xfce4-settings), Oracle (emacs and libwebp), Red Hat (libwebp), Scientific Linux (libwebp), and SUSE (ceph, ffmpeg-4, git, pdns-recursor, and shim).

Full Story (comments: none)

Valgrind-3.21.0 released

[Development] Posted May 2, 2023 13:23 UTC (Tue) by corbet

Version 3.21.0 of the Valgrind code-analysis tool is out. Changes include better integration with the GDB debugger, better checks for non-portable realloc() calls, and a number of other improvements.

Full Story (comments: 1)

The Guix (almost) full-source bootstrap

[Distributions] Posted May 2, 2023 13:17 UTC (Tue) by corbet

The Guix project ("a transactional package manager and an advanced distribution of the GNU system") has announced a milestone toward its goal of bootstrapping an entire distribution from source:

If you run guix pull today, you get a package graph of more than 22,000 nodes rooted in a 357-byte program—something that had never been achieved, to our knowledge, since the birth of Unix.

This is an interesting exercise, but should also be a defense against "trusting trust" attacks. (Thanks to Ludovic Courtès and Andy Tai).

Comments (9 posted)

Security updates for Tuesday

[Security] Posted May 2, 2023 13:05 UTC (Tue) by corbet

Security updates have been issued by Debian (libdatetime-timezone-perl and tzdata), Fedora (chromium), Red Hat (emacs and libwebp), Slackware (netatalk), and Ubuntu (php7.0).

Full Story (comments: none)

Four new stable kernels

[Kernel] Posted May 1, 2023 14:04 UTC (Mon) by jake

Greg Kroah-Hartman has announced the 6.3.1, 6.2.14, 6.1.27, and 5.15.110 stable kernels. They all contain a fairly small collection of important fixes. Note that there is a report of build problems in the wireguard subsystem for the 6.1.27 and 5.15.110 kernels, so we may see updates for those fairly soon.

Comments (none posted)

Security updates for Monday

[Security] Posted May 1, 2023 13:54 UTC (Mon) by jake

Security updates have been issued by Debian (distro-info-data, ffmpeg, jackson-databind, jruby, libapache2-mod-auth-openidc, libxml2, openvswitch, sniproxy, and wireshark), Fedora (git, libsignal-protocol-c, php-nyholm-psr7, python-setuptools, rust-askama, rust-askama_shared, rust-comrak, thunderbird, and webkitgtk), SUSE (git, glib2, shadow, thunderbird, and webkit2gtk3), and Ubuntu (Apache Commons Net, git, linux-azure-5.15, linux-azure-fde, linux-kvm, linux-ibm-5.4, linux-snapdragon, netty, and ZenLib).

Full Story (comments: none)

--> More news items


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