Skip to contentSkip to conversation

Linux 4.19.157

DISCUSSION Greg Kroah-Hartman 2 participants 3 messages Nov 10, 2020 – Nov 12, 2020 Stable branch

lore
Share & tools
lore

Greg Kroah-Hartman

author maintainer
#0 lore raw

I'm announcing the release of the 4.19.157 kernel.

Please see the 5.9.8 announcement if you are curious if you should upgrade or not:

	https://lore.kernel.org/lkml/[email protected]/

The updated 4.19.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y
and can be browsed at the normal kernel.org git web browser:
https://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

------------

 Makefile                        |    2 +-
 drivers/powercap/powercap_sys.c |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Greg Kroah-Hartman (1):

      Linux 4.19.157

Len Brown (1):
powercap: restrict energy meter to root access

author maintainer
#1 lore raw
Makefile +1 -1
index 82891b34e19e..245bcd8dd7b7 100644
@@ -1,7 +1,7 @@
 # SPDX-License-Identifier: GPL-2.0
 VERSION = 4
 PATCHLEVEL = 19
-SUBLEVEL = 156
+SUBLEVEL = 157
 EXTRAVERSION =
 NAME = "People's Front"
 
drivers/powercap/powercap_sys.c +2 -2
index 9e2f274bd44f..60c8375c3c81 100644
@@ -379,9 +379,9 @@ static void create_power_zone_common_attributes(
 					&dev_attr_max_energy_range_uj.attr;
 	if (power_zone->ops->get_energy_uj) {
 		if (power_zone->ops->reset_energy_uj)
-			dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUGO;
+			dev_attr_energy_uj.attr.mode = S_IWUSR | S_IRUSR;
 		else
-			dev_attr_energy_uj.attr.mode = S_IRUGO;
+			dev_attr_energy_uj.attr.mode = S_IRUSR;
 		power_zone->zone_dev_attrs[count++] =
 					&dev_attr_energy_uj.attr;
 	}
#2 lore raw

Re: Linux 4.19.157 -- fixing SGX problem?

In reply to Greg Kroah-Hartman

Hi!

Quoted 5 lines

I'm announcing the release of the 4.19.157 kernel.

Please see the 5.9.8 announcement if you are curious if you should upgrade or not:

	https://lore.kernel.org/lkml/[email protected]/

Quoting:

# Hint, if you are using SGX, then upgrade. And then possibly

# reconsider
# the decisions you have recently made that caused you to write special
# code to use that crazy thing.  Personally, it still feels like a
# solution in search of a problem.

I agree with you that SGX is "crazy", but this makes no sense.

SGX is expected to protect enclave even from root. How does making interface root-only solve that?

Plus, SGX is not in 4.19. I don't believe it is in mainline, either, as the patches are still reposted. We are at v40 now...

Date: Wed, 4 Nov 2020 16:54:06 +0200
From: Jarkko Sakkinen <[email protected]>
Subject: [PATCH v40 00/24] Intel SGX foundations

ls arch/x86/kernel/cpu/sgx shows nothing in mainline. It shows nothing in -next, either.

Confused,
Pavel

Signature · 1 line
http://www.livejournal.com/~pavelmachek