mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
kernel: Enable new LTS 5.4.3 on AArch64
Linux has embraced another LTS kernel version v5.4.x. If we, AArch64, update stable guest kernel version to v5.4.x, we could get rid of huge chunkes of backport patches under patches/4.19.x/. Except following configs are penny-defined turned on/off, all the other are sort of `built-in` defined or inherited from v4.19.x. 1. CONFIG_IO_URING = y This option enables support for the io_uring interface. 2. CONFIG_RODATA_FULL_DEFAULT_ENABLED = n Apply read-only attributes of VM areas to the linear alias of the backing pages as well. 3. CONFIG_ARM64_TAGGED_ADDR_ABI = n When this option is enabled, user applications can opt in to a relaxed ABI allow virtual tagged addresses to be passed to system calls as pointer arguments. 4. CONFIG_ARM64_PTR_AUTH = n Pointer authentication provides instructions for signing and authenticating pointers against secret keys, which can be used to mitigate Return Oriented Programming (ROP) and other attacks. Fixes: #882 Signed-off-by: Penny Zheng <penny.zheng@arm.com>
This commit is contained in:
parent
d1cd6c3e2e
commit
59dc61df5b
2619
kernel/configs/arm64_kata_kvm_5.4.x
Normal file
2619
kernel/configs/arm64_kata_kvm_5.4.x
Normal file
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
||||
60
|
||||
61
|
||||
|
@ -0,0 +1,47 @@
|
||||
From cab495651e8f71c39e87a08abbe051916110b3ca Mon Sep 17 00:00:00 2001
|
||||
From: Julio Montes <julio.montes@intel.com>
|
||||
Date: Mon, 18 Sep 2017 11:46:59 -0500
|
||||
Subject: [PATCH 3/5] NO-UPSTREAM: 9P: always use cached inode to fill in
|
||||
v9fs_vfs_getattr
|
||||
|
||||
So that if in cache=none mode, we don't have to lookup server that
|
||||
might not support open-unlink-fstat operation.
|
||||
|
||||
fixes https://github.com/01org/cc-oci-runtime/issues/47
|
||||
fixes https://github.com/01org/cc-oci-runtime/issues/1062
|
||||
|
||||
Signed-off-by: Peng Tao <bergwolf@gmail.com>
|
||||
---
|
||||
fs/9p/vfs_inode.c | 2 +-
|
||||
fs/9p/vfs_inode_dotl.c | 2 +-
|
||||
2 files changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/fs/9p/vfs_inode.c b/fs/9p/vfs_inode.c
|
||||
index 85ff859d3af5..efdc2a8f37bb 100644
|
||||
--- a/fs/9p/vfs_inode.c
|
||||
+++ b/fs/9p/vfs_inode.c
|
||||
@@ -1080,7 +1080,7 @@ v9fs_vfs_getattr(const struct path *path, struct kstat *stat,
|
||||
|
||||
p9_debug(P9_DEBUG_VFS, "dentry: %p\n", dentry);
|
||||
v9ses = v9fs_dentry2v9ses(dentry);
|
||||
- if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) {
|
||||
+ if (!d_really_is_negative(dentry) || v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) {
|
||||
generic_fillattr(d_inode(dentry), stat);
|
||||
return 0;
|
||||
}
|
||||
diff --git a/fs/9p/vfs_inode_dotl.c b/fs/9p/vfs_inode_dotl.c
|
||||
index 4823e1c46999..daa5e6a41864 100644
|
||||
--- a/fs/9p/vfs_inode_dotl.c
|
||||
+++ b/fs/9p/vfs_inode_dotl.c
|
||||
@@ -480,7 +480,7 @@ v9fs_vfs_getattr_dotl(const struct path *path, struct kstat *stat,
|
||||
|
||||
p9_debug(P9_DEBUG_VFS, "dentry: %p\n", dentry);
|
||||
v9ses = v9fs_dentry2v9ses(dentry);
|
||||
- if (v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) {
|
||||
+ if (!d_really_is_negative(dentry) || v9ses->cache == CACHE_LOOSE || v9ses->cache == CACHE_FSCACHE) {
|
||||
generic_fillattr(d_inode(dentry), stat);
|
||||
return 0;
|
||||
}
|
||||
--
|
||||
2.20.1
|
||||
|
Loading…
Reference in New Issue
Block a user