diff options
author | David S. Miller <davem@davemloft.net> | 2018-05-21 16:01:54 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-21 16:01:54 -0400 |
commit | 6f6e434aa267a6030477876d89444fe3a6b7a48d (patch) | |
tree | 67755c422f1e85451aa646eae21d4c6f3f389d9f /init | |
parent | 44c752fe584d8b9f6e0756ecffa8691677471862 (diff) | |
parent | 6741c4bb389da103c0d79ad1961884628900bfe6 (diff) |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
S390 bpf_jit.S is removed in net-next and had changes in 'net',
since that code isn't used any more take the removal.
TLS data structures split the TX and RX components in 'net-next',
put the new struct members from the bug fix in 'net' into the RX
part.
The 'net-next' tree had some reworking of how the ERSPAN code works in
the GRE tunneling code, overlapping with a one-line headroom
calculation fix in 'net'.
Overlapping changes in __sock_map_ctx_update_elem(), keep the bits
that read the prog members via READ_ONCE() into local variables
before using them.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
-rw-r--r-- | init/Kconfig | 2 | ||||
-rw-r--r-- | init/main.c | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/init/Kconfig b/init/Kconfig index 480a4f2713d9..1fecd5b7bad8 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -738,7 +738,7 @@ config CFS_BANDWIDTH | |||
738 | tasks running within the fair group scheduler. Groups with no limit | 738 | tasks running within the fair group scheduler. Groups with no limit |
739 | set are considered to be unconstrained and will run with no | 739 | set are considered to be unconstrained and will run with no |
740 | restriction. | 740 | restriction. |
741 | See tip/Documentation/scheduler/sched-bwc.txt for more information. | 741 | See Documentation/scheduler/sched-bwc.txt for more information. |
742 | 742 | ||
743 | config RT_GROUP_SCHED | 743 | config RT_GROUP_SCHED |
744 | bool "Group scheduling for SCHED_RR/FIFO" | 744 | bool "Group scheduling for SCHED_RR/FIFO" |
diff --git a/init/main.c b/init/main.c index a404936d85d8..fd37315835b4 100644 --- a/init/main.c +++ b/init/main.c | |||
@@ -1034,6 +1034,13 @@ __setup("rodata=", set_debug_rodata); | |||
1034 | static void mark_readonly(void) | 1034 | static void mark_readonly(void) |
1035 | { | 1035 | { |
1036 | if (rodata_enabled) { | 1036 | if (rodata_enabled) { |
1037 | /* | ||
1038 | * load_module() results in W+X mappings, which are cleaned up | ||
1039 | * with call_rcu_sched(). Let's make sure that queued work is | ||
1040 | * flushed so that we don't hit false positives looking for | ||
1041 | * insecure pages which are W+X. | ||
1042 | */ | ||
1043 | rcu_barrier_sched(); | ||
1037 | mark_rodata_ro(); | 1044 | mark_rodata_ro(); |
1038 | rodata_test(); | 1045 | rodata_test(); |
1039 | } else | 1046 | } else |