泰晓科技 -- 聚焦 Linux - 追本溯源,见微知著!
网站地址:https://tinylab.org

泰晓Linux实验盘,即刻上手内核与嵌入式开发
请稍侯

泰晓资讯·11月 / 第三期 / 2019

Wang Chen 创作于 2019/11/15

“泰晓资讯”,广泛报道 “Linux/开源” 业界资讯。欢迎广大读者投递相关资讯来源和素材,本站将进一步收集整理后发布给大家。

Linux Kernel 5.4 RC7 发布

Another week, another rc. Nothing looks all that scary, but we definitely do have more changes than I would wish for. In terms of pure lines of code, we have the new ‘vboxsf’ staging driver, but ignoring that (and you should) everything looks normal. Except we’ve got closer to 300 non-merge commits, and I really wish we didn’t have that many. It’s all over the place - about 55% is drivers (and that’s ignoring the vboxsf thing), the rest is networking, misc filesystem fixes (octfs2, btrfs, ceph), arch updates (x86, arm64), tooling fixes, and some core kernel and vm fixes.

本月 10 日, Linus 在内核邮件列表中发布了 Linux Kernel 5.4 RC7,它是下一个正式 Linux 5.4 版本的最新的一个集成测试版本。下周末可能还会发布第八个测试版本,最终的 5.4.0 正式版计划在 11 月 24 日正式发布。 在这个最新的测试版本中,比较值得关注的是在 staging 驱动中新增了一个 “vboxsf” 驱动。其他大部分的更新都和驱动有关,占了超过一半的改动。除此之外是网络部分和文件系统(包括 octfs2, btrfs, ceph)的问题修复,体系架构(包括 x86, arm64)方面的更新以及少部分核心模块的修改。

关键词: Linux, 5.4 RC7

统一内核的 tracing 机制

Steven Rostedt has been a part of the Linux kernel tracing community for most of its existence, it seems. He was the developer of ftrace, which was one of the early mainline additions for tracing. There are now many tracing facilities in the kernel. At the 2019 Open Source Summit Europe in Lyon, France, Rostedt wanted to present an idea that he has been thinking about for a long time: a unified tracing platform to provide access to all of the kernel tracing facilities from user-space applications.

Steven Rostedt 在 Linux 的内核 tracing 社区里算是元老级的人物了,差不多从这个模块建立伊始就参与其中。鼎鼎大名的 ftrace 就是他开发的,这也是 Linux kernel 里在 tracing 方面最早加入的功能之一。现在 kernel 中提供了非常多的 tracing 功能,基于这些内核的 tracing 机制,我们也开发了很多的用户态的 tracing 工具。但我们会发现,这些不同的 tracing 工具在很大程度上会共享很多内核的功能。譬如所有方案里面都用到了 tracepoint,也用到了 kprobe 和 uprobes。ftrace 的 function hook 在绝大多数工具里面也都用到了。在经过长时间的思考之后,Rostedt 产生了一个想法:是否可以提供一个统一的用户态的函数库,从而让这些各种不同的 trace 工具都通过这个函数库来调用所有的内核态的 tracing 功能呢。在法国里昂举行的 2019 年欧洲开源峰会上,他向与会者提出了这个想法:创建一个统一的 tracing platform(平台),能让用户态的程序来访问 kernel 中所有的 tracing 功能。本文给大家介绍了 Rostedt 的这个想法,同时对内核中的 tracing 机制和相关工具做了一个精彩的 overview。感兴趣的同学请阅读 原文

关键词: Linux, Tracing

民主与独裁,谁将统治 GNU

The GNU Project was created by Richard Stallman in 1983 to further his goal of developing an entirely free operating system — a goal that seemed impossibly ambitious at the time. Stallman has recently resigned from some of his roles, but as of this writing his personal site still leads off with this proclamation: “I continue to be the Chief GNUisance of the GNU Project. I do not intend to stop any time soon”. Within the project itself, though, it has become clear that this intention lacks universal support. We appear to be seeing the beginning of a governance transition for this venerable project.

著名的 GNU 项目是由 Richard Stallman 在 1983 年创建的,其目标是要开发一个完全自由的操作系统。在当时看来,这个目标似乎有点天方夜谭,但目前来看整个项目还是成功了,达到甚至超越了当初设定的目标。但目前最新的状况是:Stallman 先生已经退出了 FSF(自由软件基金会)和 MIT 的管理层,不过在撰写本文之时,他的个人主页上仍然置顶着如下声明:“我仍将继续在 GNU 项目中担任 Chief GNUisance 职位,暂无退休的打算”。但是在 10 月初的时候,GNU 社区的维护人员中最核心的一些成员签署了一个声明,建议给该项目寻找一个新的领导人。大家甚至对此并不感到惊讶,唯一惊讶的是这个声明来得太晚了。毕竟有些问题已经存在了很久,冰冻三尺非一日之寒。就 GNU 项目的领导权更替问题,社区已经开始运转了。毫无疑问,Richard Stallman 对社区做出了很多伟大贡献。他没有发明自由软件,但是他使得自由软件理想变得具体,他坚信我们可以开发出完全受自己控制的软件,将我们从上个世纪那个所有软件都是商业私有软件的世界中拯救出来。哪怕在 GNU 项目创建 36 年之后,他也仍然有很多贡献。不过在他所创建的项目中,看起来越来越多的人认为他做贡献的方式应该改变一下,GNU 项目不应该是一个独裁体制。社区是否能成功的推进这个改变,可能会对自由软件的未来带来深远影响。更多介绍请阅读 原文

关键词: GNU

Mirantis 收购了 Docker 的企业业务

In an expected move Mirantis today announced that it’s acquiring the enterprise business unit of Docker, one of the most lucrative pieces of Docker Inc. While Docker technologies have been pivotal to the digital transformation of companies and also disrupted the IT industry, as a company it didn’t enjoy the same success. The company tried to bring in new CEOs to turn it profitable, but it didn’t work out as expected.

Mirantis 是一家扎根 OpenStack 的云计算公司,最近开始专注 Kubernetes。日前,该公司宣布收购了 Docker 的 Enterprise 部门。Docker Enterprise 部门包括 Docker Enterprise 技术平台及所有相关的知识产权、约 400 名员工中的 300 人、750 家企业客户以及所有企业伙伴关系。Mirantis 首席执行官兼联合创始人 Adrian Ionel 称,这次收购约占 Docker 公司业务的 90%,还将包括与微软及其他公司的合作伙伴关系,这一切旨在加快 Mirantis 内部 Kubernetes 方面的工作。

关键词: Mirantis,Docker

微软 Defender 杀毒软件将发布 Linux 版

Microsoft is planning to bring its Defender antivirus to Linux systems next year and will be giving a demo of how security specialists can use Microsoft Defender at the Ignite Conference this week.

Microsoft announced the brand change from Windows Defender to Microsoft Defender in March after giving security analysts the tools to inspect enterprise Mac computers for malware via the Microsoft Defender console.

Rob Lefferts, corporate vice president for Microsoft’s M365 Security, told ZDNet that Microsoft Defender for Linux systems will be available for customers in 2020.

在本周举行的会议上,微软宣布其杀毒软件 Microsoft Defender 明年将发布针对 Linux 平台的版本。微软已经在今年三月份将其安全软件 Windows Defender 重命名为 Microsoft Defender,这代表该款软件将不仅仅支持 Windows 平台,目前已经发布了 Mac 平台的版本。

微软 M365 Security 业务企业副总裁 Rob Lefferts 称,Microsoft Defender for Linux 将在 2020 年提供给客户。Lefferts 表示该公司的安全产品 2019 年至今已经屏蔽了 135 亿恶意电子邮件,预计到年底将达到 140 亿。

关键词: Microsoft,Defender

QEMU 4.2 周期启动,并发布了首个候选版本

The initial release candidate for the upcoming QEMU 4.2 is now available as a sizable update to this important piece of the open-source Linux virtualization stack. Among the changes on deck for QEMU 4.2 include:

  • Better performance for Tiny Code Generator (TCG) emulation of ARM cores.
  • Another QEMU 2.4 performance improvement can come with recent Gcrypt and Nettle libraries where QEMU can now use the library’s own XTS cipher mode and that can result in a big performance boost for AES-XTS encryption particularly if using LUKS disk encryption when running under QEMU.
  • The LUKS block driver now supports falloc/full pre-allocation.
  • Support for QEMU on ARM to run with more than 256 CPUs.
  • ASpeed AST2600 model support.

即将发布的 QEMU 4.2 的首个候选版本已经就绪,该版本为这个重要的开源软件带来了相当大的更新。QEMU 4.2 的平台更改包括:

  • 对 ARM 的 Tiny Code Generator(TCG)仿真性能大大提高。
  • 另一个性能改进体现在引入 Gcrypt 和 Nettle 库的使用,基于这两个库, QEMU 可以启用这两个库自带的 XTS 加密模式,从而可以大大提高 AES-XTS 加密的性能,尤其是在 QEMU 下运行时启用 LUKS 磁盘加密功能时。
  • LUKS 块驱动程序现在支持 falloc/full 预分配。
  • 针对 ARM 架构,支持超过 256 个 CPU。
  • 支持 ASpeed AST2600。

关键词: QEMU, 4.2 RC1

联系我们

资讯内容部分来自 “LWN.net“。如果您对某些 LWN 文章感兴趣(譬如希望获得全文翻译的)请扫描二维码加微信联系我们:

tinylab wechat



Read Album:

Read Related:

Read Latest: