Feed lwn LWN.net

Favorite IconLWN.net

Link https://lwn.net/
Feed http://lwn.net/headlines/rss
Updated 2024-11-25 06:30
[$] Rationalizing Python's APIs
<p>CPython is the reference implementation of Python, so it is,unsurprisingly, the target for various language-extension modules. But theAPI and ABI it provides to those extensions ends up limiting whatalternative Python implementations—and even CPython itself—can do, sincethose interfaces must continue to be supported. Beyond that, though, theinterfaces are not clearly delineated, so changes can unexpectedly affect extensionsthat have come to depend on them. A recent thread on the python-ideasmailing list looks at how to clean that situation up.
Libgcrypt 1.8.0 released
The GnuPG Project has announced the availability of Libgcrypt 1.8.0."This is a new stable version of Libgcrypt with full API and ABI compatibility to the 1.7 series. Its main features are supportBlake-2, XTS mode, an improved RNG, and performance improvements for theARM architecture."
Security updates for Wednesday
Security updates have been issued by Arch Linux (c-ares, freeradius, gvim, lib32-libtiff, libtiff, pcre, rkhunter, and vim), Debian (apache2, evince, imagemagick, unattended-upgrades, and vim), Fedora (openldap, php, and poppler), Oracle (freeradius), SUSE (evince and systemd, dracut), and Ubuntu (apport, icu, and libtasn1-3).
[$] Apache disallows the Facebook BSD+patent license
Software patents may not have brought about the free-software apocalypsethat some have feared over the years, but they remain a minefield for thesoftware industry as a whole. A small-scale example of this can be seen inthe recent decision by the Apache Software Foundation (ASF) to move alicense with patent-related terms to its "Category-X"list of licenses that cannot be used by ASF projects. A number ofprojects will be scrambling to replace software dependencies on a shorttimeline, all because Facebook wanted to clarify its patent-licensingterms.
Google’s OSS-Fuzz Tool Helps Secure Open Source Projects (Linux.com)
Linux.com takesa look at Google's OSS-Fuzz threat detection tool. "Google alsoannounced that it is expanding its existing PatchRewards program to include rewards for the integration of fuzztargets into OSS-Fuzz. To qualify for these rewards, a project needs tohave a large user base and/or be critical to global ITinfrastructure. Eligible projects will receive $1,000 for initialintegration, and up to $20,000 for ideal integration (the final amount isat Google’s discretion). Project leaders have the option of donating theserewards to charity instead, and Google will double the amount."LWN covered OSS-Fuzz last January.
End of the line for Remix OS
Remix OS was an effort to bring Android to the PC, which included akickstarter campaign to build products using Remix OS. Now Jide Technology, makers of Remix OS, hasannounced a change in focus that leaves Remix OS out of the picture. "We’ll be restructuring our approach to Remix OS and transitioning away from the consumer space. As a result, development on all existing products such as Remix OS for PC as well as products in our pipeline such as Remix IO and IO+ will be discontinued. Full refunds will be issued to ALL BACKERS via Kickstarter for both Remix IO and Remix IO+. In addition any purchases made via our online store that has remained unfulfilled will also be fully refunded. This requires no action from you as we will begin issuing refunds starting August 15th."
Security updates for Tuesday
Security updates have been issued by Debian (libmtp), Fedora (kernel), Red Hat (freeradius and kernel), Scientific Linux (freeradius), and Ubuntu (libgcrypt11).
Security updates for Monday
Security updates have been issued by Arch Linux (apache, evince, and mosquitto), Debian (apache2, evince, heimdal, and knot), Fedora (c-ares, cacti, evince, GraphicsMagick, httpd, jabberd, libgcrypt, openvas-cli, openvas-gsa, openvas-libraries, openvas-manager, openvas-scanner, poppler, qt5-qtwebengine, qt5-qtwebkit, spatialite-tools, and sqlite), openSUSE (gnutls, ncurses, qemu, and xorg-x11-server), Slackware (mariadb and samba), SUSE (cryptctl), and Ubuntu (heimdal and samba).
Mageia 6 released
Version6 of the Mageia distribution is available. "Though Mageia 6’sdevelopment was much longer than anticipated, we took the time to polish itand ensure that it will be our greatest release so far." Highlightsinclude KDE Plasma 5, the DNF package manager as an alternative tourpmi, and an experimental ARM port. Details can be found inthe releasenotes.
[$] 4.13 Merge window, part 2
By the end of the 4.13 merge window, 11,258 non-merge changesets hadbeen pulled into the mainline repository — about 3,600 since the first half of this series was written.That is nowhere near the 12,920 changesets that landed during the 4.12merge window, but it still makes for a typically busy development cycle.What follows is a summary of the more interesting changes found in thoselast 3,600+ changesets.
Kernel prepatch 4.13-rc1
Linus has released 4.13-rc1 and closed themerge window for this cycle. "Once again, the diffstat is absolutelydominated by some AMD gpu header files, but if you ignore that, things lookpretty regular, with about two thirds drivers and one third "rest"(architecture, core kernel, core networking, tooling)."
A whole pile of stable kernels
Greg Kroah-Hartman has announced the release of five new stable kernels: 4.12.2, 4.11.11. 4.9.38, 4.4.77, and 3.18.61. As usual, they contain importantfixes and users should upgrade.
Drupal Association and project lead statement regarding Larry Garfield
The Drupal Association has issued alengthy statement on why Larry Garfield has been removed from hismanagement roles in the Drupal project. "Larry's subsequent blogposts harmed the community and had a material impact on the DrupalAssociation, including membership cancellations from those who believed wedoxed, bullied, and discriminated against Larry as well as significantstaff disruption. Due to the harm caused, the Drupal Association isremoving Larry Garfield from leadership roles that we are responsible for,effective today." See this articlefor background information.
Security updates for Friday
Security updates have been issued by Debian (bind9, heimdal, samba, and xorg-server), Fedora (cacti, evince, expat, globus-ftp-client, globus-gass-cache-program, globus-gass-copy, globus-gram-client, globus-gram-job-manager, globus-gram-job-manager-condor, globus-gridftp-server, globus-gssapi-gsi, globus-io, globus-net-manager, globus-xio, globus-xio-gsi-driver, globus-xio-pipe-driver, globus-xio-udt-driver, jabberd, myproxy, perl-DBD-MySQL, and php), openSUSE (libcares2), SUSE (xorg-x11-server), and Ubuntu (evince and nginx).
[$] Rethinking the Stack Clash fix
It has been nearly one month since the StackClash vulnerability was disclosed and some hardening measures wererushed into the 4.12 kernel release. Since then, a fair amount of work hasgone into fixing problems caused by those measures and porting the result backto stable kernel releases. Now, it seems, the kernel developers areconsidering taking a different approach entirely.
Security updates for Thursday
Security updates have been issued by Arch Linux (irssi), CentOS (httpd and kernel), Debian (nginx), Fedora (perl-DBD-MySQL and qt5-qtwebengine), Mageia (apache-mod_fcgid, cairo, jbig2dec, nodejs, and sudo), openSUSE (libreoffice, spice, and systemd), Red Hat (python-django-horizon), and SUSE (kernel and xorg-x11-server).
[$] LWN.net Weekly Edition for July 13, 2017
The LWN.net Weekly Edition for July 13, 2017 is available.
[$] OpenBSD kernel address randomized link
A less than two-month-old project for OpenBSD, kernel address spacerandomized link (KARL), has turned the kernel into anobject that is randomized on every boot. Instead of the code being storedin the same location for every boot of a given kernel, each boot will be unique. Unlike Linux's kernel addressspace layout randomization (KASLR), which randomizes the base addressfor all of the kernel code on each boot, KARL individually randomizes theobject files that get linked into the binary. That means that a single information leakof a function address from the kernel does not leak information aboutthe location of all other functions.
[$] Highlights in Fedora 26
The much anticipated release of Fedora 26 was made onJuly 11. As usual, it came with a wide array of updated packages,everything from the kernel through programming languages to desktops, butthere are also internal tools and installation mechanisms that have changedas well. Beyond that, the new Python ClassroomLab is aimed at teachers and instructors to make it easier to get afull-featured Python (of various flavors and with lots of extras) inseveral different easily installable forms. Though it was delayed by morethan a month from its original planned release date—something the project embraces at some level—Fedora 26looks like it was worth waiting for.
[$] User=0day considered harmful in systemd
<p>Validating user input is a long-established security best practice, butthere can be differences of opinion about what should be done when thatvalidation fails. A recently reported bug in systemd has fostered adiscussion on that topic; along the way there has also been discussionabout how much validation systemd should actually be doing and how much should be left upto the underlying distribution. The controversy all revolves aroundusernames that systemd does not accept, but that some distributions (andPOSIX) find to be perfectly acceptable.
Three new stable kernels
Stable kernels 4.12.1, 4.11.10, and 4.9.37 have been released. They all containimportant fixes and users should upgrade.
Security updates for Wednesday
Security updates have been issued by Arch Linux (flashplugin, lib32-flashplugin, lib32-gnutls, libdwarf, nginx, nginx-mainline, and tor), Debian (spice and undertow), Fedora (bind, bind-dyndb-ldap, chromium-native_client, dnsperf, expat, flatpak, GraphicsMagick, httpd, jetty, libdb, libsndfile, mingw-LibRaw, mosquitto, php-horde-Horde-Image, qt5-qtwebengine, xen, and yara), Oracle (httpd and kernel), Red Hat (flash-plugin, httpd, and kernel), Scientific Linux (httpd and kernel), and SUSE (spice).
[$] Emacs and Magit
The Git source-code management system is widely known for its flexibilityand for the distributed development model that it supports. Its reputationfor ease of use is ... less well established. There should, thus, bean opening for front-end systems that can make Git easier to use. One ofthe most comprehensive Git front ends, Magit, works within the Emacs editor and has awide following. But Magit has run into some turbulence within the Emacsdevelopment community that is blocking its wider distribution.
Power Management and Energy-awareness Microconference Accepted into LPC
The Power Management and Energy-awareness microconference has beenaccepted for this year's Linux Plumber's Conference, which runs September13-15 in Los Angeles, CA. "The agenda this year will focus on arange of topics including CPUfreq core improvements and schedutil governor extensions, how to best usescheduler signals to balance energy consumption and performance anduser space interfaces to control capacity and utilization estimates.We'll also discuss selective throttling in thermally constrainedsystems, runtime PM for ACPI, CPU cluster idling and the possibility toimplement resume from hibernation in a bootloader."
Security updates for Tuesday
Security updates have been issued by Debian (jetty8, tiff, and tiff3) and Slackware (libtirpc and rpcbind).
Fedora 26 released
The Fedora 26release is out. "First, of course, we have thousandsimprovements from the various upstream software we integrate, including newdevelopment tools like GCC 7, Golang 1.8, and Python 3.6. We’ve added a newpartitioning tool to Anaconda (the Fedora installer) — the existingworkflow is great for non-experts, but this option will be appreciated byenthusiasts and sysadmins who like to build up their storage scheme frombasic building blocks. F26 also has many under-the-hood improvements, likebetter caching of user and group info and better handling of debuginformation. And the DNF package manager is at a new major version (2.5),bringing many new features." More details can be found in therelease notes.
[$] 4.13 Merge window, part 1
The 4.13 merge window is in progress, and, as usual, LWN is watching thecommit stream. Click below (subscribers only) for the first report on whathas been merged for the 4.13 release. It appears that this will be anotherbusy development cycle.
Encrypted Media Extensions a W3C Recommendation
Encrypted Media Extensions (EME) have been under review by the W3C AdvisoryCommittee since last March. This reportfrom the committee addresses comments and objections to EME."After consideration of the issues, the Director reached a decisionthat the EME specification should move to W3C Recommendation. The EncryptedMedia Extensions specification remains a better alternative for users thanother platforms, including for reasons of security, privacy, andaccessibility, by taking advantage of the Web platform. While additionalwork in some areas may be beneficial for the future of the Web Platform, itremains appropriate for the W3C to make the EME specification a W3CRecommendation. Formal publication of the W3C Recommendation will happen ata later date. We encourage W3C Members and the community to work in bothtechnical and policy areas to find better solutions in this space."The Free Software Foundation's Defective by Design campaign opposesEME arguing that it infringes on Web users' control of their owncomputers, and weakens their security and privacy. "Opponents' last opportunity to stop EME is an appeal by the Advisory Committee of the World Wide Web Consortium (W3C), the body which Tim Berners-Lee heads. Requiring 5% of the Committee's 475 members (corporate, nonprofit, and educational institutions) to sign on within a two-week period, the appeal would then trigger a vote from the whole Committee to make a final decision to ratify or reject EME."
SPI 2016 Annual Report
Software in the Public Interest (SPI) has announced the availability of its2016 AnnualReport [PDF], covering the 2016 calendar year. "We’ve seen a lotof change this year. Several long-term board members retired from theboard, including Bdale Garbee who served as SPI’s President for many years.There was a lot of interest in SPI’s board election and severalnew contributors joined the board. The board met in person in February todiscuss outstanding issues and work on long-term plans."
Security updates for Monday
Security updates have been issued by Debian (bind9, jetty, mpg123, phpldapadmin, sqlite3, and xorg-server), Fedora (bind, bind99, dhcp, drupal7, GraphicsMagick, httpd, irssi, jetty, jetty-alpn, jetty-test-helper, libdb, libgcrypt, mosquitto, ocaml, pius, qt5-qtwebkit, tomcat, xen, and zabbix), Gentoo (feh, gajim, game-music-emu, jasper, libcroco, libsndfile, man-db, nm-applet, openslp, phpmyadmin, roundcube, virglrenderer, and vlc), openSUSE (irssi, kernel, libgcrypt, and xen), Slackware (irssi and php), and Ubuntu (poppler).
Qubes: Toward a Reasonably Secure Laptop
The Qubes OS project has announced a program for the certification of"reasonably secure" laptops, but users will have to wait to get such amachine: "So far, no third-party manufacturers have produced a computerthat satisfies these requirements. However, ITL has entered initial talks witha promising partner with whom we can foresee creating a true Reasonably SecureLaptop."
Jones: Patch review and message brokers
On his blog, Richard WM Jones describes work he has done on an automated patch testing system that is similar to the kernel 0-day test service. "Today I thought I’d write something like this, partly to reinvent the wheel, but mostly to learn more about the RabbitMQ message broker.You see, if you have to receive emails, run large tests, and send more emails, then at least two and possibly more machines and going to be involved, and as soon as you are using two or more machines, you are writing a distributed system and you need to use the right tools. Message brokers and RabbitMQ in particular make writing distributed systems easy — trust me, I’ll show you how!"
Roland McGrath bows out as glibc maintainer
In what seems to be an acknowledgment of the status quo, rather than a big change, GNU C library (glibc) founder and maintainer Roland McGrath has stepped down from the project. This is not caused by any "big news with me", he said, just a recognition that he has drifted away from the project. "This summer marks 30 years since I began writing the GNU C Library.(That's two thirds of my lifespan so far.) It's long enough.So, I'm hereby declaring myself maintainer emeritus and withdrawing fromdirect involvement in the project. These past several months, if notthe last few years, have proven that you don't need me any more.You'll make good decisions, as you've already made good decisions.You'll actually get around to implementing some of the things I've beensuggesting or meaning to do (or saying I would do) for years, as you'vealready made progress on some of those ideas in recent months. If Istayed around to give advice, you'd ignore my advice to be more paranoidand more cautious, plow ahead anyway, ship it, and then have to redressthe problem when the practical issues manifested, as you've already doneand had to do. :-) All in all, I have no doubt at all that the jobyou're doing now and will do in the future maintaining glibc is betterthan I ever did that job myself and at least as good as my presence inthe project might ever make it." As several responses to the post have already indicated, McGrath will be missed.
[$] Hardened usercopy whitelisting
There are many ways to attempt to subvert an operating-system kernel. Oneparticularly effective way, if it can be arranged, is to attack theoperations that copy data between user-space and kernel-space memory. Ifthe kernel can be fooled into copying too much data back to user space, theresult can be an information-disclosure vulnerability. Errors in the otherdirection can be even worse, overwriting kernel memory withattacker-controlled data. The kernel has gained some defenses against thissort of attack in recent development cycles, but there is more work yet tobe merged.
Security updates for Friday
Security updates have been issued by Fedora (webkitgtk4), Mageia (ffcall,clisp and libffi), openSUSE (apache2, bind, clamav, dovecot22, GraphicsMagick, libICE, libquicktime, libXdmcp, libxml2, php7, and vim), Red Hat (ansible), and SUSE (ncurses and xen).
Dynamic tracing in Linux user and kernel space (Opensource.com)
Over at Opensource.com, Pratyush Anand looks at dynamic tracing for both user space programs and the kernel. He gives an introduction to using uprobes and kprobes directly as well as using them via the perf tool. "We can insert kprobe within most of the symbols in /proc/kallsyms; other symbols have been blacklisted in the kernel. A kprobe insertion into the kprobe_events file for the symbols that aren't compatible with a kprobe insertion should result in a write error. A probe can be inserted at some offset from the symbol base, as well. Like uprobe, we can also trace the return of a function using kretprobe. The value of a local variable can also be printed in trace output."
Security updates for Thursday
Security updates have been issued by CentOS (bind and qemu-kvm), Debian (jabberd2, libclamunrar, libgcrypt11, radare2, and tiff), Fedora (bind, bind-dyndb-ldap, dnsperf, kdepim4, kf5-messagelib, kmail, and php-horde-Horde-Image), Oracle (bind and qemu-kvm), SUSE (ncurses), and Ubuntu (ntp, samba, and thunderbird).
[$] LWN.net Weekly Edition for July 6, 2017
The LWN.net Weekly Edition for July 6, 2017 is available.
[$] Breaking Libgcrypt RSA via a side channel
A recent paper [PDF] bya group of eight cryptography researchers shows, once again, howcryptographic breakthroughs are made. They often start small, with just areduction in the strength of a cipher or key search space, say, but then growover time to reach the point of a full-on breaking of a cipher or theimplementation of one. In this case, the RSAimplementation in Libgcryptfor 1024-bit keys has been fully broken using a side-channelattack against the operation of the library—2048-bit keys are alsosusceptible, but not with the same reliability, at least using this exacttechnique.
Cuoq/Regehr: Undefined Behavior in 2017
Here is a detailed summaryof undefined behavior in C and C++ programs — and the tools that can beused to detect such behavior — by Pascal Cuoq and John Regehr."The state of the art in debugging tools for strict aliasingviolations is weak. Compilers warn about some easy cases, but thesewarnings are extremely fragile. libcrunch warns that a pointer is beingconverted to a type “pointer to thing” when the pointed object is not, infact, a 'thing.' This allows polymorphism though void pointers, but catchesmisuses of pointer conversions that are also strict aliasingviolations."
[$] A little surprise in the Ubuntu motd
At the end of June, Zachary Fouts noticed something on his Ubuntu systemthat surprised him a bit: an entry in the "message of the day" (motd) thatlooked, at least to some, like an advertisement. That is, of course, notwhat anyone expects from their free-software system; it turns out that it wasn't an ad at all,though it was worded ambiguously and could be (and was) interpreted thatway. As the discussion in the bugFouts filed shows, the "ad" came about from a useful feature that mayor not have been somewhat abused—that determination depends on the observer.
Four new stable kernels
Stable kernels 4.11.9, 4.9.36, 4.4.76, and 3.18.60 have been released. All of themcontain important fixes and users should upgrade.
Security updates for Wednesday
Security updates have been issued by Debian (graphite2), Gentoo (icedtea-bin), openSUSE (postgresql94), Red Hat (bind, qemu-kvm, qemu-kvm-rhev, rh-postgresql94-postgresql, and rh-postgresql95-postgresql), Scientific Linux (bind and qemu-kvm), and SUSE (qemu, sudo, and xen).
Oryx Linux 0.2.0 Released
Version 0.2.0 of the Oryx Linux distribution is out."Oryx Linux is an embedded Linux distribution based around the Yocto Projectand OpenEmbedded. It incorporates a lightweight container runtime engine tobring the benefits of containerisation to the embedded sector withoutdisrupting existing developer workflows."
Kuhn: Goodbye To Bob Chassell
On his blog, Bradley Kuhn remembers Bob Chassell, who was an early contributor to free software, after his passing in early July. "I regularly credit Bob as the first Executive Director of the FSF. While he technically never held that title, he served as Treasurer for many years and was the de-facto non-technical manager at the FSF for its first decade of existence. One need only read the earliest issues of the GNU's Bulletin to see just a sampling of the plethora of contributions that Bob made to the FSF and Free Software generally.Bob's primary forte was as a writer and he came to Free Software as a technical writer. Having focused his career on documenting software and how it worked to help users make the most of it, software freedom — the right to improve and modify not only the software, but its documentation as well — was a moral belief that he held strongly. Bob was an early member of the privileged group that now encompasses most people in industrialized society: a non-developer who sees the value in computing and the improvement it can bring to life. However, Bob's realization that users like him (and not just developers) faced detrimental impact from proprietary software remains somewhat rare, even today. Thus, Bob died in a world where he was still unique among non-developers: fighting for software freedom as an essential right for all who use computers."
[$] Some 4.12 development statistics
Linus Torvalds released the 4.12 kernel onJuly 2, marking the end of one of the busiest development cycles in the kernel project'shistory. Tradition requires that LWN publish a look at this kernel releaseand who contributed to it. 4.12 was, in many ways, a fairly normal cycle,but it shows the development community's continued growth.
Security updates for US Independence Day
Security updates have been issued by Arch Linux (bind, qt5-webengine, and systemd), Debian (puppet and sudo), Fedora (drupal7, globus-ftp-client, globus-gass-cache-program, globus-gass-copy, globus-gram-job-manager, globus-gridftp-server, globus-gssapi-gsi, globus-io, globus-net-manager, globus-xio, globus-xio-gsi-driver, globus-xio-pipe-driver, globus-xio-udt-driver, libgcrypt, and myproxy), openSUSE (ffmpeg), Slackware (kernel), SUSE (unrar), and Ubuntu (libgcrypt11, libgcrypt20).
[$] Zero-copy networking
In many performance-oriented settings, the number of times that data iscopied puts an upper limit on how fast things can go. As a result,zero-copy algorithms have long been of interest, even though the benefitsachieved in practice tend to be disappointing. Networking is often performance-sensitive and is definitely dominated bythe copying of data, so an interest in zero-copy algorithms in networkingcomes naturally. A set of patches under review makes that capabilityavailable, in some settings at least.
Security updates for Monday
Security updates have been issued by Arch Linux (libgcrypt and systemd), Debian (apache2, icedove, libgcrypt20, libxml2, and vorbis-tools), Fedora (openvpn, systemd, xen, and zabbix), Mageia (bitlbee and libtiff), openSUSE (kdepim, messagelib, kdepim4, libxml2, and php5), Oracle (kernel), Slackware (glibc and kernel), and SUSE (python-pycrypto, unrar, and xen).
The linux.conf.au 2018 CFP is open
The call for presentations for the 2018 linux.conf.au event is now open."linux.conf.au is one of the best-known community driven Free and Open Source Software conferences in the world. In 2018 we welcome you to join us in Sydney, New South Wales on Monday 22 January through to Friday 26 January." The submission deadline is August 6.
...147148149150151152153154155156...