Linked by Thom Holwerda on Sat 2nd Sep 2017 00:34 UTC
Android

The hardening of Android's userspace has increasingly made the underlying Linux kernel a more attractive target to attackers. As a result, more than a third of Android security bugs were found in the kernel last year. In Android 8.0 (Oreo), significant effort has gone into hardening the kernel to reduce the number and impact of security bugs.

Android Nougat worked to protect the kernel by isolating it from userspace processes with the addition of SELinux ioctl filtering and requiring seccomp-bpf support, which allows apps to filter access to available system calls when processing untrusted input. Android 8.0 focuses on kernel self-protection with four security-hardening features backported from upstream Linux to all Android kernels supported in devices that first ship with this release.

Is it common to have to backport security features of newer Linux versions to older ones? Or is this just a peculiarity of Android's Linux kernel being so far behind the times?

Thread beginning with comment 648514
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: pretty much Android exclusive
by Megol on Sat 2nd Sep 2017 15:53 UTC in reply to "pretty much Android exclusive"
Megol
Member since:
2011-04-11

GNU/Linux?!?

Reply Parent Score: 1

ssokolow Member since:
2010-01-21

It's a controversial-to-the-point-of-counterproductiveness way of referring to systems built on the Linux kernel which present a glibc-compatible ABI, even as the proportion of GNU code in them has been slowly but methodically chipped away over the last decade or so.

It originates from Stallman trying to make up for Hurd still being vaporware and claim "the Linux distro" as a GNU accomplishment by bending the rules to define an OS as everything you need for self-hosted development and not a thing more. (eg. GCC is part of the OS, but X11 is not because console emacs doesn't need it.)

Of course, by that definition, things like Android and iOS aren't OSes yet and neither were versions of Windows and MacOS where the development tools cost extra and you hadn't bought them.

Honestly, I'm waiting for the day when musl-libc completes its support for presenting a glibc-compatible ABI so I can run my GOG.com games on a busybox+musl-based distro and give the whole argument the finger.

Edited 2017-09-02 16:49 UTC

Reply Parent Score: 4

cb88 Member since:
2009-04-23

There is actually an effort to make Android self hosting by Rob Landley (author of the aboriginal distro and toybox swiss army knife busybox alike and one of the former maintainers of busybox)

And guess what.. its BSD licensed not GPL.

Basically its a from scratch rewrite of busybox with an aim to be able to self host Linux/Android builds, clean code (thats probably subjective though), and adherence to specs.

Reply Parent Score: 2

tidux Member since:
2011-08-13

Android is Linux, but not GNU. It seemed like an appropriate way to differentiate.

Reply Parent Score: 5

ssokolow Member since:
2010-01-21

For lack of a better choice, people have settled on overloading "Linux" to have two different meanings:

1. The kernel used in products like Android and Ubuntu.

2. The family of Unixy distros built around the Linux kernel, which includes distros like Alpine Linux, which use a non-GNU userland.

That's why "Android is not Linux"... because, despite being built on the Linux kernel, it considers its POSIXy undercarriage to be an implementation detail and its creators intentionally distance it from "Linux distros"... thus, it does not belong to the second definition.

Reply Parent Score: 1