Language Selection

English French German Italian Portuguese Spanish

LWN

Syndicate content
LWN.net is a comprehensive source of news and opinions from and about the Linux community. This is the main LWN.net feed, listing all articles which are posted to the site front page.
Updated: 1 hour 18 min ago

[$] Four short stories about preempt_count()

Friday 18th of September 2020 02:49:19 PM
The discussion started out as a straightforward patch set from Thomas Gleixner making a minor change to how preemption counting is handled. The resulting discussion quickly spread out to cover a number of issues relevant to core-kernel development in surprisingly few messages; each of those topics merits a quick look, starting with how the preemption counter itself works. Sometimes a simple count turns out to not be as simple as it seems.

Bottomley: Creating a home IPv6 network

Friday 18th of September 2020 02:48:22 PM
James Bottomley has put together a detailed recounting of what it took to get IPv6 fully working on his network. "One of the things you’d think from the above is that IPv6 always auto configures and, while it is true that if you simply plug your laptop into the ethernet port of a cable modem it will just automatically configure, most people have a more complex home setup involving a router, which needs some special coaxing before it will work. That means you need to obtain additional features from your ISP using special DHCPv6 requests."

Security updates for Friday

Friday 18th of September 2020 02:22:53 PM
Security updates have been issued by Arch Linux (chromium and netbeans), Oracle (mysql:8.0 and thunderbird), SUSE (rubygem-rack and samba), and Ubuntu (apng2gif, gnupg2, libemail-address-list-perl, libproxy, pulseaudio, pure-ftpd, samba, and xawtv).

Stable kernels 5.8.10, 5.4.66, and 4.19.146

Thursday 17th of September 2020 04:05:21 PM
Greg Kroah-Hartman has announced the release of the 5.8.10, 5.4.66, and 4.19.146 stable kernels. They contain important fixes throughout the tree and users should upgrade.

GNOME's new versioning scheme

Thursday 17th of September 2020 03:22:35 PM
The GNOME Project has announced a change to its version-numbering scheme; the next release will be "GNOME 40". "After nearly 10 years of 3.x releases, the minor version number is getting unwieldy. It is also exceedingly clear that we're not going to bump the major version because of technological changes in the core platform, like we did for GNOME 2 and 3, and then piling on a major UX change on top of that. Radical technological and design changes are too disruptive for maintainers, users, and developers; we have become pretty good at iterating design and technologies, to the point that the current GNOME platform, UI, and UX are fairly different from what was released with GNOME 3.0, while still following the same design tenets."

[$] The seqcount latch lock type

Thursday 17th of September 2020 02:49:46 PM
The kernel contains a wide variety of locking primitives; it can be hard to stay on top of all of them. So even veteran kernel developers might be forgiven for being unaware of the "seqcount latch" lock type or its use. While this lock type has existed in the kernel for several years, it is only being formalized with a proper type declaration in 5.10. So this seems like a good time to look at what these locks are and how they work.

Security updates for Thursday

Thursday 17th of September 2020 12:33:50 PM
Security updates have been issued by Fedora (dotnet3.1, kernel, mbedtls, and python35), Mageia (libraw), openSUSE (mumble), SUSE (libsolv, libzypp, and perl-DBI), and Ubuntu (libdbi-perl, libphp-phpmailer, mcabber, ncmpc, openssl, openssl1.0, qemu, samba, storebackup, and util-linux).

[$] LWN.net Weekly Edition for September 17, 2020

Thursday 17th of September 2020 12:53:56 AM
The LWN.net Weekly Edition for September 17, 2020 is available.

[$] News from PHP: releases, features, and syntax

Wednesday 16th of September 2020 11:25:40 PM
As the PHP project nears its 8.0 release, which is currently slated for late November, there are a number of interesting things to report from its development mailing list. For one, the syntax of the attributes feature has finally been settled on after an acrimonious debate largely over the minutiae of the voting process. In addition, some releases were made and a new proposal to add any() and all() as core library functions was discussed.

[$] Key signing in the pandemic era

Wednesday 16th of September 2020 11:19:07 PM
The pandemic has changed many things in our communities, even though distance has always played a big role in free software development. Annual in-person gatherings for conferences and the like are generally paused at the moment, but even after travel and congregating become reasonable again, face-to-face meetings may be less frequent. There are both positives and negatives to that outcome, of course, but some rethinking will be in order if that comes to pass. The process of key signing is something that may need to change as well; the Debian project, which uses signed keys, has been discussing the subject.

GNOME 3.38 released

Wednesday 16th of September 2020 02:58:40 PM
Version 3.38 of the GNOME desktop environment is out. "This release brings a new Welcome tour, improved grouping and reordering of applications in the overview, better fingerprint enrollment, deeper systemd integration, and more." See the release notes for details.

Security updates for Wednesday

Wednesday 16th of September 2020 02:49:31 PM
Security updates have been issued by Fedora (libssh, python35, and xen), Oracle (kernel), Red Hat (librepo and mysql:8.0), SUSE (perl-DBI), and Ubuntu (Apache Log4j, Apache XML-RPC, bsdiff, libdbi-perl, luajit, milkytracker, OpenJPEG, ruby-loofah, and ruby-websocket-extensions).

[$] BPF in GCC

Tuesday 15th of September 2020 11:46:37 PM
The BPF virtual machine is being used ever more widely in the kernel, but it has not been a target for GCC until recently. BPF is currently generated using the LLVM compiler suite. Jose E. Marchesi gave a pair of presentations as part of the GNU Tools track at the 2020 Linux Plumbers Conference (LPC) that provided attendees with a look at the BPF for GCC project, which started around a year ago. It has made some significant progress, but there is, of course, more to do.

Moment.js announces legacy status

Tuesday 15th of September 2020 03:02:03 PM

Moment.js, the de facto standard JavaScript library for date and time manipulation, has announced that "we would like to discourage Moment from being used in new projects going forward." The project cited multiple reasons for the recommendation. The first is that moment objects are mutable; another is the unnecessarily large size of the library when compared to other internationalization and time-zone support options available to modern browsers. According to the post, "we now generally consider Moment to be a legacy project in maintenance mode. It is not dead, but it is indeed done." The project offers multiple recommendations of alternative options, including "the evolution of Moment", Luxon, authored by long-time Moment.js contributor Isaac Cambron.

Security updates for Tuesday

Tuesday 15th of September 2020 02:44:44 PM
Security updates have been issued by CentOS (dovecot), Debian (gnome-shell and teeworlds), Mageia (libetpan and zeromq), openSUSE (libxml2), Red Hat (chromium-browser and librepo), SUSE (compat-openssl098, firefox, kernel, openssl, and shim), and Ubuntu (gupnp).

[$] Modernizing the tasklet API

Monday 14th of September 2020 03:39:54 PM
Tasklets offer a deferred-execution method in the Linux kernel; they have been available since the 2.3 development series. They allow interrupt handlers to schedule further work to be executed as soon as possible after the handler itself. The tasklet API has its shortcomings, but it has stayed in place while other deferred-execution methods, including workqueues, have been introduced. Recently, Kees Cook posted a security-inspired patch set (also including work from Romain Perier) to improve the tasklet API. This change is uncontroversial, but it provoked a discussion that might lead to the removal of the tasklet API in the (not so distant) future.

Security updates for Monday

Monday 14th of September 2020 02:56:05 PM
Security updates have been issued by CentOS (thunderbird), Debian (libproxy, qemu, and wordpress), Fedora (ansible, chromium, community-mysql, dotnet-build-reference-packages, dotnet3.1, drupal7, grub2, java-1.8.0-openjdk-aarch32, kernel, kernel-headers, kernel-tools, mingw-gnutls, php-symfony4, python-django, and selinux-policy), Gentoo (DBI, file-roller, gnome-shell, gst-rtsp-server, nextcloud-client, php, proftpd, qtgui, and zeromq), openSUSE (gimp, libjpeg-turbo, openldap2, python-Flask-Cors, and slurm), Oracle (.NET Core 3.1, dovecot, go-toolset:ol8, httpd:2.4, and kernel), Red Hat (dovecot, httpd24-httpd, httpd:2.4, and mysql:8.0), and Slackware (thunderbird).

Kernel prepatch 5.9-rc5

Monday 14th of September 2020 01:15:19 PM
The 5.9-rc5 kernel prepatch is out for testing. "So aside from the smoke from the fires, and a performance regression I'm still looking at, things look normal."

Lots of stable kernel updates

Saturday 12th of September 2020 08:50:16 PM
Today's crop of stable kernel updates includes 5.8.9, 5.4.65, 4.19.145, 4.14.198, 4.9.236, and 4.4.236. Each contains another set of important fixes.

[$] OpenPGP in Rust: the Sequoia project

Friday 11th of September 2020 04:06:39 PM
In 2018, three former GnuPG developers began work on Sequoia, a new implementation of OpenPGP in Rust. OpenPGP is an open standard for data encryption, often used for secure email; GnuPG is an implementation of that standard. The GPLv2-licensed Sequoia is heading toward version 1.0, with a handful of issues remaining to be addressed. The project's founders believe that there is much to be desired in GnuPG, which is the de facto standard implementation of OpenPGP today. They hope to fix this with a reimplementation of the specification using a language with features that will help protect users from common types of memory bugs.

More in Tux Machines

today's leftovers

  • Submit a KSyntaxHighlighting Color Theme

    The KSyntaxHighlighting framework provides support for color themes. These color themes specify all colors (text/background/selection/…) and font style roles (italic/bold/…) that are used for the highlighting. The definition happens in some easy to understand JSON file format. Starting with the upcoming KDE Frameworks 5.75 release, all KTextEditor framework based application will support these color themes for their embedded editors. This includes Kate & KWrite, but naturally a lot more, like for example KDevelop, Kile and RKWard. [...] With the recent additions we already cover some more well known text editor color themes. But if you just search a bit around the internet or look what other text editors ship per default, we still lack a lot of well known ones. For example even our GitLab instance provides the Monokai theme in the configuration for its web highlighting that we still lack. Therefore, we are eager to get submissions for more MIT licensed color themes we can bundle with KSyntaxHighlighting. All users of applications using this framework will enjoy to be able to choose between more themes with ease if you help us! Therefore, take the chance and help us out, provide some more themes as merge request. License must be MIT, this seems to be no problem for most themes out there, at least it seems most of the ones I stumbled over are MIT licensed.

  • FreeBSD Instant-workstation 2020

    A little over a year ago I published an instant-workstation script for FreeBSD. The idea is to have an installed FreeBSD system, then run a shell script that uses only base-system utilities and installs and configures a workstation setup for you. [...] The script is updated intermittently when new PRs come in, or when I have to reinstall a machine and things do not behave the way I think they should. If you want a quick live KDE Plasma experience with FreeBSD, head on over to FuryBSD which does live ISO images with a variety of environments.

  • Three tips to implement Kubernetes with open standards

    The technologies chosen by enterprise IT departments today will have a long-term impact on their performance, operations and overall strategy. Sometimes it can take well over a decade to realize the full implications of a technology solution. This can put a great deal of weight on the shoulders of IT management, especially when it comes to emergent technologies whose utility, importance and trajectory may not yet be fully known. Placing a bad bet on new software can lead to difficult integrations and disruptions across an organisation’s entire tech stack, which in the long-term can lead to lost productivity, wasted budgets, and the likelihood of losing ground to competitors. Kubernetes, the open source container orchestration platform, was until recently regarded in the same way, with IT departments struggling to fully appraise its long-term value. However, with Kubernetes now running 86 per cent of container clusters, it has emerged as the de facto standard for cloud-native infrastructure. This means that the main concern for IT departments is not whether Kubernetes has a future, but how to ensure that their implementation of Kubernetes has a future which doesn't present a bottleneck to integrations, industry practices and use cases.

  • openSUSE Tumbleweed – Review of the week 2020/38

    An average week, with an average number of 5 snapshots (0910, 0914, 0915, 0916, and 0917 – with 0917 just being synced out). The content of these snapshots included: KDE Applications 20.08.1 Qt 5.15.1 PackageKit 1.2.1 Systemd 246.4 Virt-Manager 3.0.0

  • Whonix 15.0.1.5.1 - for VirtualBox - Point Release!
  • The Expandables – snapcraft extensions and the secret code

    If you’re a snap developer, you know that snap development is terribly easy. Or rather complex and difficult. Depending on your application code and requirements, it can take a lot of effort putting together the snapcraft.yaml file from which you will build your snap. One of our goals is to make snap development practically easier and more predictable for everyone. To that end, we created a framework of snap extensions, designed to make the snap journey simpler and more fun. In a nutshell, extensions abstract away a range of common code declarations you would normally put in your snapcraft.yaml file. They help developers avoid repetitive tasks, reduce the knowledge barrier needed to successfully build snaps, offer a common template for application builds, and most importantly, save time and effort. But what if you want – or need – to know what is behind the abstraction?

  • DeskProto® releases free CAM software for Linux

    Delft Spline Systems announces that the DeskProto CAM software now also is available for Linux users, as native 64 bits AppImage file that will work on various Linux distributions. Projects made on Linux, on Mac and Windows are interchangeable. Licenses for DeskProto V7 can be used to activate DeskProto on all three platforms, so existing users can switch to a Linux without extra cost.

  •      
  • Tor’s Bug Smash Fund, Year 2: $106,709 Raised!
           
             

    Let’s start this post with a rousing THANK YOU to the Tor community!

             

    This August, we asked you to help us fundraise for our second annual Bug Smash Fund campaign. This fund is designed to grow a healthy reserve earmarked for maintenance work, finding bugs, and smashing them—all tasks necessary to keep Tor Browser, the Tor network, and the many tools that rely on Tor strong, safe, and running smoothly.

  •        
  • Researchers were able to figure out which American phone numbers use Signal
           
             

    Privacy flaws in contact discovery have led to a research team being able to enumerate all American Signal users. Enumeration means that using the contact discovery built into the Signal app, researchers were able to perform a large-scale crawling attack and figure out which American phone numbers were attached to a Signal account. The new research paper was released by Christoph Hagen, Christian Weinert, Christoph Sendner, Alexandra Dmitrienko, and Thomas Schneider. It is titled: “All the Numbers are US: Large-scale Abuse of Contact Discovery in Mobile Messengers.”

  • The ’90s are back: Gateway laptops have been resurrected as Walmart exclusives

    Remember Gateway laptops? If you grew up in the ’90s, they were probably the brand of your first laptop. Like a revival of your favorite childhood television show, the Gateway brand has been raised from the dead — cow imagery and all. The brand, which is owned by computer maker Acer, is making its own comeback with a line of new laptops, tablets, and convertibles that will be exclusive to Walmart.

    So, what’s forcing these cows out of hibernation? For Gateway parent Acer, its about new silicon from Intel and AMD, including the successsul new mobile Ryzen 4000 processors.

The Top 50 Programming Languages to Learn Coding

Gone are the days when a handful of people were considered as top computer programmers and developers. The dawn of the digital age has now made it possible to everyone to play with codes and write a computer program. What all this need is to have a solid grasp of emerging technology and programming languages. However, it is not as easy as it seems since there are a large number of programming languages out there and choosing one and master in it might be challenging. Thus, before getting started into the world of coding, you must make the right choice and come up with the one that best suited for you. Read more Also: How to use C++ Pointers

Free Software and OSS Leftovers

  • Benefits Of Using Odoo For Small Businesses

    In this tutorial, we will be showing you how using Odoo can benefit a small or medium-sized business. As times have progressed, businesses big and small have become more complex in their operations. With several departments having to function and share information to one another, the need for an integrated system has grown by leaps and bounds. More and more small business are implementing ERP systems. In fact, once an ERP system is implemented, it often becomes the backbone of many corporate-scale businesses. Such systems can seamlessly integrate business lifecycles, such as production, inventory management, order processes, and more. An example of this system would be Odoo, one of the most popular ERP systems currently available.

  • Best WordPress Backup Plugins 2020

    It is at most important to keep multiple backups of your WordPress site. In case the website is compromised or any plugin update breaks your site, WordPress backups can help you restore it quickly. Mainly, a WordPress site consists of three important parts, the database, user-created files such as plugins, themes, and uploaded files, and finally the WordPress core files. If anyone of these three parts is missing or corrupted, the website will not function properly or will not function at all. When we create a backup, we create a backup of the site database and the user-created files. WordPress core files can be downloaded and installed separately.

  • FSF: Volunteers needed: Help maintain our webmail page

    The Free Software Foundation (FSF) needs your help! We are looking for several reliable volunteers to keep our Free Software Webmail Systems page up to date, and respond to community questions about webmail programs as they come in. Between 1,000 and 2,000 visitors check out this resource every month, and we want to make sure our recommendations are accurate! If you're interested, please contact us at campaigns@fsf.org. Our Free Software Webmail Systems page is used to share resources for people interested in using their email over the Web without compromising their freedom. Many webmail systems meet at least some of our standards for respecting users, including compliance with GNU LibreJS standards, but they're constantly changing, and new services are popping up every day. When sites listed on this page change their services for the better or the worse, they don't tend to notify us, which means that some vigilance is required to make sure that this resource stays useful.

  • Parsing PAN-OS logs using syslog-ng

    Version 3.29 of syslog-ng was released recently including a user-contributed feature: the panos-parser(). It is parsing log messages from PAN-OS (Palo Alto Networks Operating System). Unlike some other networking devices, the message headers of PAN-OS syslog messages are standards-compliant. However, if you want to act on your messages (filtering, alerting), you still need to parse the message part. The panos-parser() helps you create name-value pairs from the message part of the logs. From this blog you can learn why it is useful to parse PAN-OS log messages and how to use the panos-parser().

  • Intel Releases HAXM 7.6.5 Execution Manager

    Intel has debuted a new version of HAXM, its Hardware-Accelerated Execution Manager that serves as an accelerator for the Android Emulator and QEMU via Intel VT enabled CPUs.

  • Update devices remotely with this open source tool

    The ability to access, connect, and manage multiple devices remotely through a single account is important. Going a step further, being able to completely update devices remotely is another way for sysadmins to reduce effort and minimize headaches. UpdateHub is an open source solution that allows you to do complete device updates, including firmware and bootloaders, remotely. Its goal is to make it easier to do device updates and reduce rework and risk, whether you're updating thousands of devices or managing small deployments. UpdateHub handles all aspects of over-the-air (OTA) updates, including package integrity and authenticity, while you take care of your other work.

  • Daniel Stenberg: My first 15,000 curl commits

    I’ve long maintained that persistence is one of the main qualities you need in order to succeed with your (software) project. In order to manage to ship a product that truly conquers the world. By continuously and never-ending keeping at it: polishing away flaws and adding good features. On and on and on.

Graphics: Taiwins 0.2, Etnaviv, V3DV, Libre-SOC, X.Org/FreeDesktop.org and More

  • Taiwins 0.2 is out
    Hi all,
    
    A long while ago [1]. I introduced the Taiwins wayland compositor. It was
    built upon libweston. It turned out despite my attempts, I couldn't get my
    patches to merge in libweston. Libweston has quite a few bugs and missing
    features to fit the role of a daily driver.
    
    These past few months, Taiwins was going through a long refactoring process
    in migrating from libweston. Today, taiwins uses a very thin layer of
    wlroots for hardware abstraction, the next release will target on removing
    the reliance of wlroots as well. Today it has the features of:
    
    - dynamic window management.
    - extensible and easy configuration through lua.
    - very efficient GL renderer, updates only the damages.
    - a widget system and you can create widgets through lua as well.
    - built-in shell and application launcher.
    - configurable theme.
    - emacs-like key sequence based binding system.
    - built-in profiler and rendering debugger.
    
    Along the way, I developed Twobjects [2], a backend agnostic wayland object
    implementation for compositors. This library implements basic wayland
    protocols as well as various other wayland protocols like 'xdg-shell' and
    many more. Using twobjects, you can focus on building your own unique
    features for the compositor and let it handle the most tedious protocol
    implementations.It doesn't expose everything as `wl_signals` like wlroots
    does, so you don't need to write additional glue code for it.
    
    Taiwins is still in development but missing features are getting less and
    less, you can check out its website https://taiwins.org or if you would
    like to help, check out the project page https://github.com/taiwins/taiwins
    for getting started.
    
    Thanks,
    Xichen
    
    
  • Taiwins 0.2 Released As Modular Wayland Compositor That Supports Lua Scripting

    Back in May the Taiwins Wayland compositor was announced as a compact compositor based on Libweston while Thursday marked its second release. With Taiwins 0.2 the switch was made from using libweston as a basis for the compositor to now using Sway's WLROOTS library. Libweston was dropped over open bugs and other issues and in part the ability to get patches easily merged back into upstream libweston. So with the shortcomings of the Weston library, Taiwins 0.2 is now running on WLROOTS. However, by the next release they hope to have their thin layer over WLROOTS removed so that library isn't needed either.

  • Etnaviv Gallium3D Adds On-Disk Shader Cache Support

    Etnaviv as the open-source, reverse-engineered OpenGL graphics driver for Vivante graphics IP now has support for an on-disk shader cache.

  • V3DV Developers Lay Out Plans For Upstreaming The Raspberry Pi 4 Vulkan Driver In Mesa

    Building off the V3DV driver talk at XDC2020 about this open-source Vulkan driver for the Raspberry Pi 4 driver, the Igalia developers responsible for this creation have laid out their plans on getting this driver upstream within Mesa. In a mailing list post today they note they are down to just 18 test cases failing for the Vulkan CTS while 106,776 tests are passing for this Vulkan Conformance Test Suite. Vulkan games like the respun versions of Quake 1-3 and OpenArena are working along with various game emulators. Various Vulkan demos also run well too.

  • Libre-SOC Still Persevering To Be A Hybrid CPU/GPU That's 100% Open-Source

    The project that started off as Libre-RISC-V with aims to be a Vulkan accelerator but then decided on the OpenPOWER ISA rather than RISC-V is still moving ahead under the "Libre-SOC" branding. Libre-SOC continues to be led by Luke Kenneth Casson Leighton and this week he presented both at the OpenPOWER Summit and X.Org Developers' Conference (XDC2020) on his Libre-SOC dreams of having a 100% fully open SoC on both the software and hardware sides while being a hybrid CPU/GPU. Similar to the original plans when targeting RISC-V that it would effectively be a SoC but with new vector instructions optimized for graphics workloads, that's still the plan albeit now using OpenPOWER as a base.

  • X.Org Is Getting Their Cloud / Continuous Integration Costs Under Control

    You may recall from earlier this year that the X.Org/FreeDesktop.org cloud costs were growing out of control primarily due to their continuous integration setup. They were seeking sponsorships to help out with these costs but ultimately they've attracted new sponsors while also better configuring/optimizing their CI configuration in order to get those costs back at more manageable levels.

  • Intel Submits More Graphics Driver Updates For Linux 5.10

    Building off their earlier Intel graphics driver pull request of new material queuing ahead of the Linux 5.10 cycle, another round of updates were submitted on Friday.

  • Mike Blumenkrantz: Long Week

    Once again, I ended up not blogging for most of the week. When this happens, there’s one of two possibilities: I’m either taking a break or I’m so deep into some code that I’ve forgotten about everything else in my life including sleep. This time was the latter. I delved into the deepest parts of zink and discovered that the driver is, in fact, functioning only through a combination of sheer luck and a truly unbelievable amount of driver stalls that provide enough forced synchronization and slow things down enough that we don’t explode into a flaming mess every other frame. Oops. I’ve fixed all of the crazy things I found, and, in the process, made some sizable performance gains that I’m planning to spend a while blogging about in considerable depth next week. And when I say sizable, I’m talking in the range of 50-100% fps gains.

  • Watch the ACO shader compiler and Vulkan Ray Tracing talks from XDC 2020

    With XDC 2020 (X.Org Developers Conference) in full swing, we've been going over the various presentations to gather some interesting bits for you. Here's more on the ACO shader compiler and Vulkan Ray Tracing. You can find more info on XDC 2020 in the previous article, and be sure not to miss our round-up of Valve developer Pierre-Loup Griffais talk about Gamescope. More talks were done across yesterday, with the first one we're mentioning here being from Timur Kristóf who is currently a contractor for Valve who talked about ACO (the newer Mesa shader compiler for AMD graphics). The idea behind ACO which Valve announced back in 2019, for those not aware, is to give a smoother Linux gaming experience with less (or no) stuttering with Vulkan with faster compile times for shaders. Kristóf goes over lots of intricate details from being in the experimental stages to eventually the default in Mesa with it now having support across 5 different generations of AMD GPUs.