Feed lwn LWN.net

Favorite IconLWN.net

Link https://lwn.net/
Feed http://lwn.net/headlines/rss
Updated 2024-11-24 20:00
Kernel prepatch 4.19-rc6
The 4.19-rc6 kernel prepatch is out."As always, please go test and report any problems. It all 'justworks' on my systems, and I have not heard of any major outstanding issuesas of this point in time."
Some weekend stable kernel updates
The stable-kernel machine continues to crank out updates:4.18.11,4.14.73,4.9.130, and4.4.159 are now available with another setof important fixes.
[$] OpenBSD's unveil()
One of the key aspects of hardening the user-space side of an operatingsystem is to provide mechanisms for restricting which parts of thefilesystem hierarchy a given process can access. Linux has a number ofmechanisms of varying capability and complexity for this purpose, but otherkernels have taken a different approach. Over the last few months, OpenBSDhas inaugurated a new system call named unveil() for thistype of hardening that differs significantly from the mechanisms found inLinux.
Nuitka 0.60 released
Nuitka is a compilerfor the Python 2.7 and 3.7 languages; version 0.6.0 isnow available. "This release adds massive improvements for optimization and a couple of bug fixes.It also indicates reaching the mile stone of doing actual type inference,even if only very limited." At this point, the claim is that allPython language features have been implemented, so the focus is shiftingtoward optimization.
Security updates for Friday
Security updates have been issued by Debian (libxml2 and python2.7), Fedora (hylafax+, lcms2, libbson, moodle, mozilla-noscript, visualboyadvance-m, and yum-utils), openSUSE (dom4j and php7), Oracle (firefox), Red Hat (firefox and qemu-kvm-rhev), SUSE (gnutls, kernel, openssl, smt, smt, yast2-smt, xorg-x11-libX11, and yast2-smt), and Ubuntu (mutt).
Security updates for Thursday
Security updates have been issued by Debian (asterisk, otrs2, and strongswan), Fedora (kernel-headers, moodle, ntp, visualboyadvance-m, and yaml-cpp), Mageia (rsyslog), openSUSE (ant, libzypp, zypper, shadow, and tiff), Oracle (389-ds-base, flatpak, kernel, nss, and openssl), Red Hat (rh-perl524-mod_perl and rh-perl526-mod_perl), Scientific Linux (389-ds-base, flatpak, kernel, and nss), SUSE (firefox, gd, glibc, kernel, mgetty, php7, and wireshark), and Ubuntu (udisks2).
Linus Torvalds: 'I'll never be cuddly but I can be more polite' (BBC)
The BBC talkedwith Linus Torvalds about recent events. "Will everybody behappy? No. People who don't like my blunt behaviour even when I'm not beingactively nasty about it will just see that as 'look, nothing changed'. I'mtrying to get rid of my outbursts, and be more polite about things, buttechnically wrong is still technically wrong, and I won't start acceptingbad code just to make people feel better about themselves."
[$] LWN.net Weekly Edition for September 27, 2018
The LWN.net Weekly Edition for September 27, 2018 is available.
[$] Software-tag-based KASAN
The kernel address sanitizer (KASAN) is akernel debugging tool meant to catch incorrect use of kernel pointers. Itis an effective tool, if the number of KASAN-based bug reports showing upon the mailing lists is any indication. The downside of KASAN is asignificant increase in the amount of memory used by a running system. Thesoftware-tag-basedmode proposed by Andrey Konovalov has the potential to address thatproblem, but it brings some limitations of its own.
The Software Freedom Conservancy on GPLv2 irrevocability
For anybody who has been concerned by the talk from a few outsiders aboutrevoking GPL licensing, thisnew section in the Software Freedom Conservancy's copyleft guide isworth a read.Thus, anyone downstream of the contributor (which is anyone using thecontributor’s code), has an irrevocable license from the contributor. Acontributor may claim to revoke their grant, and subsequently sue forcopyright infringement, but a court would likely find the revocation wasineffective and the downstream user had a valid license defense to a claimof infringement.Nevertheless, for purposes of argument, we will assume that for some reasonthe GPLv2 is not enforceable against the contributor, or that theirrevocable license can be revoked. In that case, the application ofpromissory estoppel will likely mean that the contributor still cannotenforce their copyright against downstream users.
[$] The kernel's code of conduct, one week later
The dust has begun to settle after the abrupt decisions by Linus Torvaldsto take a break from kernel maintainership and to adopt a code of conductfor the community as a whole. Unsurprisingly, the development community,most of which was not consulted prior to the adoption of this code, has alot of questions about it and a number of concerns. While many of theanswers to those questions will be a while in coming, a few things arebeginning to come into focus.
A cache invalidation bug in Linux memory management (Project Zero)
Jann Horn describesCVE-2018-17182, a locally exploitable memory-management bug in thekernel, in great detail. "Fundamentally, this bug can be triggeredby any process that can run for a sufficiently long time to overflow thereference counter (about an hour if MAP_FIXED is usable) and has theability to use mmap()/munmap() (to manage memory mappings) and clone() (tocreate a thread). These syscalls do not require any privileges, and theyare often permitted even in seccomp-sandboxed contexts, such as the Chromerenderer sandbox (mmap, munmap, clone), the sandbox of the main gVisor hostcomponent, and Docker's seccomp policy."
[$] Progress on Zinc (thus WireGuard)
When last we looked at the WireGuard VPN code and its progresstoward mainline inclusion, said progress was impeded by disagreements aboutthe new "Zinc"cryptographic library that is added by the WireGuard patches. Since thatAugust look, several more versions of WireGuard and Zinc have been posted; it would seem that Zinc is gettingcloser to being accepted. Once that happens, the networking developers arepoised to review that portion of the code, which likely will leadto WireGuard in the kernel some time in the next development cycle or two.
Stable kernel updates
Stable kernels 4.18.10, 4.14.72, 4.9.129, 4.4.158, and 3.18.123 have been released. They all containimportant fixes throughout the tree and users should upgrade.
Security updates for Wednesday
Security updates have been issued by Debian (python2.7 and python3.4), openSUSE (php5-smarty3), Oracle (389-ds-base, flatpak, kernel, and nss), Red Hat (389-ds-base, chromium-browser, flatpak, kernel, kernel-alt, kernel-rt, nss, and qemu-kvm-ma), and SUSE (ant, dom4j, kernel, and wireshark).
Security updates for Tuesday
Security updates have been issued by Arch Linux (strongswan and zsh), Debian (dom4j and polarssl), openSUSE (apache2, gd, gnutls, GraphicsMagick, nodejs8, php7, and shadow), Oracle (mod_perl), Red Hat (mod_perl), Scientific Linux (mod_perl), SUSE (ant, gd, gnutls, java-1_8_0-ibm, libXcursor, mgetty, pam_pkcs11, php7, python-paramiko, shadow, and tiff), and Ubuntu (strongswan).
[$] Archiving web sites
<p>I recently took a deep dive into web site archival for friends whowere worried about losing control over the hosting of their workonline in the face of poor system administration or hostileremoval.This makes web site archival an essential instrument in thetoolbox of any system administrator.As it turns out, some sites are much harder to archive thanothers. This article goes through the process of archiving traditionalweb sites and shows how it falls short when confronted with the latestfashions in the single-page applications that are bloating the modern web.<p>Subscribers can read on for a look at web archiving by guest author Antoine Beaupré.
Security updates for Monday
Security updates have been issued by Arch Linux (bitcoin-daemon and bitcoin-qt), Debian (firefox-esr, hylafax, libarchive-zip-perl, mediawiki, okular, openafs, strongswan, and texlive-bin), Fedora (gitolite3, kernel-headers, and lcms2), Mageia (dropbear, kernel, lcms2, libcgroup, libextratcor, mailman, mpg123, okular, php, soundtouch, unixODBC, webkit2, and xml-security-c), openSUSE (aubio, bouncycastle, chromium, ffmpeg-4, firefox, gdm, GraphicsMagick, hylafax+, ImageMagick, jhead, liblouis, nemo-extensions, nextcloud, nodejs6, obs-service-refresh_patches, okular, openslp, pango, phpMyAdmin, python-Django, python-Django1, and seamonkey), Oracle (spice and spice-gtk), Slackware (firefox and kernel), and SUSE (ant, apache2, gnutls, libzypp, zypper, nodejs6, nodejs8, and xorg-x11-libs).
Kernel prepatch 4.19-rc5
The 4.19-rc5 kernel prepatch has beenreleased by Greg Kroah-Hartman. "As almost everyone knows, it's beenan 'interesting' week from a social point-of-view. But from the technicalside, -rc5 looks totally normal."
[$] Time namespaces
The kernel's namespace abstraction allowsdifferent groups of processes to have different views of the system. Thisfeature is most often used with containers; it allows each container tohave its own view of the set of running processes, the network environment,the filesystem hierarchy, and more. One aspect of the system that remainsuniversal, though, is the concept of the system time. The recently postedtimenamespace patch set (from Dmitry Safonov with a lot of work by AndreiVagin) seeks to change that.
Mir 1.0 released
The Ubuntu blog has announced the release of version 1.0.0 of the Mir display server. "Whether for building a device or for writing a shell for the desktop, Mir can give you a graphics stack that is fast, light, and secure. The Mir graphical stack works across different graphics platforms and driver models and is easy to integrate into your kiosk, digital signage, or purpose built graphical solution. It was first conceived over 6 years ago as part of an initiative by Canonical to unify the graphical environment across all devices, including desktop, TV, and mobile devices and continues to be developed with new features and modern standards."
Security updates for Friday
Security updates have been issued by Debian (hylafax, sympa, and texlive-bin), Fedora (curl and gitolite3), Mageia (bouncycastle, ghostscript, and libx11), openSUSE (webkit2gtk3), Oracle (spice and spice-gtk and spice-gtk and spice-server), Red Hat (rubygem-smart_proxy_dynflow, spice and spice-gtk, and spice-gtk and spice-server), Scientific Linux (spice and spice-gtk and spice-gtk and spice-server), and SUSE (ImageMagick, kernel, liblouis, openslp, and python-paramiko).
Security updates for Thursday
Security updates have been issued by Debian (glusterfs, php5, reportbug, and suricata), openSUSE (chromium and exempi), Red Hat (openstack-rabbitmq-container), SUSE (couchdb, crowbar, crowbar-core, crowbar-ha, crowbar-init, crowbar-openstack, crowbar-ui, gdm, OpenStack, pango, and webkit2gtk3), and Ubuntu (bind9, lcms, lcms2, and lcms2).
After Years of Abusive E-mails, the Creator of Linux Steps Aside (The New Yorker)
A story in The New Yorker magazine may help explain some of the timing of the recent upheavals in kernel-land. Longtime followers of kernel development will find the article to be a mixed bag—over the top in spots, fairly accurate elsewhere. "Torvalds’s decision to step aside came after The New Yorker asked him a series of questions about his conduct for a story on complaints about his abusive behavior discouraging women from working as Linux-kernel programmers. In a response to The New Yorker, Torvalds said, 'I am very proud of the Linux code that I invented and the impact it has had on the world. I am not, however, always proud of my inability to communicate well with others—this is a lifelong struggle for me. To anyone whose feelings I have hurt, I am deeply sorry.'"
[$] LWN.net Weekly Edition for September 20, 2018
The LWN.net Weekly Edition for September 20, 2018 is available.
Stable kernel updates
Stable kernels 4.18.9, 4.14.71, 4.9.128, and 4.4.157 have been released. They all containthe usual set of important fixes and users should upgrade.
[$] Project Treble
Android's ProjectTreble is meant as a way to reduce the fragmentation in the Androidecosystem. It also makes porting Android 8 ("Oreo"—the first versionto mandate Treble) more difficult, according to Fedor Tcymbal. Hedescribed the project and what it means for silicon and device vendors in atalk atOpenSource Summit North America 2018 in Vancouver, Canada.
[$] Resource control at Facebook
Facebook runs a lot of programs and it tries to pack as many as it can ontoeach machine. That means running close to—and sometimes beyond—theresource limits on any given machine. How the system reacts when, for example,memory is exhausted, makes a big difference in Facebook getting its workdone. Tejun Heo came to 2018 Open Source Summit North America to describe the resource controlwork that has been done by the team he works on at Facebook.
Security updates for Wednesday
Security updates have been issued by Debian (chromium-browser and libapache2-mod-perl2), Oracle (kernel), and Ubuntu (ghostscript, glib2.0, and php5).
LLVM 7.0.0 released
Version 7.0.0 of the LLVM compiler suite is out."It is the result of the community's workover the past six months, including: function multiversioning in Clangwith the 'target' attribute for ELF-based x86/x86_64 targets, improvedPCH support in clang-cl, preliminary DWARF v5 support, basic supportfor OpenMP 4.5 offloading to NVPTX, OpenCL C++ support, MSan, X-Rayand libFuzzer support for FreeBSD, early UBSan, X-Ray and libFuzzersupport for OpenBSD, UBSan checks for implicit conversions, manylong-tail compatibility issues fixed in lld which is now productionready for ELF, COFF and MinGW, new tools llvm-exegesis, llvm-mca anddiagtool".The list of new featuresis long; see theoverall release notes,theClang release notes,theClang tools release notes, and theLLD linker release notes for more information.
[$] Code, conflict, and conduct
A couple of surprising things happened in the kernel community onSeptember 16: Linus Torvalds announcedthat he was taking a break from kernel development to focus on improvinghis own behavior, and the longstanding "code of conflict" was replacedwith a code of conduct based on the ContributorCovenant. Those two things did not quite come packaged as a set, butthey are clearly not unrelated. It is atime of change for the kernel project; there will be challenges to overcomebut, in the end, less may change than many expect or fear.
Security updates for Tuesday
Security updates have been issued by Fedora (ghostscript, icu, nspr, nss, nss-softokn, nss-util, and okular), Red Hat (java-1.7.1-ibm, java-1.8.0-ibm, OpenStack Platform, openstack-neutron, and openstack-nova), and Ubuntu (clamav and php5, php7.0, php7.2).
PostgreSQL adopts a code of conduct
The PostgreSQL community has, after an extended discussion, announced theadoption of a codeof conduct "which is intended toensure that PostgreSQL remains an open and enjoyable project for anyone tojoin and participate in".
Versity announces next generation open source archiving filesystem
Versity Software has announced that it has released ScoutFS under GPLv2. "ScoutFS is the first GPL archiving file system ever released, creating aninherently safer and more user friendly option for storing archival datawhere accessibility over very large time scales, and the removal of vendorspecific risk is a key consideration."
Security updates for Monday
Security updates have been issued by Debian (discount, ghostscript, intel-microcode, mbedtls, thunderbird, and zutils), Fedora (ghostscript, java-1.8.0-openjdk-aarch32, kernel-headers, kernel-tools, libzypp, matrix-synapse, nspr, nss, nss-softokn, nss-util, zsh, and zypper), Mageia (kernel, kernel-linus, and kernel-tmb), openSUSE (chromium, curl, ffmpeg-4, GraphicsMagick, kernel, libzypp, zypper, okular, python3, spice-gtk, tomcat, and zsh), Oracle (kernel), Slackware (php), SUSE (curl, libzypp, zypper, and openssh-openssl1), and Ubuntu (curl and firefox).
Apache SpamAssassin 3.4.2 released
SpamAssassin 3.4.2 is out, the first release from this spam-filteringproject since 3.4.1 came out in April 2015. It fixes some remotelyexploitable security issues, so SpamAssassin users probably want toupdate in the near future. "The exploit has been seen in the wild but not believe to have beenpurposefully part of a Denial of Service attempt. We are concerned thatthere may be attempts to abuse the vulnerability in the future. Therefore, we strongly recommend all users of these versions upgrade toApache SpamAssassin 3.4.2 as soon as possible."
[$] Fedora reawakens the hibernation debate
Behavioral changes can make desktop users grumpy; that is doubly true forchanges that arrive without notice and possibly risk data loss. Such asituation recently arose in the Fedora 29 development branch in theform of a new "suspend-then-hibernate" feature. This feature will almostcertainly be turned off before Fedora 29 reaches an official release,but the discussion and finger-pointing it inspired reveal somesignificant differences of opinion about how this kind of change should bemanaged.
Kernel prepatch 4.19-rc4; Linus taking a break
Linus has released 4.19-rc4 and made a setof announcements that should really be read in their entirety."I actually think that 4.19 is looking fairly good,things have gotten to the 'calm' period of the release cycle, and I'vetalked to Greg to ask him if he'd mind finishing up 4.19 for me, sothat I can take a break, and try to at least fix my own behavior."
Weekend stable kernel updates
The4.18.8,4.14.70,4.9.127, and4.4.156 stable kernels have been released.Each contains a relatively large set of important fixes and updates.
Lights, Camera, Open Source: Hollywood Turns to Linux for New Code Sharing Initiative (Linux Journal)
Linux Journal covers the new Academy Software Foundation (ASWF), which is a project aimed at open-source collaboration in movie-making software that was started by theAcademy of Motion Picture Arts and Sciences (AMPAS) and the Linux Foundation. "Still at the early stages, the ASWF has yet to develop any of its own projects, but there is interest in having them host a number of very popular projects, such as Industrial Light & Magic’s OpenEXR HDR image file format, color management solution OpenColorIO, and OPenVDB, which is used for working with those hard-to-handle objects like clouds and fluids.Along with promoting cooperation on the development of a more robust set of tools for the industry, one of the goals of the organization moving forward is to put out a shared licensing template that they hope will help smooth the tensions over licensing. It follows that with the growth of projects, navigating the politics over usage rights is bound to be a tricky task."
Security updates for Friday
Security updates have been issued by CentOS (firefox), Fedora (firefox, openssh, pango, and zziplib), Mageia (flash-player-plugin and ntp), Oracle (kernel), Red Hat (flash-plugin), Slackware (ghostscript), SUSE (podman and spice-gtk), and Ubuntu (firefox).
The (awesome) economics of open source (Opensource.com)
Over at Opensource.com, Red Hat's Michael Tiemann looksat open source fromthe perspective of the economic theories of Ronald Coase, who won the 1991Nobel Prize for Economics. Those theories help explain why companies likeRed Hat (and Cygnus Solutions, which Tiemann founded) have prospered evenin the face of economic arguments about why they shouldnot. "Successful open source software companies 'discover' marketswhere transaction costs far outweigh all other costs, outcompete theproprietary alternatives for all the good reasons that even the economicnay-sayers already concede (e.g., open source is simply a betterdevelopment model to create and maintain higher-quality, more rapidlyinnovative software than the finite limits of proprietary software), andthen—and this is the important bit—help clients achieve strategicobjectives using open source as a platform for their own innovation. Withopen source, better/faster/cheaper by itself is available for the low, lowprice of zero dollars.As an open source company, we don't cry about that. Instead, we look at how open source might create a new inflection point that fundamentally changes the economics of existing markets or how it might create entirely new and more valuable markets."
The first /e/ beta is available
/e/ is Gaël Duval's project to build a privacy-oriented smartphonedistribution; the first beta isnow available with support for a number of devices. "At ourcurrent point of development, we have an '/e/' ROM in Beta stage: forkedfrom LineageOS 14.1, it can be installed on several devices (read the list). The number of supported devices will grow over time, depending onmore build servers and more contributors who can maintain or port tospecific devices (contributors welcome). The ROM includes microG configuredby default with Mozilla NLP so users can have geolocation functionalityeven when GPS signal is not available."
[$] Compiling kernel UAPI headers with C++
Linux kernel developers tend to take a dim view of the C++ language; it isseen, rightly or wrongly, as a sort of combination of the worst (from asystem-programming point of view) features of higher-level languages andthe worst aspects of C. So it takes a relatively brave person todare to discuss that language on the kernel mailing lists. David Howellsmust certainly be one of those; he not only brought up the subject, but isworking to make the kernel's user-space API (UAPI) header files compatiblewith C++.
Security updates for Thursday
Security updates have been issued by Debian (ghostscript and openssh), Oracle (firefox), Scientific Linux (firefox and OpenAFS), SUSE (tomcat), and Ubuntu (openjdk-lts).
HHVM ending support for PHP
The HHVM project has announcedthat the Hack language and PHP will truly be going separate ways. The HHVMv3.30 release, due by the end of the year, will be the last to support codewritten in PHP. "Ultimately, we recommend that projects eithermigrate entirely to the Hack language, or entirely to PHP7 and the PHPruntime." HHVM was first announcedin 2011 as a compiler for the PHP language.
[$] LWN.net Weekly Edition for September 13, 2018
The LWN.net Weekly Edition for September 13, 2018 is available.
[$] Machine learning and stable kernels
There are ways to get fixes into the stable kernel trees, but theyrequire humans to identify which patches should go there. Sasha Levin andJulia Lawall have taken a different approach: use machine learning todistinguish patches that fix bugs from others. That way, all bug-fixpatches could potentially make their way into the stable kernels. Levinand Lawall gave a talk describing their work at the 2018Open Source Summit North America in Vancouver, Canada.
[$] Trying to get STACKLEAK into the kernel
The STACKLEAK kernel security feature has been in the works for quite sometime now, but has not, as yet, made its way into the mainline. That is notfor lack of trying, as Alexander Popov has posted 15 separate versions ofthe patch set since May 2017. He described STACKLEAK and its tortuous pathtoward the mainline in a talk[YouTube video] at the 2018Linux Security Summit.
Security updates for Wednesday
Security updates have been issued by Debian (kamailio, libextractor, and mgetty), Fedora (community-mysql, ghostscript, glusterfs, iniparser, okular, and zsh), openSUSE (compat-openssl098, php5, and qemu), Red Hat (firefox), SUSE (libzypp, zypper, python3, spark, and zsh), and Ubuntu (zsh).
...121122123124125126127128129130...