epoll: Implement eventpoll_replace_file()
Subsystems (3)
RFC v6 1/2 epoll: Implement eventpoll_replace_file()
Introduce a mechanism to replace a file linked in the epoll interface with a new file.
eventpoll_replace() finds all instances of the file to be replaced and replaces them with the new file and the interested events.
---
Changes in v6:
- incorporate latest changes that get rid of the global epmutex lock.
Changes in v5:
- address review comments and move the call to replace old file in each subsystem (epoll, io_uring, etc.) outside the fdtable helpers like replace_fd().
Changes in v4:
- address review comment to remove the redundant eventpoll_replace() function.
- removed an extra empty line introduced in include/linux/file.h
Changes in v3:
- address review comment and iterate over the file table while holding the
spin_lock(&files->file_lock).
- address review comment and call filp_close() outside the
spin_lock(&files->file_lock).
---
fs/eventpoll.c | 76 +++++++++++++++++++++++++++++++++++++++
include/linux/eventpoll.h | 8 +++++
2 files changed, 84 insertions(+)fs/eventpoll.c +76 -0
@@ -973,6 +973,82 @@ void eventpoll_release_file(struct file *file)spin_unlock (&file->f_lock); } +static int ep_insert (struct eventpoll *ep,const struct epoll_event *event, +struct file *tfile,int fd,int full_check); + +/* +* This is called from eventpoll_replace() to replace a linked file in the epoll +* interface with a new file received from another process. This is useful in +* cases where a process is trying to install a new file for an existing one +* that is linked in the epoll interface +*/ +int eventpoll_replace_file (struct file *toreplace,struct file *file,int tfd) +{ +struct file *to_remove = toreplace; +struct epoll_event event; +struct hlist_node *next; +struct eventpoll *ep; +struct epitem *epi; +int error =0 ; +bool dispose; +int fd; + +if (!file_can_poll (file)) +return 0 ; + +spin_lock (&toreplace->f_lock); +if (unlikely (!toreplace->f_ep)) { +spin_unlock (&toreplace->f_lock); +return 0 ; + } +hlist_for_each_entry_safe (epi, next, toreplace->f_ep, fllink) { + ep = epi->ep; +mutex_lock (&ep->mtx); + fd = epi->ffd.fd; +if (fd != tfd) { +mutex_unlock (&ep->mtx); +continue ; + } + event = epi->event; + error =ep_insert (ep, &event, file, fd,1 ); +mutex_unlock (&ep->mtx); +if (error !=0 ) { +break ; + } + } +spin_unlock (&toreplace->f_lock); +/* +* In case of an error remove all instances of the new file in the epoll +* interface. If no error, remove all instances of the original file. +*/ +if (error !=0 ) + to_remove = file; + +again: +spin_lock (&to_remove->f_lock); +if (to_remove->f_ep && to_remove->f_ep->first) { + epi = hlist_entry(to_remove->f_ep->first, struct epitem, fllink); + fd = epi->ffd.fd; +if (fd != tfd) { +spin_unlock (&to_remove->f_lock); + goto again; + } + epi->dying = true; +spin_unlock (&to_remove->f_lock); + + ep = epi->ep; +mutex_lock (&ep->mtx); + dispose =__ep_remove (ep, epi, true); +mutex_unlock (&ep->mtx); + +if (dispose) +ep_free (ep); + goto again; + } +spin_unlock (&to_remove->f_lock); +return error; +} +static int ep_alloc (struct eventpoll **pep) {int error;
include/linux/eventpoll.h +8 -0
@@ -25,6 +25,14 @@ struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long t/* Used to release the epoll bits inside the "struct file" */ void eventpoll_release_file (struct file *file); +/* +* This is called from fs/file.c:do_replace() to replace a linked file in the +* epoll interface with a new file received from another process. This is useful +* in cases where a process is trying to install a new file for an existing one +* that is linked in the epoll interface +*/ +int eventpoll_replace_file (struct file *toreplace,struct file *file,int tfd); +/* * This is called from inside fs/file_table.c:__fput() to unlink files * from the eventpoll interface. We need to have this facility to cleanup
Signature · 1 line
2.34.1
RFC v6 2/2 seccomp: replace existing file in the epoll interface by a new file injected by the syscall supervisor.
Introduce a mechanism to replace a file linked in the epoll interface by a new file injected by the syscall supervisor by using the epoll provided eventpoll_replace_file() api.
Also introduce a new addfd flag SECCOMP_ADDFD_FLAG_REPLACE_REF to allow the supervisor to indicate that it is interested in getting the original file replaced by the new injected file.
We have a use case where multiple IPv6 only network namespaces can use a single IPv4 network namespace for IPv4 only egress connectivity by switching their sockets from IPv6 to IPv4 network namespace. This allows for migration of systems to IPv6 only while keeping their connectivity to IPv4 only destinations intact.
Today, we achieve this by setting up seccomp filter to intercept network system calls like connect() from a container in a syscall supervisor which runs in an IPv4 only network namespace. The syscall supervisor creates a new IPv4 connection and injects the new file descriptor through SECCOMP_NOTIFY_IOCTL_ADDFD replacing the original file descriptor from the connect() call. This does not work for cases where the original file descriptor is handed off to a system like epoll before the connect() call. After a new file descriptor is injected the original file descriptor being referenced by the epoll fd is not longer valid leading to failures. As a workaround the syscall supervisor when intercepting connect() loops through all open socket file descriptors to check if they are referencing the socket attempting the connect() and replace the reference with the to be injected file descriptor. This workaround is cumbersome and makes the solution prone to similar yet to be discovered issues.
The above change will enable us remove the workaround in the syscall supervisor and let the kernel handle the replacement correctly.
--- include/uapi/linux/seccomp.h | 1 + kernel/seccomp.c | 35 +++++- tools/testing/selftests/seccomp/seccomp_bpf.c | 102 ++++++++++++++++++ 3 files changed, 136 insertions(+), 2 deletions(-)
include/uapi/linux/seccomp.h +1 -0
@@ -118,6 +118,7 @@ struct seccomp_notif_resp {/* valid flags for seccomp_notif_addfd */ #define SECCOMP_ADDFD_FLAG_SETFD (1UL << 0)/* Specify remote fd */ #define SECCOMP_ADDFD_FLAG_SEND (1UL << 1)/* Addfd and return it, atomically */ +#define SECCOMP_ADDFD_FLAG_REPLACE_REF (1UL << 2)/* Update replace references */ /** * struct seccomp_notif_addfd
kernel/seccomp.c +33 -2
@@ -19,6 +19,7 @@#include <linux/audit.h> #include <linux/compat.h> #include <linux/coredump.h> +#include <linux/eventpoll.h> #include <linux/kmemleak.h> #include <linux/nospec.h> #include <linux/prctl.h>
@@ -1056,6 +1057,7 @@ static u64 seccomp_next_notify_id(struct seccomp_filter *filter)static void seccomp_handle_addfd (struct seccomp_kaddfd *addfd,struct seccomp_knotif *n) {int fd; +struct file *old_file =NULL ;/* * Remove the notification, and reset the list pointers, indicating
@@ -1064,8 +1066,30 @@ static void seccomp_handle_addfd(struct seccomp_kaddfd *addfd, struct seccomp_knlist_del_init (&addfd->list);if (!addfd->setfd) fd =receive_fd (addfd->file, addfd->flags); -else +else { +int ret =0 ; +if (addfd->ioctl_flags &SECCOMP_ADDFD_FLAG_REPLACE_REF ) { + old_file =fget (addfd->fd); +if (!old_file) { + fd = -EBADF ; + goto error; + } + ret =eventpoll_replace_file (old_file, addfd->file, addfd->fd); +if (ret <0 ) { + fd = ret; + goto error; + } + } fd =receive_fd_replace (addfd->fd, addfd->file, addfd->flags); +/* In case of error restore all references */ +if (fd <0 && addfd->ioctl_flags &SECCOMP_ADDFD_FLAG_REPLACE_REF ) { + ret =eventpoll_replace_file (addfd->file, old_file, addfd->fd); +if (ret <0 ) { + fd = ret; + } + } + } +error: addfd->ret = fd;if (addfd->ioctl_flags &SECCOMP_ADDFD_FLAG_SEND ) {
@@ -1080,6 +1104,9 @@ static void seccomp_handle_addfd(struct seccomp_kaddfd *addfd, struct seccomp_kn } } +if (old_file) +fput (old_file); +/* * Mark the notification as completed. From this point, addfd mem * might be invalidated and we can't safely read it anymore.
@@ -1613,12 +1640,16 @@ static long seccomp_notify_addfd(struct seccomp_filter *filter,if (addfd.newfd_flags & ~O_CLOEXEC )return -EINVAL ; -if (addfd.flags & ~(SECCOMP_ADDFD_FLAG_SETFD |SECCOMP_ADDFD_FLAG_SEND )) +if (addfd.flags & ~(SECCOMP_ADDFD_FLAG_SETFD |SECCOMP_ADDFD_FLAG_SEND | +SECCOMP_ADDFD_FLAG_REPLACE_REF ))return -EINVAL ;if (addfd.newfd && !(addfd.flags &SECCOMP_ADDFD_FLAG_SETFD ))return -EINVAL ; +if (!addfd.newfd && (addfd.flags &SECCOMP_ADDFD_FLAG_REPLACE_REF )) +return -EINVAL ; + kaddfd.file =fget (addfd.srcfd);if (!kaddfd.file)return -EBADF ;
tools/testing/selftests/seccomp/seccomp_bpf.c +102 -0
114 lines not on this page · raw message
Signature · 1 line
2.34.1
kernel test robot
build botRe: [RFC v6 2/2] seccomp: replace existing file in the epoll interface by a new file injected by the syscall supervisor.
kernel test robot noticed the following build errors:
Hi aloktiagi,
[This is a private test report for your RFC patch.] kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on kees/for-next/seccomp v6.4-rc3 next-20230523] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/aloktiagi/seccomp-replace-existing-file-in-the-epoll-interface-by-a-new-file-injected-by-the-syscall-supervisor/20230523-150046 base: linus/master patch link: https://lore.kernel.org/r/20230523065802.2253926-2-aloktiagi%40gmail.com patch subject: [RFC v6 2/2] seccomp: replace existing file in the epoll interface by a new file injected by the syscall supervisor. config: powerpc-lite5200b_defconfig (https://download.01.org/0day-ci/archive/20230524/[email protected]/config) compiler: clang version 17.0.0 (https://github.com/llvm/llvm-project 4faf3aaf28226a4e950c103a14f6fc1d1fdabb1b)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install powerpc cross compiling tool for clang build
# apt-get install binutils-powerpc-linux-gnu
# https://github.com/intel-lab-lkp/linux/commit/1d9c481b2cb96cb6bbe54d22da6405f9b7daa489
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review aloktiagi/seccomp-replace-existing-file-in-the-epoll-interface-by-a-new-file-injected-by-the-syscall-supervisor/20230523-150046 git checkout 1d9c481b2cb96cb6bbe54d22da6405f9b7daa489
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=powerpc SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:677:
arch/powerpc/include/asm/io-defs.h:45:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic] DEF_PCI_AC_NORET(insw, (unsigned long p, void *b, unsigned long c), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:674:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:214:1: note: expanded from here
__do_insw
^
arch/powerpc/include/asm/io.h:615:56: note: expanded from macro '__do_insw'
#define __do_insw(p, b, n) readsw((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from kernel/seccomp.c:30:
In file included from include/linux/syscalls.h:88:
In file included from include/trace/syscall.h:7:
In file included from include/linux/trace_events.h:9:
In file included from include/linux/hardirq.h:11:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:677:
arch/powerpc/include/asm/io-defs.h:47:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(insl, (unsigned long p, void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:674:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:216:1: note: expanded from here
__do_insl
^
arch/powerpc/include/asm/io.h:616:56: note: expanded from macro '__do_insl'
#define __do_insl(p, b, n) readsl((PCI_IO_ADDR)_IO_BASE+(p), (b), (n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from kernel/seccomp.c:30:
In file included from include/linux/syscalls.h:88:
In file included from include/trace/syscall.h:7:
In file included from include/linux/trace_events.h:9:
In file included from include/linux/hardirq.h:11:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:677:
arch/powerpc/include/asm/io-defs.h:49:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsb, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:674:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:218:1: note: expanded from here
__do_outsb
^
arch/powerpc/include/asm/io.h:617:58: note: expanded from macro '__do_outsb'
#define __do_outsb(p, b, n) writesb((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from kernel/seccomp.c:30:
In file included from include/linux/syscalls.h:88:
In file included from include/trace/syscall.h:7:
In file included from include/linux/trace_events.h:9:
In file included from include/linux/hardirq.h:11:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:677:
arch/powerpc/include/asm/io-defs.h:51:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsw, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:674:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:220:1: note: expanded from here
__do_outsw
^
arch/powerpc/include/asm/io.h:618:58: note: expanded from macro '__do_outsw'
#define __do_outsw(p, b, n) writesw((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
In file included from kernel/seccomp.c:30:
In file included from include/linux/syscalls.h:88:
In file included from include/trace/syscall.h:7:
In file included from include/linux/trace_events.h:9:
In file included from include/linux/hardirq.h:11:
In file included from arch/powerpc/include/asm/hardirq.h:6:
In file included from include/linux/irq.h:20:
In file included from include/linux/io.h:13:
In file included from arch/powerpc/include/asm/io.h:677:
arch/powerpc/include/asm/io-defs.h:53:1: warning: performing pointer arithmetic on a null pointer has undefined behavior [-Wnull-pointer-arithmetic]
DEF_PCI_AC_NORET(outsl, (unsigned long p, const void *b, unsigned long c),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
arch/powerpc/include/asm/io.h:674:3: note: expanded from macro 'DEF_PCI_AC_NORET'
__do_##name al; \
^~~~~~~~~~~~~~
<scratch space>:222:1: note: expanded from here
__do_outsl
^
arch/powerpc/include/asm/io.h:619:58: note: expanded from macro '__do_outsl'
#define __do_outsl(p, b, n) writesl((PCI_IO_ADDR)_IO_BASE+(p),(b),(n))
~~~~~~~~~~~~~~~~~~~~~^
>> kernel/seccomp.c:1077:10: error: call to undeclared function 'eventpoll_replace_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret = eventpoll_replace_file(old_file, addfd->file, addfd->fd);
^
kernel/seccomp.c:1077:10: note: did you mean 'eventpoll_release'?
include/linux/eventpoll.h:75:20: note: 'eventpoll_release' declared here
static inline void eventpoll_release(struct file *file) {}
^
kernel/seccomp.c:1086:10: error: call to undeclared function 'eventpoll_replace_file'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
ret = eventpoll_replace_file(addfd->file, old_file, addfd->fd);
^6 warnings and 2 errors generated.
vim +/eventpoll_replace_file +1077 kernel/seccomp.c
1056
1057 static void seccomp_handle_addfd(struct seccomp_kaddfd *addfd, struct seccomp_knotif *n)
1058 {
1059 int fd;
1060 struct file *old_file = NULL;
1061
1062 /*
1063 * Remove the notification, and reset the list pointers, indicating
1064 * that it has been handled.
1065 */
1066 list_del_init(&addfd->list);
1067 if (!addfd->setfd)
1068 fd = receive_fd(addfd->file, addfd->flags);
1069 else {
1070 int ret = 0;
1071 if (addfd->ioctl_flags & SECCOMP_ADDFD_FLAG_REPLACE_REF) {
1072 old_file = fget(addfd->fd);
1073 if (!old_file) {
1074 fd = -EBADF;
1075 goto error;
1076 }
> 1077 ret = eventpoll_replace_file(old_file, addfd->file, addfd->fd);
1078 if (ret < 0) {
1079 fd = ret;
1080 goto error;
1081 }
1082 }
1083 fd = receive_fd_replace(addfd->fd, addfd->file, addfd->flags);
1084 /* In case of error restore all references */
1085 if (fd < 0 && addfd->ioctl_flags & SECCOMP_ADDFD_FLAG_REPLACE_REF) {
1086 ret = eventpoll_replace_file(addfd->file, old_file, addfd->fd);
1087 if (ret < 0) {
1088 fd = ret;
1089 }
1090 }
1091 }
1092 error:
1093 addfd->ret = fd;
1094
1095 if (addfd->ioctl_flags & SECCOMP_ADDFD_FLAG_SEND) {
1096 /* If we fail reset and return an error to the notifier */
1097 if (fd < 0) {
1098 n->state = SECCOMP_NOTIFY_SENT;
1099 } else {
1100 /* Return the FD we just added */
1101 n->flags = 0;
1102 n->error = 0;
1103 n->val = fd;
1104 }
1105 }
1106
1107 if (old_file)
1108 fput(old_file);
1109
1110 /*
1111 * Mark the notification as completed. From this point, addfd mem
1112 * might be invalidated and we can't safely read it anymore.
1113 */
1114 complete(&addfd->completion);
1115 }
1116
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
kernel test robot
build botRe: [RFC v6 2/2] seccomp: replace existing file in the epoll interface by a new file injected by the syscall supervisor.
In reply to aloktiagikernel test robot noticed the following build errors:
Hi aloktiagi,
[This is a private test report for your RFC patch.] kernel test robot noticed the following build errors:
[auto build test ERROR on linus/master]
[also build test ERROR on kees/for-next/seccomp v6.4-rc3 next-20230523] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/aloktiagi/seccomp-replace-existing-file-in-the-epoll-interface-by-a-new-file-injected-by-the-syscall-supervisor/20230523-150046 base: linus/master patch link: https://lore.kernel.org/r/20230523065802.2253926-2-aloktiagi%40gmail.com patch subject: [RFC v6 2/2] seccomp: replace existing file in the epoll interface by a new file injected by the syscall supervisor. config: s390-randconfig-r044-20230521 compiler: s390-linux-gcc (GCC) 12.1.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/intel-lab-lkp/linux/commit/1d9c481b2cb96cb6bbe54d22da6405f9b7daa489
git remote add linux-review https://github.com/intel-lab-lkp/linux
git fetch --no-tags linux-review aloktiagi/seccomp-replace-existing-file-in-the-epoll-interface-by-a-new-file-injected-by-the-syscall-supervisor/20230523-150046 git checkout 1d9c481b2cb96cb6bbe54d22da6405f9b7daa489
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=s390 SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
All errors (new ones prefixed by >>):
kernel/seccomp.c: In function 'seccomp_handle_addfd':
>> kernel/seccomp.c:1077:31: error: implicit declaration of function 'eventpoll_replace_file'; did you mean 'eventpoll_release'? [-Werror=implicit-function-declaration]
1077 | ret = eventpoll_replace_file(old_file, addfd->file, addfd->fd);
| ^~~~~~~~~~~~~~~~~~~~~~
| eventpoll_releasecc1: some warnings being treated as errors
vim +1077 kernel/seccomp.c
1056
1057 static void seccomp_handle_addfd(struct seccomp_kaddfd *addfd, struct seccomp_knotif *n)
1058 {
1059 int fd;
1060 struct file *old_file = NULL;
1061
1062 /*
1063 * Remove the notification, and reset the list pointers, indicating
1064 * that it has been handled.
1065 */
1066 list_del_init(&addfd->list);
1067 if (!addfd->setfd)
1068 fd = receive_fd(addfd->file, addfd->flags);
1069 else {
1070 int ret = 0;
1071 if (addfd->ioctl_flags & SECCOMP_ADDFD_FLAG_REPLACE_REF) {
1072 old_file = fget(addfd->fd);
1073 if (!old_file) {
1074 fd = -EBADF;
1075 goto error;
1076 }
> 1077 ret = eventpoll_replace_file(old_file, addfd->file, addfd->fd);
1078 if (ret < 0) {
1079 fd = ret;
1080 goto error;
1081 }
1082 }
1083 fd = receive_fd_replace(addfd->fd, addfd->file, addfd->flags);
1084 /* In case of error restore all references */
1085 if (fd < 0 && addfd->ioctl_flags & SECCOMP_ADDFD_FLAG_REPLACE_REF) {
1086 ret = eventpoll_replace_file(addfd->file, old_file, addfd->fd);
1087 if (ret < 0) {
1088 fd = ret;
1089 }
1090 }
1091 }
1092 error:
1093 addfd->ret = fd;
1094
1095 if (addfd->ioctl_flags & SECCOMP_ADDFD_FLAG_SEND) {
1096 /* If we fail reset and return an error to the notifier */
1097 if (fd < 0) {
1098 n->state = SECCOMP_NOTIFY_SENT;
1099 } else {
1100 /* Return the FD we just added */
1101 n->flags = 0;
1102 n->error = 0;
1103 n->val = fd;
1104 }
1105 }
1106
1107 if (old_file)
1108 fput(old_file);
1109
1110 /*
1111 * Mark the notification as completed. From this point, addfd mem
1112 * might be invalidated and we can't safely read it anymore.
1113 */
1114 complete(&addfd->completion);
1115 }
1116
Signature · 2 lines
0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
#
# Automatically generated file; DO NOT EDIT. # Linux/s390 6.4.0-rc3 Kernel Configuration #CONFIG_CC_VERSION_TEXT="s390-linux-gcc (GCC) 12.1.0" CONFIG_CC_IS_GCC=yCONFIG_GCC_VERSION=120100 CONFIG_CLANG_VERSION=0CONFIG_AS_IS_GNU=yCONFIG_AS_VERSION=23800CONFIG_LD_IS_BFD=yCONFIG_LD_VERSION=23800CONFIG_LLD_VERSION=0 CONFIG_CC_HAS_ASM_GOTO_OUTPUT=y CONFIG_CC_HAS_ASM_GOTO_TIED_OUTPUT=y CONFIG_CC_HAS_ASM_INLINE=y CONFIG_CC_HAS_NO_PROFILE_FN_ATTR=y CONFIG_PAHOLE_VERSION=125 CONFIG_CONSTRUCTORS=yCONFIG_IRQ_WORK=y CONFIG_BUILDTIME_TABLE_SORT=y CONFIG_THREAD_INFO_IN_TASK=y
#
# General setup
#CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_WERROR is not setCONFIG_LOCALVERSION=""
# CONFIG_LOCALVERSION_AUTO is not setCONFIG_BUILD_SALT=""CONFIG_HAVE_KERNEL_GZIP=yCONFIG_HAVE_KERNEL_BZIP2=yCONFIG_HAVE_KERNEL_LZMA=yCONFIG_HAVE_KERNEL_XZ=yCONFIG_HAVE_KERNEL_LZO=yCONFIG_HAVE_KERNEL_LZ4=yCONFIG_HAVE_KERNEL_ZSTD=yCONFIG_HAVE_KERNEL_UNCOMPRESSED=y
# CONFIG_KERNEL_GZIP is not set
# CONFIG_KERNEL_BZIP2 is not set
# CONFIG_KERNEL_LZMA is not setCONFIG_KERNEL_XZ=y
# CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set
# CONFIG_KERNEL_ZSTD is not set
# CONFIG_KERNEL_UNCOMPRESSED is not setCONFIG_DEFAULT_INIT=""CONFIG_DEFAULT_HOSTNAME="(none)"CONFIG_SYSVIPC=yCONFIG_SYSVIPC_SYSCTL=y
# CONFIG_POSIX_MQUEUE is not set
# CONFIG_WATCH_QUEUE is not set
# CONFIG_CROSS_MEMORY_ATTACH is not setCONFIG_USELIB=yCONFIG_AUDIT=yCONFIG_HAVE_ARCH_AUDITSYSCALL=yCONFIG_AUDITSYSCALL=y
#
# IRQ subsystem
#CONFIG_IRQ_DOMAIN=yCONFIG_SPARSE_IRQ=y
# CONFIG_GENERIC_IRQ_DEBUGFS is not set
# end of IRQ subsystem
CONFIG_GENERIC_TIME_VSYSCALL=yCONFIG_GENERIC_CLOCKEVENTS=yCONFIG_CONTEXT_TRACKING=yCONFIG_CONTEXT_TRACKING_IDLE=y
#
# Timers subsystem
#CONFIG_TICK_ONESHOT=yCONFIG_HZ_PERIODIC=y
# CONFIG_NO_HZ_IDLE is not setCONFIG_NO_HZ=yCONFIG_HIGH_RES_TIMERS=y
# end of Timers subsystem
CONFIG_BPF=yCONFIG_HAVE_EBPF_JIT=yCONFIG_ARCH_WANT_DEFAULT_BPF_JIT=y
#
# BPF subsystem
#CONFIG_BPF_SYSCALL=y
# CONFIG_BPF_JIT is not setCONFIG_BPF_UNPRIV_DEFAULT_OFF=yCONFIG_USERMODE_DRIVER=y
# CONFIG_BPF_PRELOAD is not set
# end of BPF subsystem
CONFIG_PREEMPT_NONE_BUILD=yCONFIG_PREEMPT_NONE=y
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not setCONFIG_PREEMPT_COUNT=y
#
# CPU/Task time and stats accounting
#CONFIG_VIRT_CPU_ACCOUNTING=yCONFIG_VIRT_CPU_ACCOUNTING_NATIVE=y
# CONFIG_PSI is not set
# end of CPU/Task time and stats accounting
CONFIG_CPU_ISOLATION=y
#
# RCU Subsystem
#CONFIG_TREE_RCU=yCONFIG_RCU_EXPERT=yCONFIG_TREE_SRCU=yCONFIG_TASKS_RCU_GENERIC=yCONFIG_FORCE_TASKS_RCU=yCONFIG_TASKS_RCU=y
# CONFIG_FORCE_TASKS_RUDE_RCU is not set
# CONFIG_FORCE_TASKS_TRACE_RCU is not setCONFIG_TASKS_TRACE_RCU=yCONFIG_RCU_STALL_COMMON=yCONFIG_RCU_NEED_SEGCBLIST=yCONFIG_RCU_FANOUT=64CONFIG_RCU_FANOUT_LEAF=16
# CONFIG_RCU_NOCB_CPU is not setCONFIG_TASKS_TRACE_RCU_READ_MB=y
# end of RCU Subsystem
# CONFIG_IKCONFIG is not set
# CONFIG_IKHEADERS is not setCONFIG_LOG_BUF_SHIFT=17CONFIG_LOG_CPU_MAX_BUF_SHIFT=12
# CONFIG_PRINTK_INDEX is not set
#
# Scheduler features
#
# end of Scheduler features
CONFIG_ARCH_SUPPORTS_NUMA_BALANCING=y CONFIG_CC_HAS_INT128=y CONFIG_CC_IMPLICIT_FALLTHROUGH="-Wimplicit-fallthrough=5" CONFIG_GCC11_NO_ARRAY_BOUNDS=y CONFIG_CC_NO_ARRAY_BOUNDS=yCONFIG_CGROUPS=yCONFIG_CGROUP_FAVOR_DYNMODS=y
# CONFIG_MEMCG is not setCONFIG_CGROUP_SCHED=yCONFIG_FAIR_GROUP_SCHED=yCONFIG_CFS_BANDWIDTH=yCONFIG_RT_GROUP_SCHED=y
# CONFIG_CGROUP_PIDS is not set CONFIG_CGROUP_RDMA=yCONFIG_CGROUP_FREEZER=y
# CONFIG_CGROUP_HUGETLB is not set CONFIG_CPUSETS=yCONFIG_PROC_PID_CPUSET=y
# CONFIG_CGROUP_DEVICE is not set CONFIG_CGROUP_CPUACCT=yCONFIG_CGROUP_PERF=yCONFIG_CGROUP_BPF=y
# CONFIG_CGROUP_MISC is not set
# CONFIG_CGROUP_DEBUG is not set CONFIG_SOCK_CGROUP_DATA=y CONFIG_CHECKPOINT_RESTORE=y
# CONFIG_SCHED_AUTOGROUP is not set
# CONFIG_RELAY is not set
# CONFIG_BLK_DEV_INITRD is not set
# CONFIG_BOOT_CONFIG is not set CONFIG_INITRAMFS_PRESERVE_MTIME=y CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set CONFIG_SYSCTL=yCONFIG_SYSCTL_EXCEPTION_TRACE=yCONFIG_EXPERT=y
# CONFIG_MULTIUSER is not set CONFIG_SGETMASK_SYSCALL=yCONFIG_SYSFS_SYSCALL=yCONFIG_FHANDLE=y
# CONFIG_POSIX_TIMERS is not setCONFIG_PRINTK=yCONFIG_BUG=y
# CONFIG_BASE_FULL is not setCONFIG_FUTEX=yCONFIG_FUTEX_PI=y
# CONFIG_EPOLL is not setCONFIG_SIGNALFD=y
# CONFIG_TIMERFD is not setCONFIG_EVENTFD=y
# CONFIG_SHMEM is not set
# CONFIG_AIO is not setCONFIG_IO_URING=yCONFIG_ADVISE_SYSCALLS=yCONFIG_MEMBARRIER=yCONFIG_KALLSYMS=yCONFIG_KALLSYMS_SELFTEST=yCONFIG_KALLSYMS_ALL=y CONFIG_KALLSYMS_BASE_RELATIVE=y CONFIG_ARCH_HAS_MEMBARRIER_SYNC_CORE=y CONFIG_KCMP=y
# CONFIG_RSEQ is not setCONFIG_EMBEDDED=yCONFIG_HAVE_PERF_EVENTS=yCONFIG_PC104=y
#
# Kernel Performance Events And Counters
#CONFIG_PERF_EVENTS=y
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
# end of Kernel Performance Events And Counters
CONFIG_SYSTEM_DATA_VERIFICATION=y
# CONFIG_PROFILING is not setCONFIG_TRACEPOINTS=y
# end of General setup
CONFIG_MMU=yCONFIG_CPU_BIG_ENDIAN=yCONFIG_LOCKDEP_SUPPORT=yCONFIG_STACKTRACE_SUPPORT=yCONFIG_GENERIC_HWEIGHT=yCONFIG_GENERIC_BUG=yCONFIG_GENERIC_BUG_RELATIVE_POINTERS=yCONFIG_PGSTE=yCONFIG_AUDIT_ARCH=yCONFIG_NO_IOPORT_MAP=yCONFIG_ARCH_SUPPORTS_UPROBES=yCONFIG_S390=yCONFIG_SCHED_OMIT_FRAME_POINTER=yCONFIG_PGTABLE_LEVELS=5CONFIG_HAVE_LIVEPATCH=y
#
# Processor type and features
#CONFIG_HAVE_MARCH_Z10_FEATURES=yCONFIG_HAVE_MARCH_Z196_FEATURES=yCONFIG_HAVE_MARCH_ZEC12_FEATURES=yCONFIG_HAVE_MARCH_Z13_FEATURES=yCONFIG_HAVE_MARCH_Z14_FEATURES=y
# CONFIG_MARCH_Z10 is not set
# CONFIG_MARCH_Z196 is not set
# CONFIG_MARCH_ZEC12 is not set
# CONFIG_MARCH_Z13 is not setCONFIG_MARCH_Z14=y
# CONFIG_MARCH_Z15 is not setCONFIG_MARCH_Z14_TUNE=y
# CONFIG_TUNE_DEFAULT is not set
# CONFIG_TUNE_Z10 is not set
# CONFIG_TUNE_Z196 is not set
# CONFIG_TUNE_ZEC12 is not set
# CONFIG_TUNE_Z13 is not setCONFIG_TUNE_Z14=y
# CONFIG_TUNE_Z15 is not set
# CONFIG_TUNE_Z16 is not setCONFIG_64BIT=yCONFIG_COMMAND_LINE_SIZE=4096CONFIG_SMP=yCONFIG_NR_CPUS=64CONFIG_HOTPLUG_CPU=y
# CONFIG_SCHED_TOPOLOGY is not setCONFIG_HZ_100=y
# CONFIG_HZ_250 is not set
# CONFIG_HZ_300 is not set
# CONFIG_HZ_1000 is not setCONFIG_HZ=100CONFIG_SCHED_HRTICK=yCONFIG_KEXEC=yCONFIG_KEXEC_FILE=yCONFIG_ARCH_HAS_KEXEC_PURGATORY=y
# CONFIG_KERNEL_NOBP is not setCONFIG_EXPOLINE=y
# CONFIG_EXPOLINE_EXTERN is not set
# CONFIG_EXPOLINE_OFF is not setCONFIG_EXPOLINE_AUTO=y
# CONFIG_EXPOLINE_FULL is not setCONFIG_RELOCATABLE=y
# CONFIG_RANDOMIZE_BASE is not set
# end of Processor type and features
#
# Memory setup
#CONFIG_ARCH_SPARSEMEM_ENABLE=yCONFIG_ARCH_SPARSEMEM_DEFAULT=yCONFIG_MAX_PHYSMEM_BITS=46
# CONFIG_CHECK_STACK is not set
# end of Memory setup
#
# I/O subsystem
#CONFIG_QDIO=m
# CONFIG_CHSC_SCH is not set
# CONFIG_SCM_BUS is not set
# end of I/O subsystem
#
# Dump support
#
# CONFIG_CRASH_DUMP is not set
# end of Dump support
CONFIG_CCW=y
#
# Virtualization
#CONFIG_PROTECTED_VIRTUALIZATION_GUEST=yCONFIG_PFAULT=yCONFIG_CMM=y
# CONFIG_APPLDATA_BASE is not setCONFIG_S390_HYPFS_FS=yCONFIG_HAVE_KVM=yCONFIG_HAVE_KVM_IRQCHIP=yCONFIG_HAVE_KVM_IRQFD=yCONFIG_HAVE_KVM_IRQ_ROUTING=yCONFIG_HAVE_KVM_EVENTFD=yCONFIG_KVM_ASYNC_PF=yCONFIG_KVM_ASYNC_PF_SYNC=yCONFIG_HAVE_KVM_CPU_RELAX_INTERCEPT=yCONFIG_KVM_VFIO=yCONFIG_HAVE_KVM_INVALID_WAKEUPS=yCONFIG_HAVE_KVM_VCPU_ASYNC_IOCTL=yCONFIG_HAVE_KVM_NO_POLL=yCONFIG_VIRTUALIZATION=yCONFIG_KVM=y
# CONFIG_KVM_S390_UCONTROL is not setCONFIG_S390_GUEST=y
# end of Virtualization
#
# Selftests
#
# end of Selftests
#
# General architecture-dependent options
#CONFIG_CRASH_CORE=yCONFIG_KEXEC_CORE=yCONFIG_GENERIC_ENTRY=yCONFIG_KPROBES=y
# CONFIG_JUMP_LABEL is not setCONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS=yCONFIG_ARCH_USE_BUILTIN_BSWAP=yCONFIG_KRETPROBES=yCONFIG_KRETPROBE_ON_RETHOOK=yCONFIG_HAVE_KPROBES=yCONFIG_HAVE_KRETPROBES=yCONFIG_HAVE_KPROBES_ON_FTRACE=yCONFIG_ARCH_CORRECT_STACKTRACE_ON_KRETPROBE=yCONFIG_HAVE_FUNCTION_ERROR_INJECTION=yCONFIG_HAVE_NMI=yCONFIG_TRACE_IRQFLAGS_SUPPORT=yCONFIG_HAVE_ARCH_TRACEHOOK=yCONFIG_HAVE_DMA_CONTIGUOUS=yCONFIG_GENERIC_SMP_IDLE_THREAD=yCONFIG_ARCH_HAS_FORTIFY_SOURCE=yCONFIG_ARCH_HAS_SET_MEMORY=yCONFIG_ARCH_HAS_SET_DIRECT_MAP=yCONFIG_ARCH_WANTS_DYNAMIC_TASK_STRUCT=yCONFIG_ARCH_WANTS_NO_INSTR=yCONFIG_ARCH_32BIT_USTAT_F_TINODE=yCONFIG_HAVE_ASM_MODVERSIONS=yCONFIG_HAVE_REGS_AND_STACK_ACCESS_API=yCONFIG_HAVE_RSEQ=yCONFIG_HAVE_FUNCTION_ARG_ACCESS_API=yCONFIG_HAVE_PERF_REGS=yCONFIG_HAVE_PERF_USER_STACK_DUMP=yCONFIG_HAVE_ARCH_JUMP_LABEL=yCONFIG_HAVE_ARCH_JUMP_LABEL_RELATIVE=yCONFIG_MMU_GATHER_TABLE_FREE=yCONFIG_MMU_GATHER_RCU_TABLE_FREE=yCONFIG_MMU_GATHER_MERGE_VMAS=yCONFIG_MMU_GATHER_NO_GATHER=yCONFIG_MMU_LAZY_TLB_REFCOUNT=yCONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG=yCONFIG_ARCH_HAS_NMI_SAFE_THIS_CPU_OPS=yCONFIG_HAVE_ALIGNED_STRUCT_PAGE=yCONFIG_HAVE_CMPXCHG_LOCAL=yCONFIG_HAVE_CMPXCHG_DOUBLE=yCONFIG_ARCH_WANT_IPC_PARSE_VERSION=yCONFIG_HAVE_ARCH_SECCOMP=yCONFIG_HAVE_ARCH_SECCOMP_FILTER=yCONFIG_SECCOMP=yCONFIG_SECCOMP_FILTER=y
# CONFIG_SECCOMP_CACHE_DEBUG is not setCONFIG_HAVE_ARCH_STACKLEAK=yCONFIG_LTO_NONE=yCONFIG_HAVE_VIRT_CPU_ACCOUNTING=yCONFIG_HAVE_VIRT_CPU_ACCOUNTING_IDLE=yCONFIG_ARCH_HAS_SCALED_CPUTIME=yCONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=yCONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=yCONFIG_HAVE_ARCH_SOFT_DIRTY=yCONFIG_HAVE_MOD_ARCH_SPECIFIC=yCONFIG_MODULES_USE_ELF_RELA=yCONFIG_HAVE_SOFTIRQ_ON_OWN_STACK=yCONFIG_SOFTIRQ_ON_OWN_STACK=yCONFIG_ALTERNATE_USER_ADDRESS_SPACE=yCONFIG_ARCH_HAS_ELF_RANDOMIZE=yCONFIG_PAGE_SIZE_LESS_THAN_64KB=yCONFIG_PAGE_SIZE_LESS_THAN_256KB=yCONFIG_HAVE_RELIABLE_STACKTRACE=yCONFIG_CLONE_BACKWARDS2=yCONFIG_OLD_SIGSUSPEND3=yCONFIG_OLD_SIGACTION=y
# CONFIG_COMPAT_32BIT_TIME is not setCONFIG_HAVE_ARCH_VMAP_STACK=y
# CONFIG_VMAP_STACK is not setCONFIG_HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET=y
# CONFIG_RANDOMIZE_KSTACK_OFFSET is not setCONFIG_ARCH_HAS_STRICT_KERNEL_RWX=yCONFIG_STRICT_KERNEL_RWX=yCONFIG_ARCH_HAS_STRICT_MODULE_RWX=yCONFIG_STRICT_MODULE_RWX=yCONFIG_LOCK_EVENT_COUNTS=yCONFIG_ARCH_HAS_MEM_ENCRYPT=yCONFIG_ARCH_HAS_VDSO_DATA=yCONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
#
# GCOV-based kernel profiling
#
# CONFIG_GCOV_KERNEL is not setCONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y
# end of GCOV-based kernel profiling
CONFIG_HAVE_GCC_PLUGINS=y
# CONFIG_GCC_PLUGINS is not setCONFIG_FUNCTION_ALIGNMENT_8B=yCONFIG_FUNCTION_ALIGNMENT=8
# end of General architecture-dependent options
CONFIG_RT_MUTEXES=yCONFIG_BASE_SMALL=1CONFIG_MODULES=yCONFIG_MODULE_DEBUGFS=y
# CONFIG_MODULE_DEBUG is not setCONFIG_MODULE_FORCE_LOAD=yCONFIG_MODULE_UNLOAD=yCONFIG_MODULE_FORCE_UNLOAD=yCONFIG_MODULE_UNLOAD_TAINT_TRACKING=y
# CONFIG_MODVERSIONS is not set
# CONFIG_MODULE_SRCVERSION_ALL is not set
# CONFIG_MODULE_SIG is not set
# CONFIG_MODULE_COMPRESS_NONE is not setCONFIG_MODULE_COMPRESS_GZIP=y
# CONFIG_MODULE_COMPRESS_XZ is not set
# CONFIG_MODULE_COMPRESS_ZSTD is not set
# CONFIG_MODULE_DECOMPRESS is not setCONFIG_MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=yCONFIG_MODPROBE_PATH="/sbin/modprobe"
# CONFIG_TRIM_UNUSED_KSYMS is not setCONFIG_MODULES_TREE_LOOKUP=y
# CONFIG_BLOCK is not setCONFIG_PREEMPT_NOTIFIERS=yCONFIG_ASN1=yCONFIG_ARCH_INLINE_SPIN_TRYLOCK=yCONFIG_ARCH_INLINE_SPIN_TRYLOCK_BH=yCONFIG_ARCH_INLINE_SPIN_LOCK=yCONFIG_ARCH_INLINE_SPIN_LOCK_BH=yCONFIG_ARCH_INLINE_SPIN_LOCK_IRQ=yCONFIG_ARCH_INLINE_SPIN_LOCK_IRQSAVE=yCONFIG_ARCH_INLINE_SPIN_UNLOCK=yCONFIG_ARCH_INLINE_SPIN_UNLOCK_BH=yCONFIG_ARCH_INLINE_SPIN_UNLOCK_IRQ=yCONFIG_ARCH_INLINE_SPIN_UNLOCK_IRQRESTORE=yCONFIG_ARCH_INLINE_READ_TRYLOCK=yCONFIG_ARCH_INLINE_READ_LOCK=yCONFIG_ARCH_INLINE_READ_LOCK_BH=yCONFIG_ARCH_INLINE_READ_LOCK_IRQ=yCONFIG_ARCH_INLINE_READ_LOCK_IRQSAVE=yCONFIG_ARCH_INLINE_READ_UNLOCK=yCONFIG_ARCH_INLINE_READ_UNLOCK_BH=yCONFIG_ARCH_INLINE_READ_UNLOCK_IRQ=yCONFIG_ARCH_INLINE_READ_UNLOCK_IRQRESTORE=yCONFIG_ARCH_INLINE_WRITE_TRYLOCK=yCONFIG_ARCH_INLINE_WRITE_LOCK=yCONFIG_ARCH_INLINE_WRITE_LOCK_BH=yCONFIG_ARCH_INLINE_WRITE_LOCK_IRQ=yCONFIG_ARCH_INLINE_WRITE_LOCK_IRQSAVE=yCONFIG_ARCH_INLINE_WRITE_UNLOCK=yCONFIG_ARCH_INLINE_WRITE_UNLOCK_BH=yCONFIG_ARCH_INLINE_WRITE_UNLOCK_IRQ=yCONFIG_ARCH_INLINE_WRITE_UNLOCK_IRQRESTORE=yCONFIG_UNINLINE_SPIN_UNLOCK=yCONFIG_ARCH_SUPPORTS_ATOMIC_RMW=yCONFIG_MUTEX_SPIN_ON_OWNER=yCONFIG_RWSEM_SPIN_ON_OWNER=yCONFIG_LOCK_SPIN_ON_OWNER=yCONFIG_ARCH_HAS_SYSCALL_WRAPPER=yCONFIG_FREEZER=y
#
# Executable file formats
#
# CONFIG_BINFMT_ELF is not setCONFIG_ARCH_BINFMT_ELF_STATE=yCONFIG_BINFMT_SCRIPT=mCONFIG_BINFMT_MISC=y
# CONFIG_COREDUMP is not set
# end of Executable file formats
#
# Memory Management options
#
#
# SLAB allocator options
#
# CONFIG_SLAB is not setCONFIG_SLUB=y
# CONFIG_SLUB_TINY is not setCONFIG_SLAB_MERGE_DEFAULT=y
# CONFIG_SLAB_FREELIST_RANDOM is not set
# CONFIG_SLAB_FREELIST_HARDENED is not set
# CONFIG_SLUB_STATS is not setCONFIG_SLUB_CPU_PARTIAL=y
# end of SLAB allocator options
CONFIG_SHUFFLE_PAGE_ALLOCATOR=y
# CONFIG_COMPAT_BRK is not setCONFIG_SPARSEMEM=yCONFIG_SPARSEMEM_EXTREME=yCONFIG_SPARSEMEM_VMEMMAP_ENABLE=yCONFIG_SPARSEMEM_VMEMMAP=yCONFIG_ARCH_WANT_OPTIMIZE_VMEMMAP=yCONFIG_HAVE_MEMBLOCK_PHYS_MAP=yCONFIG_HAVE_FAST_GUP=yCONFIG_MEMORY_ISOLATION=yCONFIG_EXCLUSIVE_SYSTEM_RAM=yCONFIG_ARCH_ENABLE_MEMORY_HOTPLUG=yCONFIG_ARCH_ENABLE_MEMORY_HOTREMOVE=yCONFIG_MEMORY_HOTPLUG=y
# CONFIG_MEMORY_HOTPLUG_DEFAULT_ONLINE is not set
# CONFIG_MEMORY_HOTREMOVE is not setCONFIG_SPLIT_PTLOCK_CPUS=4CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK=y
# CONFIG_COMPACTION is not setCONFIG_PAGE_REPORTING=yCONFIG_MIGRATION=yCONFIG_CONTIG_ALLOC=yCONFIG_PHYS_ADDR_T_64BIT=yCONFIG_MMU_NOTIFIER=yCONFIG_KSM=yCONFIG_DEFAULT_MMAP_MIN_ADDR=4096
# CONFIG_TRANSPARENT_HUGEPAGE is not setCONFIG_NEED_PER_CPU_EMBED_FIRST_CHUNK=yCONFIG_HAVE_SETUP_PER_CPU_AREA=yCONFIG_CMA=y
# CONFIG_CMA_DEBUG is not set
# CONFIG_CMA_DEBUGFS is not set
# CONFIG_CMA_SYSFS is not setCONFIG_CMA_AREAS=7
# CONFIG_MEM_SOFT_DIRTY is not set
# CONFIG_DEFERRED_STRUCT_PAGE_INIT is not setCONFIG_PAGE_IDLE_FLAG=y
# CONFIG_IDLE_PAGE_TRACKING is not setCONFIG_ARCH_HAS_CURRENT_STACK_POINTER=yCONFIG_ZONE_DMA=yCONFIG_VM_EVENT_COUNTERS=yCONFIG_PERCPU_STATS=y
# CONFIG_GUP_TEST is not set
# CONFIG_DMAPOOL_TEST is not setCONFIG_ARCH_HAS_PTE_SPECIAL=yCONFIG_SECRETMEM=yCONFIG_ANON_VMA_NAME=y
# CONFIG_USERFAULTFD is not set
# CONFIG_LRU_GEN is not setCONFIG_ARCH_SUPPORTS_PER_VMA_LOCK=yCONFIG_PER_VMA_LOCK=y
#
# Data Access Monitoring
#CONFIG_DAMON=y
# CONFIG_DAMON_VADDR is not setCONFIG_DAMON_PADDR=yCONFIG_DAMON_SYSFS=y
# CONFIG_DAMON_RECLAIM is not setCONFIG_DAMON_LRU_SORT=y
# end of Data Access Monitoring # end of Memory Management options
CONFIG_NET=yCONFIG_SKB_EXTENSIONS=y
#
# Networking options
#
# CONFIG_PACKET is not set
# CONFIG_UNIX is not setCONFIG_TLS=yCONFIG_TLS_DEVICE=y
# CONFIG_TLS_TOE is not setCONFIG_XFRM=yCONFIG_XFRM_OFFLOAD=yCONFIG_XFRM_ALGO=yCONFIG_XFRM_USER=mCONFIG_XFRM_INTERFACE=m
# CONFIG_XFRM_SUB_POLICY is not setCONFIG_XFRM_MIGRATE=yCONFIG_XFRM_STATISTICS=yCONFIG_XFRM_ESP=yCONFIG_XFRM_IPCOMP=mCONFIG_NET_KEY=y
# CONFIG_NET_KEY_MIGRATE is not setCONFIG_IUCV=yCONFIG_AFIUCV=m
# CONFIG_XDP_SOCKETS is not setCONFIG_INET=y
# CONFIG_IP_MULTICAST is not setCONFIG_IP_ADVANCED_ROUTER=y
# CONFIG_IP_FIB_TRIE_STATS is not setCONFIG_IP_MULTIPLE_TABLES=y
# CONFIG_IP_ROUTE_MULTIPATH is not setCONFIG_IP_ROUTE_VERBOSE=yCONFIG_IP_PNP=yCONFIG_IP_PNP_DHCP=y
# CONFIG_IP_PNP_BOOTP is not setCONFIG_IP_PNP_RARP=yCONFIG_NET_IPIP=m
# CONFIG_NET_IPGRE_DEMUX is not setCONFIG_NET_IP_TUNNEL=y
# CONFIG_SYN_COOKIES is not setCONFIG_NET_IPVTI=mCONFIG_NET_UDP_TUNNEL=yCONFIG_NET_FOU=m
# CONFIG_NET_FOU_IP_TUNNELS is not set
# CONFIG_INET_AH is not setCONFIG_INET_ESP=yCONFIG_INET_ESP_OFFLOAD=y
# CONFIG_INET_ESPINTCP is not setCONFIG_INET_IPCOMP=mCONFIG_INET_TABLE_PERTURB_ORDER=16CONFIG_INET_XFRM_TUNNEL=mCONFIG_INET_TUNNEL=mCONFIG_INET_DIAG=yCONFIG_INET_TCP_DIAG=yCONFIG_INET_UDP_DIAG=y
# CONFIG_INET_RAW_DIAG is not set
# CONFIG_INET_DIAG_DESTROY is not setCONFIG_TCP_CONG_ADVANCED=yCONFIG_TCP_CONG_BIC=yCONFIG_TCP_CONG_CUBIC=m
# CONFIG_TCP_CONG_WESTWOOD is not setCONFIG_TCP_CONG_HTCP=yCONFIG_TCP_CONG_HSTCP=m
# CONFIG_TCP_CONG_HYBLA is not setCONFIG_TCP_CONG_VEGAS=yCONFIG_TCP_CONG_NV=mCONFIG_TCP_CONG_SCALABLE=yCONFIG_TCP_CONG_LP=mCONFIG_TCP_CONG_VENO=mCONFIG_TCP_CONG_YEAH=y
# CONFIG_TCP_CONG_ILLINOIS is not setCONFIG_TCP_CONG_DCTCP=y
# CONFIG_TCP_CONG_CDG is not set
# CONFIG_TCP_CONG_BBR is not set
# CONFIG_DEFAULT_BIC is not set
# CONFIG_DEFAULT_HTCP is not set
# CONFIG_DEFAULT_VEGAS is not setCONFIG_DEFAULT_DCTCP=y
# CONFIG_DEFAULT_RENO is not setCONFIG_DEFAULT_TCP_CONG="dctcp"CONFIG_TCP_MD5SIG=yCONFIG_IPV6=yCONFIG_IPV6_ROUTER_PREF=yCONFIG_IPV6_ROUTE_INFO=y
# CONFIG_IPV6_OPTIMISTIC_DAD is not set
# CONFIG_INET6_AH is not set
# CONFIG_INET6_ESP is not set
# CONFIG_INET6_IPCOMP is not setCONFIG_IPV6_MIP6=yCONFIG_INET6_TUNNEL=m
# CONFIG_IPV6_VTI is not set
# CONFIG_IPV6_SIT is not setCONFIG_IPV6_TUNNEL=mCONFIG_IPV6_FOU=mCONFIG_IPV6_MULTIPLE_TABLES=y
# CONFIG_IPV6_SUBTREES is not set
# CONFIG_IPV6_MROUTE is not setCONFIG_IPV6_SEG6_LWTUNNEL=yCONFIG_IPV6_SEG6_HMAC=yCONFIG_IPV6_SEG6_BPF=yCONFIG_IPV6_RPL_LWTUNNEL=y
# CONFIG_IPV6_IOAM6_LWTUNNEL is not setCONFIG_MPTCP=yCONFIG_INET_MPTCP_DIAG=yCONFIG_MPTCP_IPV6=yCONFIG_NETWORK_SECMARK=y
# CONFIG_NETWORK_PHY_TIMESTAMPING is not set
# CONFIG_NETFILTER is not setCONFIG_BPFILTER=yCONFIG_IP_DCCP=mCONFIG_INET_DCCP_DIAG=m
#
# DCCP CCIDs Configuration
#
# CONFIG_IP_DCCP_CCID2_DEBUG is not setCONFIG_IP_DCCP_CCID3=y
# CONFIG_IP_DCCP_CCID3_DEBUG is not setCONFIG_IP_DCCP_TFRC_LIB=y
# end of DCCP CCIDs Configuration
#
# DCCP Kernel Hacking
#
# CONFIG_IP_DCCP_DEBUG is not set
# end of DCCP Kernel Hacking
CONFIG_IP_SCTP=m
# CONFIG_SCTP_DBG_OBJCNT is not set
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_MD5 is not set
# CONFIG_SCTP_DEFAULT_COOKIE_HMAC_SHA1 is not setCONFIG_SCTP_DEFAULT_COOKIE_HMAC_NONE=yCONFIG_SCTP_COOKIE_HMAC_MD5=yCONFIG_SCTP_COOKIE_HMAC_SHA1=yCONFIG_INET_SCTP_DIAG=mCONFIG_RDS=mCONFIG_RDS_TCP=m
# CONFIG_RDS_DEBUG is not setCONFIG_TIPC=mCONFIG_TIPC_MEDIA_UDP=y
# CONFIG_TIPC_CRYPTO is not setCONFIG_TIPC_DIAG=mCONFIG_ATM=yCONFIG_ATM_CLIP=yCONFIG_ATM_CLIP_NO_ICMP=yCONFIG_ATM_LANE=mCONFIG_ATM_MPOA=yCONFIG_ATM_BR2684=yCONFIG_ATM_BR2684_IPFILTER=yCONFIG_L2TP=y
# CONFIG_L2TP_DEBUGFS is not set
# CONFIG_L2TP_V3 is not setCONFIG_STP=yCONFIG_MRP=yCONFIG_BRIDGE=y
# CONFIG_BRIDGE_IGMP_SNOOPING is not set
# CONFIG_BRIDGE_VLAN_FILTERING is not set
# CONFIG_BRIDGE_MRP is not set
# CONFIG_BRIDGE_CFM is not set
# CONFIG_NET_DSA is not setCONFIG_VLAN_8021Q=y
# CONFIG_VLAN_8021Q_GVRP is not setCONFIG_VLAN_8021Q_MVRP=yCONFIG_LLC=yCONFIG_LLC2=m
# CONFIG_ATALK is not setCONFIG_X25=yCONFIG_LAPB=mCONFIG_PHONET=yCONFIG_6LOWPAN=m
# CONFIG_6LOWPAN_DEBUGFS is not setCONFIG_6LOWPAN_NHC=mCONFIG_6LOWPAN_NHC_DEST=m
# CONFIG_6LOWPAN_NHC_FRAGMENT is not setCONFIG_6LOWPAN_NHC_HOP=m
# CONFIG_6LOWPAN_NHC_IPV6 is not setCONFIG_6LOWPAN_NHC_MOBILITY=mCONFIG_6LOWPAN_NHC_ROUTING=m
# CONFIG_6LOWPAN_NHC_UDP is not setCONFIG_6LOWPAN_GHC_EXT_HDR_HOP=mCONFIG_6LOWPAN_GHC_UDP=mCONFIG_6LOWPAN_GHC_ICMPV6=mCONFIG_6LOWPAN_GHC_EXT_HDR_DEST=m
# CONFIG_6LOWPAN_GHC_EXT_HDR_FRAG is not set
# CONFIG_6LOWPAN_GHC_EXT_HDR_ROUTE is not set
# CONFIG_IEEE802154 is not set
# CONFIG_NET_SCHED is not setCONFIG_DCB=yCONFIG_DNS_RESOLVER=yCONFIG_BATMAN_ADV=m
# CONFIG_BATMAN_ADV_BATMAN_V is not set
# CONFIG_BATMAN_ADV_BLA is not setCONFIG_BATMAN_ADV_DAT=yCONFIG_BATMAN_ADV_NC=y
# CONFIG_BATMAN_ADV_MCAST is not set
# CONFIG_BATMAN_ADV_DEBUG is not set
# CONFIG_BATMAN_ADV_TRACING is not setCONFIG_OPENVSWITCH=y
# CONFIG_VSOCKETS is not setCONFIG_NETLINK_DIAG=mCONFIG_MPLS=yCONFIG_NET_MPLS_GSO=yCONFIG_MPLS_ROUTING=y
# CONFIG_MPLS_IPTUNNEL is not setCONFIG_NET_NSH=y
# CONFIG_HSR is not setCONFIG_NET_SWITCHDEV=yCONFIG_NET_L3_MASTER_DEV=y
# CONFIG_QRTR is not set
# CONFIG_NET_NCSI is not set
# CONFIG_PCPU_DEV_REFCNT is not setCONFIG_MAX_SKB_FRAGS=17CONFIG_RPS=yCONFIG_RFS_ACCEL=yCONFIG_SOCK_RX_QUEUE_MAPPING=yCONFIG_XPS=y
# CONFIG_CGROUP_NET_PRIO is not set
# CONFIG_CGROUP_NET_CLASSID is not setCONFIG_NET_RX_BUSY_POLL=yCONFIG_BQL=yCONFIG_BPF_STREAM_PARSER=yCONFIG_NET_FLOW_LIMIT=y
#
# Network testing
#
# CONFIG_NET_PKTGEN is not set
# CONFIG_NET_DROP_MONITOR is not set
# end of Network testing # end of Networking options
CONFIG_CAN=mCONFIG_CAN_RAW=m
# CONFIG_CAN_BCM is not setCONFIG_CAN_GW=mCONFIG_CAN_J1939=mCONFIG_CAN_ISOTP=mCONFIG_AF_RXRPC=m
# CONFIG_AF_RXRPC_IPV6 is not set
# CONFIG_AF_RXRPC_INJECT_LOSS is not set
# CONFIG_AF_RXRPC_INJECT_RX_DELAY is not set
# CONFIG_AF_RXRPC_DEBUG is not set
# CONFIG_RXKAD is not set
# CONFIG_RXPERF is not setCONFIG_AF_KCM=yCONFIG_STREAM_PARSER=y
# CONFIG_MCTP is not setCONFIG_FIB_RULES=yCONFIG_RFKILL=mCONFIG_RFKILL_INPUT=yCONFIG_NET_9P=m
# CONFIG_NET_9P_FD is not setCONFIG_NET_9P_VIRTIO=m
# CONFIG_NET_9P_DEBUG is not setCONFIG_CAIF=m
# CONFIG_CAIF_DEBUG is not setCONFIG_CAIF_NETDEV=mCONFIG_CAIF_USB=mCONFIG_CEPH_LIB=yCONFIG_CEPH_LIB_PRETTYDEBUG=yCONFIG_CEPH_LIB_USE_DNS_RESOLVER=yCONFIG_NFC=m
# CONFIG_NFC_DIGITAL is not set
# CONFIG_NFC_NCI is not setCONFIG_NFC_HCI=mCONFIG_NFC_SHDLC=y
#
# Near Field Communication (NFC) devices
#CONFIG_NFC_PN533=mCONFIG_NFC_PN532_UART=m
# end of Near Field Communication (NFC) devices
CONFIG_PSAMPLE=m
# CONFIG_NET_IFE is not setCONFIG_LWTUNNEL=y
# CONFIG_LWTUNNEL_BPF is not setCONFIG_DST_CACHE=yCONFIG_GRO_CELLS=yCONFIG_SOCK_VALIDATE_XMIT=yCONFIG_NET_SELFTESTS=mCONFIG_NET_SOCK_MSG=yCONFIG_NET_DEVLINK=yCONFIG_PAGE_POOL=y
# CONFIG_PAGE_POOL_STATS is not setCONFIG_FAILOVER=mCONFIG_ETHTOOL_NETLINK=y
#
# Device Drivers
#CONFIG_HAVE_PCI=y
# CONFIG_PCI is not setCONFIG_PCCARD=yCONFIG_PCMCIA=yCONFIG_PCMCIA_LOAD_CIS=y
#
# PC-card bridges
#
#
# Generic Driver Options
#CONFIG_AUXILIARY_BUS=yCONFIG_UEVENT_HELPER=yCONFIG_UEVENT_HELPER_PATH=""CONFIG_DEVTMPFS=y
# CONFIG_DEVTMPFS_MOUNT is not setCONFIG_DEVTMPFS_SAFE=y
# CONFIG_STANDALONE is not setCONFIG_PREVENT_FIRMWARE_BUILD=y
#
# Firmware loader
#CONFIG_FW_LOADER=yCONFIG_FW_LOADER_DEBUG=yCONFIG_FW_LOADER_PAGED_BUF=yCONFIG_FW_LOADER_SYSFS=yCONFIG_EXTRA_FIRMWARE=""
# CONFIG_FW_LOADER_USER_HELPER is not set
# CONFIG_FW_LOADER_COMPRESS is not setCONFIG_FW_UPLOAD=y
# end of Firmware loader
# CONFIG_ALLOW_DEV_COREDUMP is not setCONFIG_DEBUG_DRIVER=yCONFIG_DEBUG_DEVRES=yCONFIG_DEBUG_TEST_DRIVER_REMOVE=yCONFIG_TEST_ASYNC_DRIVER_PROBE=mCONFIG_SYS_HYPERVISOR=yCONFIG_GENERIC_CPU_AUTOPROBE=yCONFIG_GENERIC_CPU_VULNERABILITIES=yCONFIG_SOC_BUS=y
# CONFIG_FW_DEVLINK_SYNC_STATE_TIMEOUT is not set
# end of Generic Driver Options
#
# Bus devices
#
# CONFIG_MHI_BUS is not setCONFIG_MHI_BUS_EP=y
# end of Bus devices
CONFIG_CONNECTOR=yCONFIG_PROC_EVENTS=y
#
# Firmware Drivers
#
#
# ARM System Control and Management Interface Protocol #
# end of ARM System Control and Management Interface Protocol
# CONFIG_FIRMWARE_MEMMAP is not setCONFIG_GOOGLE_FIRMWARE=y
#
# Tegra firmware driver
#
# end of Tegra firmware driver # end of Firmware Drivers
CONFIG_GNSS=yCONFIG_GNSS_SERIAL=mCONFIG_GNSS_MTK_SERIAL=mCONFIG_GNSS_SIRF_SERIAL=mCONFIG_GNSS_UBX_SERIAL=mCONFIG_MTD=yCONFIG_MTD_TESTS=m
#
# Partition parsers
#
# CONFIG_MTD_AR7_PARTS is not setCONFIG_MTD_CMDLINE_PARTS=mCONFIG_MTD_REDBOOT_PARTS=yCONFIG_MTD_REDBOOT_DIRECTORY_BLOCK=-1CONFIG_MTD_REDBOOT_PARTS_UNALLOCATED=yCONFIG_MTD_REDBOOT_PARTS_READONLY=y
# end of Partition parsers
#
# User Modules And Translation Layers
#
# CONFIG_MTD_OOPS is not set
# CONFIG_MTD_PARTITIONED_MASTER is not set
#
# RAM/ROM/Flash chip drivers
#CONFIG_MTD_CFI=m
# CONFIG_MTD_JEDECPROBE is not setCONFIG_MTD_GEN_PROBE=m
# CONFIG_MTD_CFI_ADV_OPTIONS is not setCONFIG_MTD_MAP_BANK_WIDTH_1=yCONFIG_MTD_MAP_BANK_WIDTH_2=yCONFIG_MTD_MAP_BANK_WIDTH_4=yCONFIG_MTD_CFI_I1=yCONFIG_MTD_CFI_I2=yCONFIG_MTD_CFI_INTELEXT=mCONFIG_MTD_CFI_AMDSTD=m
# CONFIG_MTD_CFI_STAA is not setCONFIG_MTD_CFI_UTIL=mCONFIG_MTD_RAM=yCONFIG_MTD_ROM=yCONFIG_MTD_ABSENT=m
# end of RAM/ROM/Flash chip drivers
#
# NAND
#CONFIG_MTD_NAND_CORE=yCONFIG_MTD_RAW_NAND=m
#
# Raw/parallel NAND flash controllers
#
#
# Misc
#CONFIG_MTD_NAND_NANDSIM=m
#
# ECC engine support
#CONFIG_MTD_NAND_ECC=y
# CONFIG_MTD_NAND_ECC_SW_HAMMING is not setCONFIG_MTD_NAND_ECC_SW_BCH=y
# end of ECC engine support # end of NAND
#
# LPDDR & LPDDR2 PCM memory drivers
#
# CONFIG_MTD_LPDDR is not set
# end of LPDDR & LPDDR2 PCM memory drivers
CONFIG_MTD_UBI=mCONFIG_MTD_UBI_WL_THRESHOLD=4096CONFIG_MTD_UBI_BEB_LIMIT=20CONFIG_MTD_UBI_FASTMAP=yCONFIG_MTD_UBI_GLUEBI=m
# CONFIG_OF is not set
#
# NVME Support
#
# end of NVME Support
#
# Misc devices
#
# CONFIG_DUMMY_IRQ is not setCONFIG_ENCLOSURE_SERVICES=mCONFIG_C2PORT=y
#
# EEPROM support
#
# CONFIG_EEPROM_93CX6 is not set
# end of EEPROM support
#
# Texas Instruments shared transport line discipline #
# end of Texas Instruments shared transport line discipline
#
# Altera FPGA firmware download module (requires I2C) #CONFIG_ECHO=m
# CONFIG_UACCE is not setCONFIG_PVPANIC=y
# end of Misc devices
#
# SCSI device support
#
# end of SCSI device support
CONFIG_NETDEVICES=y
# CONFIG_NET_CORE is not set
# CONFIG_ARCNET is not set
# CONFIG_ATM_DRIVERS is not setCONFIG_CAIF_DRIVERS=y
# CONFIG_CAIF_TTY is not set
# CONFIG_CAIF_VIRTIO is not set
# CONFIG_ETHERNET is not setCONFIG_PHYLIB=m
# CONFIG_FIXED_PHY is not set
#
# MII PHY device drivers
#
# CONFIG_AMD_PHY is not setCONFIG_ADIN_PHY=mCONFIG_ADIN1100_PHY=m
# CONFIG_AQUANTIA_PHY is not setCONFIG_AX88796B_PHY=mCONFIG_BROADCOM_PHY=mCONFIG_BCM54140_PHY=mCONFIG_BCM7XXX_PHY=m
# CONFIG_BCM84881_PHY is not setCONFIG_BCM87XX_PHY=mCONFIG_BCM_NET_PHYLIB=mCONFIG_CICADA_PHY=mCONFIG_CORTINA_PHY=m
# CONFIG_DAVICOM_PHY is not setCONFIG_ICPLUS_PHY=m
# CONFIG_LXT_PHY is not setCONFIG_INTEL_XWAY_PHY=mCONFIG_LSI_ET1011C_PHY=mCONFIG_MARVELL_PHY=mCONFIG_MARVELL_10G_PHY=m
# CONFIG_MARVELL_88X2222_PHY is not setCONFIG_MAXLINEAR_GPHY=mCONFIG_MEDIATEK_GE_PHY=mCONFIG_MICREL_PHY=m
# CONFIG_MICROCHIP_T1S_PHY is not set
# CONFIG_MICROCHIP_PHY is not setCONFIG_MICROCHIP_T1_PHY=m
# CONFIG_MICROSEMI_PHY is not set
# CONFIG_MOTORCOMM_PHY is not setCONFIG_NATIONAL_PHY=m
# CONFIG_NXP_CBTX_PHY is not set
# CONFIG_NXP_C45_TJA11XX_PHY is not setCONFIG_NCN26000_PHY=mCONFIG_QSEMI_PHY=m
# CONFIG_REALTEK_PHY is not setCONFIG_RENESAS_PHY=mCONFIG_ROCKCHIP_PHY=mCONFIG_SMSC_PHY=m
# CONFIG_STE10XP is not set
# CONFIG_TERANETICS_PHY is not set
# CONFIG_DP83822_PHY is not setCONFIG_DP83TC811_PHY=mCONFIG_DP83848_PHY=mCONFIG_DP83867_PHY=m
# CONFIG_DP83869_PHY is not setCONFIG_DP83TD510_PHY=mCONFIG_VITESSE_PHY=mCONFIG_XILINX_GMII2RGMII=mCONFIG_PSE_CONTROLLER=y
# CONFIG_CAN_DEV is not setCONFIG_MDIO_DEVICE=mCONFIG_MDIO_BUS=mCONFIG_MDIO_DEVRES=m
# CONFIG_MDIO_BITBANG is not set
#
# MDIO Multiplexers
#
#
# PCS device drivers
#
# end of PCS device drivers
CONFIG_PPP=y
# CONFIG_PPP_BSDCOMP is not setCONFIG_PPP_DEFLATE=y
# CONFIG_PPP_FILTER is not setCONFIG_PPP_MPPE=yCONFIG_PPP_MULTILINK=y
# CONFIG_PPPOATM is not setCONFIG_PPPOE=m
# CONFIG_PPPOL2TP is not setCONFIG_PPP_ASYNC=mCONFIG_PPP_SYNC_TTY=yCONFIG_SLIP=yCONFIG_SLHC=yCONFIG_SLIP_COMPRESSED=y
# CONFIG_SLIP_SMART is not setCONFIG_SLIP_MODE_SLIP6=y
#
# S/390 network device drivers
#
# CONFIG_CTCM is not setCONFIG_NETIUCV=mCONFIG_SMSGIUCV=m
# CONFIG_SMSGIUCV_EVENT is not set
# end of S/390 network device drivers
#
# Host-side USB support is needed for USB Network Adapter support #
# CONFIG_WAN is not set
#
# Wireless WAN
#
# CONFIG_WWAN is not set
# end of Wireless WAN
CONFIG_NETDEVSIM=mCONFIG_NET_FAILOVER=m
#
# Input device support
#CONFIG_INPUT=mCONFIG_INPUT_FF_MEMLESS=mCONFIG_INPUT_SPARSEKMAP=mCONFIG_INPUT_MATRIXKMAP=m
#
# Userland interfaces
#
# CONFIG_INPUT_MOUSEDEV is not setCONFIG_INPUT_JOYDEV=m
# CONFIG_INPUT_EVDEV is not setCONFIG_INPUT_EVBUG=m
#
# Input Device Drivers
#
# CONFIG_INPUT_KEYBOARD is not setCONFIG_INPUT_MOUSE=yCONFIG_MOUSE_PS2=mCONFIG_MOUSE_PS2_ALPS=y
# CONFIG_MOUSE_PS2_BYD is not set
# CONFIG_MOUSE_PS2_LOGIPS2PP is not setCONFIG_MOUSE_PS2_SYNAPTICS=y
# CONFIG_MOUSE_PS2_CYPRESS is not setCONFIG_MOUSE_PS2_TRACKPOINT=yCONFIG_MOUSE_PS2_ELANTECH=yCONFIG_MOUSE_PS2_SENTELIC=yCONFIG_MOUSE_PS2_TOUCHKIT=y
# CONFIG_MOUSE_PS2_FOCALTECH is not setCONFIG_MOUSE_SERIAL=mCONFIG_MOUSE_VSXXXAA=m
# CONFIG_INPUT_JOYSTICK is not setCONFIG_INPUT_TABLET=yCONFIG_TABLET_SERIAL_WACOM4=m
# CONFIG_INPUT_TOUCHSCREEN is not set
# CONFIG_INPUT_MISC is not setCONFIG_RMI4_CORE=mCONFIG_RMI4_F03=yCONFIG_RMI4_F03_SERIO=mCONFIG_RMI4_2D_SENSOR=yCONFIG_RMI4_F11=yCONFIG_RMI4_F12=yCONFIG_RMI4_F30=y
# CONFIG_RMI4_F34 is not set
# CONFIG_RMI4_F3A is not set
# CONFIG_RMI4_F55 is not set
#
# Hardware I/O ports
#CONFIG_SERIO=y
# CONFIG_SERIO_SERPORT is not setCONFIG_SERIO_LIBPS2=m
# CONFIG_SERIO_RAW is not setCONFIG_SERIO_PS2MULT=yCONFIG_USERIO=y
# CONFIG_GAMEPORT is not set
# end of Hardware I/O ports # end of Input device support
#
# Character devices
#CONFIG_TTY=y
# CONFIG_VT is not setCONFIG_UNIX98_PTYS=y
# CONFIG_LEGACY_PTYS is not setCONFIG_LEGACY_TIOCSTI=y
# CONFIG_LDISC_AUTOLOAD is not setCONFIG_IPWIRELESS=yCONFIG_N_GSM=mCONFIG_NULL_TTY=yCONFIG_HVC_DRIVER=yCONFIG_HVC_IUCV=yCONFIG_RPMSG_TTY=mCONFIG_SERIAL_DEV_BUS=mCONFIG_TTY_PRINTK=yCONFIG_TTY_PRINTK_LEVEL=6CONFIG_VIRTIO_CONSOLE=yCONFIG_HW_RANDOM=m
# CONFIG_HW_RANDOM_VIRTIO is not set
# CONFIG_HW_RANDOM_S390 is not set
# CONFIG_DEVMEM is not set
# CONFIG_HANGCHECK_TIMER is not set
#
# S/390 character device drivers
#CONFIG_TN3270=mCONFIG_TN3270_FS=mCONFIG_TN3215=y
# CONFIG_TN3215_CONSOLE is not setCONFIG_SCLP_TTY=yCONFIG_SCLP_CONSOLE=yCONFIG_SCLP_VT220_TTY=y
# CONFIG_SCLP_VT220_CONSOLE is not setCONFIG_HMC_DRV=yCONFIG_SCLP_OFB=y
# CONFIG_S390_UV_UAPI is not setCONFIG_S390_TAPE=y
#
# S/390 tape hardware support
#CONFIG_S390_TAPE_34XX=mCONFIG_S390_TAPE_3590=y
# CONFIG_VMLOGRDR is not setCONFIG_VMCP=yCONFIG_VMCP_CMA_SIZE=4CONFIG_MONREADER=y
# CONFIG_MONWRITER is not setCONFIG_S390_VMUR=m
# end of Character devices
#
# I2C support
#
# CONFIG_I2C is not set
# end of I2C support
# CONFIG_I3C is not setCONFIG_SPMI=mCONFIG_HSI=yCONFIG_HSI_BOARDINFO=y
#
# HSI controllers
#
#
# HSI clients
#CONFIG_HSI_CHAR=mCONFIG_PPS=m
# CONFIG_PPS_DEBUG is not setCONFIG_NTP_PPS=y
#
# PPS clients support
#
# CONFIG_PPS_CLIENT_KTIMER is not setCONFIG_PPS_CLIENT_LDISC=m
# CONFIG_PPS_CLIENT_GPIO is not set
#
# PPS generators support
#
#
# PTP clock support
#CONFIG_PTP_1588_CLOCK_OPTIONAL=y
#
# Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks. #
# end of PTP clock support
# CONFIG_PINCTRL is not set
# CONFIG_GPIOLIB is not set CONFIG_POWER_RESET=y
# CONFIG_POWER_RESET_RESTART is not set
# CONFIG_POWER_SUPPLY is not set CONFIG_THERMAL=yCONFIG_THERMAL_NETLINK=y CONFIG_THERMAL_STATISTICS=y CONFIG_THERMAL_EMERGENCY_POWEROFF_DELAY_MS=0 # CONFIG_THERMAL_WRITABLE_TRIPS is not set # CONFIG_THERMAL_DEFAULT_GOV_STEP_WISE is not set # CONFIG_THERMAL_DEFAULT_GOV_FAIR_SHARE is not set CONFIG_THERMAL_DEFAULT_GOV_USER_SPACE=y CONFIG_THERMAL_GOV_FAIR_SHARE=y
# CONFIG_THERMAL_GOV_STEP_WISE is not set # CONFIG_THERMAL_GOV_BANG_BANG is not set CONFIG_THERMAL_GOV_USER_SPACE=y
# CONFIG_DEVFREQ_THERMAL is not set
# CONFIG_THERMAL_EMULATION is not set
# CONFIG_WATCHDOG is not set
# CONFIG_REGULATOR is not set CONFIG_RC_CORE=mCONFIG_LIRC=y
# CONFIG_RC_MAP is not set CONFIG_RC_DECODERS=y CONFIG_IR_IMON_DECODER=m
# CONFIG_IR_JVC_DECODER is not set
# CONFIG_IR_MCE_KBD_DECODER is not set CONFIG_IR_NEC_DECODER=m
# CONFIG_IR_RC5_DECODER is not set
# CONFIG_IR_RC6_DECODER is not set CONFIG_IR_RCMM_DECODER=m
# CONFIG_IR_SANYO_DECODER is not set
# CONFIG_IR_SHARP_DECODER is not set
# CONFIG_IR_SONY_DECODER is not set CONFIG_IR_XMP_DECODER=m CONFIG_RC_DEVICES=yCONFIG_IR_SERIAL=m
# CONFIG_IR_SERIAL_TRANSMITTER is not set # CONFIG_RC_LOOPBACK is not set
#
# CEC support
#
# CONFIG_MEDIA_CEC_SUPPORT is not set
# end of CEC support
#
# Graphics support
#
# end of Graphics support
CONFIG_HID_SUPPORT=yCONFIG_HID=m
# CONFIG_HID_BATTERY_STRENGTH is not set
# CONFIG_HIDRAW is not setCONFIG_UHID=mCONFIG_HID_GENERIC=m
#
# Special HID drivers
#
# CONFIG_HID_A4TECH is not set
# CONFIG_HID_ACRUX is not setCONFIG_HID_AUREAL=mCONFIG_HID_BELKIN=mCONFIG_HID_CHERRY=mCONFIG_HID_COUGAR=mCONFIG_HID_MACALLY=mCONFIG_HID_CMEDIA=mCONFIG_HID_CYPRESS=mCONFIG_HID_DRAGONRISE=mCONFIG_DRAGONRISE_FF=yCONFIG_HID_EMS_FF=m
# CONFIG_HID_ELECOM is not setCONFIG_HID_EVISION=m
# CONFIG_HID_EZKEY is not setCONFIG_HID_GEMBIRD=m
# CONFIG_HID_GFRM is not setCONFIG_HID_GLORIOUS=m
# CONFIG_HID_VIVALDI is not set
# CONFIG_HID_KEYTOUCH is not setCONFIG_HID_KYE=mCONFIG_HID_WALTOP=mCONFIG_HID_VIEWSONIC=m
# CONFIG_HID_VRC2 is not set
# CONFIG_HID_XIAOMI is not setCONFIG_HID_GYRATION=m
# CONFIG_HID_ICADE is not set
# CONFIG_HID_ITE is not setCONFIG_HID_JABRA=m
# CONFIG_HID_TWINHAN is not setCONFIG_HID_KENSINGTON=mCONFIG_HID_LCPOWER=m
# CONFIG_HID_LENOVO is not setCONFIG_HID_MAGICMOUSE=m
# CONFIG_HID_MALTRON is not setCONFIG_HID_MAYFLASH=m
# CONFIG_HID_REDRAGON is not setCONFIG_HID_MICROSOFT=m
# CONFIG_HID_MONTEREY is not setCONFIG_HID_MULTITOUCH=m
# CONFIG_HID_NTI is not setCONFIG_HID_ORTEK=mCONFIG_HID_PANTHERLORD=mCONFIG_PANTHERLORD_FF=y
# CONFIG_HID_PETALYNX is not set
# CONFIG_HID_PICOLCD is not set
# CONFIG_HID_PLANTRONICS is not set
# CONFIG_HID_PXRC is not setCONFIG_HID_RAZER=mCONFIG_HID_PRIMAX=m
# CONFIG_HID_SAITEK is not set
# CONFIG_HID_SEMITEK is not set
# CONFIG_HID_SPEEDLINK is not set
# CONFIG_HID_STEAM is not set
# CONFIG_HID_STEELSERIES is not setCONFIG_HID_SUNPLUS=mCONFIG_HID_RMI=mCONFIG_HID_GREENASIA=mCONFIG_GREENASIA_FF=yCONFIG_HID_SMARTJOYPLUS=mCONFIG_SMARTJOYPLUS_FF=yCONFIG_HID_TIVO=mCONFIG_HID_TOPSEED=mCONFIG_HID_TOPRE=mCONFIG_HID_UDRAW_PS3=m
# CONFIG_HID_XINMO is not set
# CONFIG_HID_ZEROPLUS is not set
# CONFIG_HID_ZYDACRON is not set
# CONFIG_HID_ALPS is not set
# end of Special HID drivers
#
# HID-BPF support
#
# end of HID-BPF support
CONFIG_USB_OHCI_LITTLE_ENDIAN=yCONFIG_MEMSTICK=mCONFIG_MEMSTICK_DEBUG=y
#
# MemoryStick drivers
#
# CONFIG_MEMSTICK_UNSAFE_RESUME is not set
#
# MemoryStick Host Controller Drivers
#
# CONFIG_NEW_LEDS is not set
# CONFIG_ACCESSIBILITY is not setCONFIG_DMADEVICES=y
# CONFIG_DMADEVICES_DEBUG is not set
#
# DMA Devices
#CONFIG_DMA_ENGINE=yCONFIG_DMA_VIRTUAL_CHANNELS=mCONFIG_INTEL_IDMA64=m
# CONFIG_QCOM_HIDMA is not set
#
# DMA Clients
#CONFIG_ASYNC_TX_DMA=y
# CONFIG_DMATEST is not set
#
# DMABUF options
#
# CONFIG_SYNC_FILE is not set
# CONFIG_DMABUF_HEAPS is not set
# end of DMABUF options
CONFIG_AUXDISPLAY=y
# CONFIG_CHARLCD_BL_OFF is not setCONFIG_CHARLCD_BL_ON=y
# CONFIG_CHARLCD_BL_FLASH is not set
# CONFIG_UIO is not set
# CONFIG_VFIO is not set
# CONFIG_VIRT_DRIVERS is not setCONFIG_VIRTIO_ANCHOR=yCONFIG_VIRTIO=yCONFIG_VIRTIO_MENU=y
# CONFIG_VIRTIO_VDPA is not set
# CONFIG_VIRTIO_BALLOON is not setCONFIG_VIRTIO_INPUT=mCONFIG_VDPA=y
# CONFIG_VDPA_SIM is not setCONFIG_VDPA_USER=mCONFIG_MLX5_VDPA=yCONFIG_MLX5_VDPA_STEERING_DEBUG=yCONFIG_VHOST_IOTLB=y
# CONFIG_VHOST_MENU is not set
#
# Microsoft Hyper-V guest support
#
# end of Microsoft Hyper-V guest support
# CONFIG_GREYBUS is not set
# CONFIG_COMEDI is not set
# CONFIG_STAGING is not setCONFIG_HAVE_CLK=yCONFIG_HAVE_CLK_PREPARE=yCONFIG_COMMON_CLK=yCONFIG_COMMON_CLK_PWM=mCONFIG_HWSPINLOCK=y
#
# Clock Source drivers
#
# end of Clock Source drivers
CONFIG_MAILBOX=yCONFIG_IOMMU_IOVA=mCONFIG_IOMMU_API=yCONFIG_IOMMU_SUPPORT=y
#
# Generic IOMMU Pagetable Support
#
# end of Generic IOMMU Pagetable Support
# CONFIG_IOMMU_DEBUGFS is not set
# CONFIG_IOMMU_DEFAULT_DMA_STRICT is not setCONFIG_IOMMU_DEFAULT_DMA_LAZY=y
# CONFIG_IOMMU_DEFAULT_PASSTHROUGH is not setCONFIG_IOMMUFD=y
# CONFIG_IOMMUFD_TEST is not set
#
# Remoteproc drivers
#
# CONFIG_REMOTEPROC is not set
# end of Remoteproc drivers
#
# Rpmsg drivers
#CONFIG_RPMSG=yCONFIG_RPMSG_CHAR=y
# CONFIG_RPMSG_CTRL is not setCONFIG_RPMSG_NS=yCONFIG_RPMSG_VIRTIO=y
# end of Rpmsg drivers
#
# SOC (System On Chip) specific Drivers
#
#
# Amlogic SoC drivers
#
# end of Amlogic SoC drivers
#
# Broadcom SoC drivers
#
# end of Broadcom SoC drivers
#
# NXP/Freescale QorIQ SoC drivers
#
# end of NXP/Freescale QorIQ SoC drivers
#
# fujitsu SoC drivers # # end of fujitsu SoC drivers
#
# i.MX SoC drivers
#
# end of i.MX SoC drivers
#
# Enable LiteX SoC Builder specific drivers
#
# end of Enable LiteX SoC Builder specific drivers
CONFIG_WPCM450_SOC=m
#
# Qualcomm SoC drivers
#
# end of Qualcomm SoC drivers
# CONFIG_SOC_TI is not set
#
# Xilinx SoC drivers
#
# end of Xilinx SoC drivers # end of SOC (System On Chip) specific Drivers
CONFIG_PM_DEVFREQ=y
#
# DEVFREQ Governors
#
# CONFIG_DEVFREQ_GOV_SIMPLE_ONDEMAND is not set
# CONFIG_DEVFREQ_GOV_PERFORMANCE is not setCONFIG_DEVFREQ_GOV_POWERSAVE=mCONFIG_DEVFREQ_GOV_USERSPACE=yCONFIG_DEVFREQ_GOV_PASSIVE=m
#
# DEVFREQ Drivers
#CONFIG_PM_DEVFREQ_EVENT=yCONFIG_EXTCON=m
#
# Extcon Device Drivers
#CONFIG_MEMORY=y
# CONFIG_IIO is not setCONFIG_PWM=yCONFIG_PWM_SYSFS=yCONFIG_PWM_DEBUG=yCONFIG_PWM_CLK=y
#
# IRQ chip support
#
# end of IRQ chip support
# CONFIG_RESET_CONTROLLER is not set
#
# PHY Subsystem
#CONFIG_GENERIC_PHY=yCONFIG_PHY_CAN_TRANSCEIVER=m
#
# PHY drivers for Broadcom platforms
#
# end of PHY drivers for Broadcom platforms # end of PHY Subsystem
CONFIG_POWERCAP=y
#
# Performance monitor support
#
# end of Performance monitor support
CONFIG_RAS=y
#
# Android
#
# CONFIG_ANDROID_BINDER_IPC is not set
# end of Android
CONFIG_DAX=mCONFIG_NVMEM=yCONFIG_NVMEM_SYSFS=y
#
# Layout Types
#
# CONFIG_NVMEM_LAYOUT_SL28_VPD is not set
# CONFIG_NVMEM_LAYOUT_ONIE_TLV is not set
# end of Layout Types
CONFIG_NVMEM_SPMI_SDAM=m
#
# HW tracing support
#CONFIG_STM=y
# CONFIG_STM_PROTO_BASIC is not setCONFIG_STM_PROTO_SYS_T=m
# CONFIG_STM_DUMMY is not setCONFIG_STM_SOURCE_CONSOLE=mCONFIG_STM_SOURCE_HEARTBEAT=y
# CONFIG_STM_SOURCE_FTRACE is not set
# end of HW tracing support
# CONFIG_FPGA is not setCONFIG_MULTIPLEXER=m
#
# Multiplexer drivers
#
# end of Multiplexer drivers
CONFIG_PM_OPP=yCONFIG_SIOX=y
# CONFIG_SIOX_BUS_GPIO is not setCONFIG_SLIMBUS=yCONFIG_INTERCONNECT=yCONFIG_COUNTER=y
# CONFIG_MOST is not setCONFIG_PECI=mCONFIG_PECI_CPU=mCONFIG_HTE=y
# end of Device Drivers
#
# File systems
#CONFIG_VALIDATE_FS_PARSER=y CONFIG_FS_POSIX_ACL=yCONFIG_EXPORTFS=y
# CONFIG_EXPORTFS_BLOCK_OPS is not set
# CONFIG_FILE_LOCKING is not set
# CONFIG_FS_ENCRYPTION is not set CONFIG_FS_VERITY=y CONFIG_FS_VERITY_BUILTIN_SIGNATURES=y CONFIG_FSNOTIFY=y
# CONFIG_DNOTIFY is not set
# CONFIG_INOTIFY_USER is not set
# CONFIG_FANOTIFY is not set
# CONFIG_QUOTA is not setCONFIG_AUTOFS4_FS=yCONFIG_AUTOFS_FS=y
# CONFIG_FUSE_FS is not set CONFIG_OVERLAY_FS=m CONFIG_OVERLAY_FS_REDIRECT_DIR=y
# CONFIG_OVERLAY_FS_REDIRECT_ALWAYS_FOLLOW is not set CONFIG_OVERLAY_FS_INDEX=y
# CONFIG_OVERLAY_FS_NFS_EXPORT is not set
# CONFIG_OVERLAY_FS_XINO_AUTO is not set
# CONFIG_OVERLAY_FS_METACOPY is not set
#
# Caches
#CONFIG_NETFS_SUPPORT=mCONFIG_NETFS_STATS=yCONFIG_FSCACHE=m
# CONFIG_FSCACHE_STATS is not setCONFIG_FSCACHE_DEBUG=y
# end of Caches
#
# Pseudo filesystems
#CONFIG_PROC_FS=y
# CONFIG_PROC_KCORE is not setCONFIG_PROC_SYSCTL=yCONFIG_PROC_PAGE_MONITOR=yCONFIG_PROC_CHILDREN=yCONFIG_KERNFS=yCONFIG_SYSFS=yCONFIG_ARCH_SUPPORTS_HUGETLBFS=yCONFIG_HUGETLBFS=yCONFIG_HUGETLB_PAGE=yCONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP=yCONFIG_HUGETLB_PAGE_OPTIMIZE_VMEMMAP_DEFAULT_ON=yCONFIG_MEMFD_CREATE=yCONFIG_ARCH_HAS_GIGANTIC_PAGE=yCONFIG_CONFIGFS_FS=y
# end of Pseudo filesystems
CONFIG_MISC_FILESYSTEMS=yCONFIG_ORANGEFS_FS=m
# CONFIG_ECRYPT_FS is not setCONFIG_JFFS2_FS=mCONFIG_JFFS2_FS_DEBUG=0CONFIG_JFFS2_FS_WRITEBUFFER=y
# CONFIG_JFFS2_FS_WBUF_VERIFY is not set
# CONFIG_JFFS2_SUMMARY is not set
# CONFIG_JFFS2_FS_XATTR is not setCONFIG_JFFS2_COMPRESSION_OPTIONS=y
# CONFIG_JFFS2_ZLIB is not set
# CONFIG_JFFS2_LZO is not setCONFIG_JFFS2_RTIME=yCONFIG_JFFS2_RUBIN=y
# CONFIG_JFFS2_CMODE_NONE is not setCONFIG_JFFS2_CMODE_PRIORITY=y
# CONFIG_JFFS2_CMODE_SIZE is not set
# CONFIG_JFFS2_CMODE_FAVOURLZO is not set
# CONFIG_UBIFS_FS is not setCONFIG_CRAMFS=m
# CONFIG_CRAMFS_MTD is not setCONFIG_ROMFS_FS=mCONFIG_ROMFS_BACKED_BY_MTD=yCONFIG_ROMFS_ON_MTD=yCONFIG_PSTORE=mCONFIG_PSTORE_DEFAULT_KMSG_BYTES=10240
# CONFIG_PSTORE_DEFLATE_COMPRESS is not setCONFIG_PSTORE_LZO_COMPRESS=mCONFIG_PSTORE_LZ4_COMPRESS=mCONFIG_PSTORE_LZ4HC_COMPRESS=mCONFIG_PSTORE_842_COMPRESS=y
# CONFIG_PSTORE_ZSTD_COMPRESS is not setCONFIG_PSTORE_COMPRESS=yCONFIG_PSTORE_LZO_COMPRESS_DEFAULT=y
# CONFIG_PSTORE_LZ4_COMPRESS_DEFAULT is not set
# CONFIG_PSTORE_LZ4HC_COMPRESS_DEFAULT is not set
# CONFIG_PSTORE_842_COMPRESS_DEFAULT is not setCONFIG_PSTORE_COMPRESS_DEFAULT="lzo"
# CONFIG_PSTORE_CONSOLE is not set
# CONFIG_PSTORE_PMSG is not set
# CONFIG_NETWORK_FILESYSTEMS is not setCONFIG_NLS=yCONFIG_NLS_DEFAULT="iso8859-1"CONFIG_NLS_CODEPAGE_437=m
# CONFIG_NLS_CODEPAGE_737 is not set
# CONFIG_NLS_CODEPAGE_775 is not setCONFIG_NLS_CODEPAGE_850=mCONFIG_NLS_CODEPAGE_852=mCONFIG_NLS_CODEPAGE_855=mCONFIG_NLS_CODEPAGE_857=mCONFIG_NLS_CODEPAGE_860=yCONFIG_NLS_CODEPAGE_861=m
# CONFIG_NLS_CODEPAGE_862 is not setCONFIG_NLS_CODEPAGE_863=mCONFIG_NLS_CODEPAGE_864=mCONFIG_NLS_CODEPAGE_865=yCONFIG_NLS_CODEPAGE_866=yCONFIG_NLS_CODEPAGE_869=mCONFIG_NLS_CODEPAGE_936=mCONFIG_NLS_CODEPAGE_950=y
# CONFIG_NLS_CODEPAGE_932 is not setCONFIG_NLS_CODEPAGE_949=yCONFIG_NLS_CODEPAGE_874=m
# CONFIG_NLS_ISO8859_8 is not set
# CONFIG_NLS_CODEPAGE_1250 is not set
# CONFIG_NLS_CODEPAGE_1251 is not setCONFIG_NLS_ASCII=mCONFIG_NLS_ISO8859_1=mCONFIG_NLS_ISO8859_2=m
# CONFIG_NLS_ISO8859_3 is not set
# CONFIG_NLS_ISO8859_4 is not setCONFIG_NLS_ISO8859_5=y
# CONFIG_NLS_ISO8859_6 is not setCONFIG_NLS_ISO8859_7=mCONFIG_NLS_ISO8859_9=yCONFIG_NLS_ISO8859_13=mCONFIG_NLS_ISO8859_14=yCONFIG_NLS_ISO8859_15=y
# CONFIG_NLS_KOI8_R is not set
# CONFIG_NLS_KOI8_U is not setCONFIG_NLS_MAC_ROMAN=yCONFIG_NLS_MAC_CELTIC=yCONFIG_NLS_MAC_CENTEURO=yCONFIG_NLS_MAC_CROATIAN=yCONFIG_NLS_MAC_CYRILLIC=m
# CONFIG_NLS_MAC_GAELIC is not set
# CONFIG_NLS_MAC_GREEK is not setCONFIG_NLS_MAC_ICELAND=y
# CONFIG_NLS_MAC_INUIT is not setCONFIG_NLS_MAC_ROMANIAN=yCONFIG_NLS_MAC_TURKISH=mCONFIG_NLS_UTF8=mCONFIG_DLM=m
# CONFIG_DLM_DEBUG is not setCONFIG_UNICODE=yCONFIG_UNICODE_NORMALIZATION_SELFTEST=yCONFIG_IO_WQ=y
# end of File systems
#
# Security options
#CONFIG_KEYS=yCONFIG_KEYS_REQUEST_CACHE=y
# CONFIG_PERSISTENT_KEYRINGS is not set
# CONFIG_TRUSTED_KEYS is not setCONFIG_ENCRYPTED_KEYS=m
# CONFIG_USER_DECRYPTED_DATA is not set
# CONFIG_KEY_DH_OPERATIONS is not set
# CONFIG_SECURITY_DMESG_RESTRICT is not set
# CONFIG_SECURITYFS is not set CONFIG_HAVE_HARDENED_USERCOPY_ALLOCATOR=y
# CONFIG_HARDENED_USERCOPY is not set CONFIG_FORTIFY_SOURCE=y
# CONFIG_STATIC_USERMODEHELPER is not set
# CONFIG_IMA_SECURE_AND_OR_TRUSTED_BOOT is not set CONFIG_DEFAULT_SECURITY_DAC=y CONFIG_LSM="landlock,lockdown,yama,loadpin,safesetid,integrity,bpf"
#
# Kernel hardening options
#
#
# Memory initialization
#CONFIG_CC_HAS_AUTO_VAR_INIT_PATTERN=yCONFIG_CC_HAS_AUTO_VAR_INIT_ZERO_BARE=yCONFIG_CC_HAS_AUTO_VAR_INIT_ZERO=y
# CONFIG_INIT_STACK_NONE is not set
# CONFIG_INIT_STACK_ALL_PATTERN is not setCONFIG_INIT_STACK_ALL_ZERO=y
# CONFIG_INIT_ON_ALLOC_DEFAULT_ON is not setCONFIG_INIT_ON_FREE_DEFAULT_ON=yCONFIG_CC_HAS_ZERO_CALL_USED_REGS=y
# CONFIG_ZERO_CALL_USED_REGS is not set
# end of Memory initialization
CONFIG_RANDSTRUCT_NONE=y
# end of Kernel hardening options # end of Security options
CONFIG_CRYPTO=y
#
# Crypto core or helper
#CONFIG_CRYPTO_ALGAPI=yCONFIG_CRYPTO_ALGAPI2=yCONFIG_CRYPTO_AEAD=yCONFIG_CRYPTO_AEAD2=yCONFIG_CRYPTO_SKCIPHER=yCONFIG_CRYPTO_SKCIPHER2=yCONFIG_CRYPTO_HASH=yCONFIG_CRYPTO_HASH2=yCONFIG_CRYPTO_RNG=yCONFIG_CRYPTO_RNG2=yCONFIG_CRYPTO_RNG_DEFAULT=yCONFIG_CRYPTO_AKCIPHER2=yCONFIG_CRYPTO_AKCIPHER=yCONFIG_CRYPTO_KPP2=yCONFIG_CRYPTO_KPP=yCONFIG_CRYPTO_ACOMP2=yCONFIG_CRYPTO_MANAGER=yCONFIG_CRYPTO_MANAGER2=yCONFIG_CRYPTO_USER=mCONFIG_CRYPTO_MANAGER_DISABLE_TESTS=yCONFIG_CRYPTO_NULL=yCONFIG_CRYPTO_NULL2=y
# CONFIG_CRYPTO_PCRYPT is not set
# CONFIG_CRYPTO_CRYPTD is not setCONFIG_CRYPTO_AUTHENC=y
# CONFIG_CRYPTO_TEST is not set
# end of Crypto core or helper
#
# Public-key cryptography
#CONFIG_CRYPTO_RSA=y
# CONFIG_CRYPTO_DH is not setCONFIG_CRYPTO_ECC=mCONFIG_CRYPTO_ECDH=m
# CONFIG_CRYPTO_ECDSA is not setCONFIG_CRYPTO_ECRDSA=m
# CONFIG_CRYPTO_SM2 is not setCONFIG_CRYPTO_CURVE25519=y
# end of Public-key cryptography
#
# Block ciphers
#CONFIG_CRYPTO_AES=y
# CONFIG_CRYPTO_AES_TI is not setCONFIG_CRYPTO_ANUBIS=mCONFIG_CRYPTO_ARIA=mCONFIG_CRYPTO_BLOWFISH=yCONFIG_CRYPTO_BLOWFISH_COMMON=yCONFIG_CRYPTO_CAMELLIA=mCONFIG_CRYPTO_CAST_COMMON=mCONFIG_CRYPTO_CAST5=mCONFIG_CRYPTO_CAST6=mCONFIG_CRYPTO_DES=y
# CONFIG_CRYPTO_FCRYPT is not setCONFIG_CRYPTO_KHAZAD=m
# CONFIG_CRYPTO_SEED is not set
# CONFIG_CRYPTO_SERPENT is not set
# CONFIG_CRYPTO_SM4_GENERIC is not set
# CONFIG_CRYPTO_TEA is not setCONFIG_CRYPTO_TWOFISH=yCONFIG_CRYPTO_TWOFISH_COMMON=y
# end of Block ciphers
#
# Length-preserving ciphers and modes
#CONFIG_CRYPTO_ADIANTUM=m
# CONFIG_CRYPTO_ARC4 is not setCONFIG_CRYPTO_CHACHA20=yCONFIG_CRYPTO_CBC=yCONFIG_CRYPTO_CFB=yCONFIG_CRYPTO_CTR=yCONFIG_CRYPTO_CTS=mCONFIG_CRYPTO_ECB=y
# CONFIG_CRYPTO_HCTR2 is not set
# CONFIG_CRYPTO_KEYWRAP is not set
# CONFIG_CRYPTO_LRW is not setCONFIG_CRYPTO_OFB=m
# CONFIG_CRYPTO_PCBC is not setCONFIG_CRYPTO_XTS=mCONFIG_CRYPTO_NHPOLY1305=m
# end of Length-preserving ciphers and modes
#
# AEAD (authenticated encryption with associated data) ciphers #
# CONFIG_CRYPTO_AEGIS128 is not set CONFIG_CRYPTO_CHACHA20POLY1305=m
# CONFIG_CRYPTO_CCM is not setCONFIG_CRYPTO_GCM=yCONFIG_CRYPTO_SEQIV=yCONFIG_CRYPTO_ECHAINIV=yCONFIG_CRYPTO_ESSIV=m
# end of AEAD (authenticated encryption with associated data) ciphers
#
# Hashes, digests, and MACs
#
# CONFIG_CRYPTO_BLAKE2B is not setCONFIG_CRYPTO_CMAC=yCONFIG_CRYPTO_GHASH=yCONFIG_CRYPTO_HMAC=y
# CONFIG_CRYPTO_MD4 is not setCONFIG_CRYPTO_MD5=yCONFIG_CRYPTO_MICHAEL_MIC=mCONFIG_CRYPTO_POLY1305=yCONFIG_CRYPTO_RMD160=mCONFIG_CRYPTO_SHA1=yCONFIG_CRYPTO_SHA256=yCONFIG_CRYPTO_SHA512=yCONFIG_CRYPTO_SHA3=yCONFIG_CRYPTO_SM3=mCONFIG_CRYPTO_SM3_GENERIC=mCONFIG_CRYPTO_STREEBOG=m
# CONFIG_CRYPTO_VMAC is not set
# CONFIG_CRYPTO_WP512 is not setCONFIG_CRYPTO_XCBC=m
# CONFIG_CRYPTO_XXHASH is not set
# end of Hashes, digests, and MACs
#
# CRCs (cyclic redundancy checks)
#CONFIG_CRYPTO_CRC32C=yCONFIG_CRYPTO_CRC32=yCONFIG_CRYPTO_CRCT10DIF=mCONFIG_CRYPTO_CRC64_ROCKSOFT=m
# end of CRCs (cyclic redundancy checks)
#
# Compression
#CONFIG_CRYPTO_DEFLATE=yCONFIG_CRYPTO_LZO=yCONFIG_CRYPTO_842=mCONFIG_CRYPTO_LZ4=mCONFIG_CRYPTO_LZ4HC=m
# CONFIG_CRYPTO_ZSTD is not set
# end of Compression
#
# Random number generation
#
# CONFIG_CRYPTO_ANSI_CPRNG is not setCONFIG_CRYPTO_DRBG_MENU=yCONFIG_CRYPTO_DRBG_HMAC=yCONFIG_CRYPTO_DRBG_HASH=yCONFIG_CRYPTO_DRBG_CTR=yCONFIG_CRYPTO_DRBG=yCONFIG_CRYPTO_JITTERENTROPY=y
# end of Random number generation
#
# Userspace interface
#CONFIG_CRYPTO_USER_API=m
# CONFIG_CRYPTO_USER_API_HASH is not set
# CONFIG_CRYPTO_USER_API_SKCIPHER is not setCONFIG_CRYPTO_USER_API_RNG=mCONFIG_CRYPTO_USER_API_RNG_CAVP=y
# CONFIG_CRYPTO_USER_API_AEAD is not setCONFIG_CRYPTO_USER_API_ENABLE_OBSOLETE=y
# CONFIG_CRYPTO_STATS is not set
# end of Userspace interface
CONFIG_CRYPTO_HASH_INFO=y
#
# Accelerated Cryptographic Algorithms for CPU (s390) #CONFIG_CRYPTO_CRC32_S390=m
# CONFIG_CRYPTO_SHA512_S390 is not set CONFIG_CRYPTO_SHA1_S390=y CONFIG_CRYPTO_SHA256_S390=m CONFIG_CRYPTO_SHA3_256_S390=y CONFIG_CRYPTO_SHA3_512_S390=m CONFIG_CRYPTO_GHASH_S390=y CONFIG_CRYPTO_AES_S390=m CONFIG_CRYPTO_DES_S390=y
# CONFIG_CRYPTO_CHACHA_S390 is not set
# end of Accelerated Cryptographic Algorithms for CPU (s390)
# CONFIG_CRYPTO_HW is not setCONFIG_ASYMMETRIC_KEY_TYPE=yCONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=yCONFIG_X509_CERTIFICATE_PARSER=yCONFIG_PKCS8_PRIVATE_KEY_PARSER=mCONFIG_PKCS7_MESSAGE_PARSER=yCONFIG_PKCS7_TEST_KEY=mCONFIG_SIGNED_PE_FILE_VERIFICATION=y
# CONFIG_FIPS_SIGNATURE_SELFTEST is not set
#
# Certificates for signature checking
#CONFIG_SYSTEM_TRUSTED_KEYRING=yCONFIG_SYSTEM_TRUSTED_KEYS=""
# CONFIG_SYSTEM_EXTRA_CERTIFICATE is not setCONFIG_SECONDARY_TRUSTED_KEYRING=y
# CONFIG_SYSTEM_BLACKLIST_KEYRING is not set
# end of Certificates for signature checking
CONFIG_BINARY_PRINTF=y
#
# Library routines
#CONFIG_PACKING=yCONFIG_BITREVERSE=yCONFIG_GENERIC_STRNCPY_FROM_USER=yCONFIG_GENERIC_STRNLEN_USER=yCONFIG_GENERIC_NET_UTILS=yCONFIG_CORDIC=yCONFIG_PRIME_NUMBERS=yCONFIG_RATIONAL=yCONFIG_ARCH_USE_CMPXCHG_LOCKREF=yCONFIG_ARCH_USE_SYM_ANNOTATIONS=y
#
# Crypto library routines
#CONFIG_CRYPTO_LIB_UTILS=yCONFIG_CRYPTO_LIB_AES=yCONFIG_CRYPTO_LIB_ARC4=yCONFIG_CRYPTO_LIB_GF128MUL=yCONFIG_CRYPTO_LIB_BLAKE2S_GENERIC=yCONFIG_CRYPTO_LIB_CHACHA_GENERIC=y
# CONFIG_CRYPTO_LIB_CHACHA is not setCONFIG_CRYPTO_LIB_CURVE25519_GENERIC=y
# CONFIG_CRYPTO_LIB_CURVE25519 is not setCONFIG_CRYPTO_LIB_DES=yCONFIG_CRYPTO_LIB_POLY1305_RSIZE=1CONFIG_CRYPTO_LIB_POLY1305_GENERIC=y
# CONFIG_CRYPTO_LIB_POLY1305 is not set
# CONFIG_CRYPTO_LIB_CHACHA20POLY1305 is not setCONFIG_CRYPTO_LIB_SHA1=yCONFIG_CRYPTO_LIB_SHA256=y
# end of Crypto library routines
CONFIG_CRC_CCITT=yCONFIG_CRC16=y
# CONFIG_CRC_T10DIF is not setCONFIG_CRC64_ROCKSOFT=mCONFIG_CRC_ITU_T=yCONFIG_CRC32=yCONFIG_CRC32_SELFTEST=y
# CONFIG_CRC32_SLICEBY8 is not set
# CONFIG_CRC32_SLICEBY4 is not setCONFIG_CRC32_SARWATE=y
# CONFIG_CRC32_BIT is not setCONFIG_CRC64=m
# CONFIG_CRC4 is not setCONFIG_CRC7=mCONFIG_LIBCRC32C=yCONFIG_CRC8=mCONFIG_XXHASH=y
# CONFIG_RANDOM32_SELFTEST is not setCONFIG_842_COMPRESS=mCONFIG_842_DECOMPRESS=mCONFIG_ZLIB_INFLATE=yCONFIG_ZLIB_DEFLATE=yCONFIG_ZLIB_DFLTCC=yCONFIG_LZO_COMPRESS=yCONFIG_LZO_DECOMPRESS=yCONFIG_LZ4_COMPRESS=mCONFIG_LZ4HC_COMPRESS=mCONFIG_LZ4_DECOMPRESS=mCONFIG_XZ_DEC=mCONFIG_XZ_DEC_X86=yCONFIG_XZ_DEC_POWERPC=y
# CONFIG_XZ_DEC_IA64 is not setCONFIG_XZ_DEC_ARM=yCONFIG_XZ_DEC_ARMTHUMB=y
# CONFIG_XZ_DEC_SPARC is not set
# CONFIG_XZ_DEC_MICROLZMA is not setCONFIG_XZ_DEC_BCJ=yCONFIG_XZ_DEC_TEST=mCONFIG_GENERIC_ALLOCATOR=yCONFIG_BCH=yCONFIG_INTERVAL_TREE=yCONFIG_INTERVAL_TREE_SPAN_ITER=yCONFIG_ASSOCIATIVE_ARRAY=yCONFIG_HAS_DMA=yCONFIG_DMA_OPS=yCONFIG_NEED_DMA_MAP_STATE=yCONFIG_ARCH_DMA_ADDR_T_64BIT=yCONFIG_ARCH_HAS_FORCE_DMA_UNENCRYPTED=yCONFIG_SWIOTLB=y
# CONFIG_DMA_CMA is not setCONFIG_DMA_API_DEBUG=yCONFIG_DMA_API_DEBUG_SG=yCONFIG_DMA_MAP_BENCHMARK=yCONFIG_SGL_ALLOC=y
# CONFIG_FORCE_NR_CPUS is not setCONFIG_CPU_RMAP=yCONFIG_DQL=yCONFIG_GLOB=yCONFIG_GLOB_SELFTEST=mCONFIG_NLATTR=yCONFIG_CLZ_TAB=yCONFIG_IRQ_POLL=yCONFIG_MPILIB=yCONFIG_OID_REGISTRY=yCONFIG_HAVE_GENERIC_VDSO=yCONFIG_GENERIC_GETTIMEOFDAY=yCONFIG_GENERIC_VDSO_TIME_NS=yCONFIG_ARCH_STACKWALK=yCONFIG_STACKDEPOT=yCONFIG_REF_TRACKER=y
# end of Library routines
#
# Kernel hacking
#
#
# printk and dmesg options # # CONFIG_PRINTK_TIME is not set # CONFIG_PRINTK_CALLER is not set CONFIG_STACKTRACE_BUILD_ID=y CONFIG_CONSOLE_LOGLEVEL_DEFAULT=7 CONFIG_CONSOLE_LOGLEVEL_QUIET=4 CONFIG_MESSAGE_LOGLEVEL_DEFAULT=4 CONFIG_DYNAMIC_DEBUG=y CONFIG_DYNAMIC_DEBUG_CORE=y CONFIG_SYMBOLIC_ERRNAME=y # CONFIG_DEBUG_BUGVERBOSE is not set # end of printk and dmesg options
CONFIG_DEBUG_KERNEL=yCONFIG_DEBUG_MISC=y
#
# Compile-time checks and compiler options
#CONFIG_DEBUG_INFO=y CONFIG_AS_HAS_NON_CONST_LEB128=y
# CONFIG_DEBUG_INFO_NONE is not set
# CONFIG_DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT is not set # CONFIG_DEBUG_INFO_DWARF4 is not set CONFIG_DEBUG_INFO_DWARF5=y CONFIG_DEBUG_INFO_REDUCED=y CONFIG_DEBUG_INFO_COMPRESSED_NONE=y
# CONFIG_DEBUG_INFO_COMPRESSED_ZLIB is not set CONFIG_DEBUG_INFO_SPLIT=y CONFIG_PAHOLE_HAS_SPLIT_BTF=y CONFIG_PAHOLE_HAS_LANG_EXCLUDE=y CONFIG_GDB_SCRIPTS=yCONFIG_FRAME_WARN=2048
# CONFIG_STRIP_ASM_SYMS is not set
# CONFIG_READABLE_ASM is not set
# CONFIG_HEADERS_INSTALL is not set CONFIG_DEBUG_SECTION_MISMATCH=y CONFIG_SECTION_MISMATCH_WARN_ONLY=y
# CONFIG_DEBUG_FORCE_FUNCTION_ALIGN_64B is not set # CONFIG_VMLINUX_MAP is not set
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
# end of Compile-time checks and compiler options
#
# Generic Kernel Debugging Instruments
#CONFIG_MAGIC_SYSRQ=yCONFIG_MAGIC_SYSRQ_DEFAULT_ENABLE=0x1
# CONFIG_MAGIC_SYSRQ_SERIAL is not setCONFIG_DEBUG_FS=y
# CONFIG_DEBUG_FS_ALLOW_ALL is not set
# CONFIG_DEBUG_FS_DISALLOW_MOUNT is not setCONFIG_DEBUG_FS_ALLOW_NONE=yCONFIG_ARCH_HAS_UBSAN_SANITIZE_ALL=y
# CONFIG_UBSAN is not setCONFIG_HAVE_ARCH_KCSAN=yCONFIG_HAVE_KCSAN_COMPILER=yCONFIG_KCSAN=y
# CONFIG_KCSAN_VERBOSE is not setCONFIG_KCSAN_SELFTEST=yCONFIG_KCSAN_EARLY_ENABLE=yCONFIG_KCSAN_NUM_WATCHPOINTS=64CONFIG_KCSAN_UDELAY_TASK=80CONFIG_KCSAN_UDELAY_INTERRUPT=20CONFIG_KCSAN_DELAY_RANDOMIZE=yCONFIG_KCSAN_SKIP_WATCH=4000CONFIG_KCSAN_SKIP_WATCH_RANDOMIZE=yCONFIG_KCSAN_INTERRUPT_WATCHER=yCONFIG_KCSAN_REPORT_ONCE_IN_MS=3000CONFIG_KCSAN_REPORT_RACE_UNKNOWN_ORIGIN=yCONFIG_KCSAN_STRICT=y
# CONFIG_KCSAN_WEAK_MEMORY is not set
# end of Generic Kernel Debugging Instruments
#
# Networking Debugging
#CONFIG_NET_DEV_REFCNT_TRACKER=y
# CONFIG_NET_NS_REFCNT_TRACKER is not set
# CONFIG_DEBUG_NET is not set
# end of Networking Debugging
#
# Memory Debugging
#CONFIG_PAGE_EXTENSION=y
# CONFIG_DEBUG_PAGEALLOC is not setCONFIG_SLUB_DEBUG=y
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_PAGE_OWNER is not set
# CONFIG_PAGE_POISONING is not setCONFIG_DEBUG_PAGE_REF=y
# CONFIG_DEBUG_RODATA_TEST is not setCONFIG_ARCH_HAS_DEBUG_WX=yCONFIG_DEBUG_WX=yCONFIG_GENERIC_PTDUMP=yCONFIG_PTDUMP_CORE=y
# CONFIG_PTDUMP_DEBUGFS is not setCONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_PER_VMA_LOCK_STATS is not set
# CONFIG_DEBUG_OBJECTS is not setCONFIG_SHRINKER_DEBUG=y
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_SCHED_STACK_END_CHECK is not setCONFIG_ARCH_HAS_DEBUG_VM_PGTABLE=yCONFIG_DEBUG_VM_IRQSOFF=yCONFIG_DEBUG_VM=yCONFIG_DEBUG_VM_MAPLE_TREE=y
# CONFIG_DEBUG_VM_RB is not setCONFIG_DEBUG_VM_PGFLAGS=yCONFIG_DEBUG_VM_PGTABLE=y
# CONFIG_DEBUG_MEMORY_INIT is not setCONFIG_MEMORY_NOTIFIER_ERROR_INJECT=m
# CONFIG_DEBUG_PER_CPU_MAPS is not setCONFIG_HAVE_ARCH_KASAN=yCONFIG_HAVE_ARCH_KASAN_VMALLOC=yCONFIG_CC_HAS_KASAN_GENERIC=yCONFIG_CC_HAS_WORKING_NOSANITIZE_ADDRESS=y
# CONFIG_KASAN is not setCONFIG_HAVE_ARCH_KFENCE=y
# CONFIG_KFENCE is not set
# end of Memory Debugging
CONFIG_DEBUG_SHIRQ=y
#
# Debug Oops, Lockups and Hangs
#CONFIG_PANIC_ON_OOPS=yCONFIG_PANIC_ON_OOPS_VALUE=1CONFIG_PANIC_TIMEOUT=0CONFIG_DETECT_HUNG_TASK=yCONFIG_DEFAULT_HUNG_TASK_TIMEOUT=120CONFIG_BOOTPARAM_HUNG_TASK_PANIC=y
# CONFIG_WQ_WATCHDOG is not setCONFIG_TEST_LOCKUP=m
# end of Debug Oops, Lockups and Hangs
#
# Scheduler Debugging
#CONFIG_SCHED_DEBUG=yCONFIG_SCHED_INFO=yCONFIG_SCHEDSTATS=y
# end of Scheduler Debugging
CONFIG_DEBUG_TIMEKEEPING=y
#
# Lock Debugging (spinlocks, mutexes, etc...)
#CONFIG_LOCK_DEBUGGING_SUPPORT=yCONFIG_PROVE_LOCKING=y
# CONFIG_PROVE_RAW_LOCK_NESTING is not setCONFIG_LOCK_STAT=yCONFIG_DEBUG_RT_MUTEXES=yCONFIG_DEBUG_SPINLOCK=yCONFIG_DEBUG_MUTEXES=yCONFIG_DEBUG_WW_MUTEX_SLOWPATH=yCONFIG_DEBUG_RWSEMS=yCONFIG_DEBUG_LOCK_ALLOC=yCONFIG_LOCKDEP=yCONFIG_LOCKDEP_BITS=15CONFIG_LOCKDEP_CHAINS_BITS=16CONFIG_LOCKDEP_STACK_TRACE_BITS=19CONFIG_LOCKDEP_STACK_TRACE_HASH_BITS=14CONFIG_LOCKDEP_CIRCULAR_QUEUE_BITS=12CONFIG_DEBUG_LOCKDEP=yCONFIG_DEBUG_ATOMIC_SLEEP=yCONFIG_DEBUG_LOCKING_API_SELFTESTS=y
# CONFIG_LOCK_TORTURE_TEST is not setCONFIG_WW_MUTEX_SELFTEST=y
# CONFIG_SCF_TORTURE_TEST is not set
# CONFIG_CSD_LOCK_WAIT_DEBUG is not set
# end of Lock Debugging (spinlocks, mutexes, etc...)
CONFIG_TRACE_IRQFLAGS=yCONFIG_DEBUG_IRQFLAGS=yCONFIG_STACKTRACE=yCONFIG_WARN_ALL_UNSEEDED_RANDOM=yCONFIG_DEBUG_KOBJECT=y
#
# Debug kernel data structures
#CONFIG_DEBUG_LIST=y
# CONFIG_DEBUG_PLIST is not setCONFIG_DEBUG_SG=yCONFIG_DEBUG_NOTIFIERS=y
# CONFIG_BUG_ON_DATA_CORRUPTION is not setCONFIG_DEBUG_MAPLE_TREE=y
# end of Debug kernel data structures
CONFIG_DEBUG_CREDENTIALS=y
#
# RCU Debugging
#CONFIG_PROVE_RCU=y
# CONFIG_PROVE_RCU_LIST is not setCONFIG_TORTURE_TEST=y
# CONFIG_RCU_SCALE_TEST is not set
# CONFIG_RCU_TORTURE_TEST is not setCONFIG_RCU_REF_SCALE_TEST=yCONFIG_RCU_CPU_STALL_TIMEOUT=21CONFIG_RCU_EXP_CPU_STALL_TIMEOUT=0CONFIG_RCU_CPU_STALL_CPUTIME=yCONFIG_RCU_TRACE=y
# CONFIG_RCU_EQS_DEBUG is not set
# end of RCU Debugging
CONFIG_DEBUG_WQ_FORCE_RR_CPU=yCONFIG_CPU_HOTPLUG_STATE_CONTROL=y
# CONFIG_LATENCYTOP is not setCONFIG_DEBUG_CGROUP_REF=yCONFIG_NOP_TRACER=yCONFIG_HAVE_RETHOOK=yCONFIG_RETHOOK=yCONFIG_HAVE_FUNCTION_TRACER=yCONFIG_HAVE_FUNCTION_GRAPH_TRACER=yCONFIG_HAVE_DYNAMIC_FTRACE=yCONFIG_HAVE_DYNAMIC_FTRACE_WITH_REGS=yCONFIG_HAVE_DYNAMIC_FTRACE_WITH_DIRECT_CALLS=yCONFIG_HAVE_DYNAMIC_FTRACE_WITH_ARGS=yCONFIG_HAVE_FTRACE_MCOUNT_RECORD=yCONFIG_HAVE_SYSCALL_TRACEPOINTS=yCONFIG_HAVE_FENTRY=yCONFIG_HAVE_NOP_MCOUNT=yCONFIG_TRACE_CLOCK=yCONFIG_RING_BUFFER=yCONFIG_EVENT_TRACING=yCONFIG_CONTEXT_SWITCH_TRACER=yCONFIG_PREEMPTIRQ_TRACEPOINTS=yCONFIG_TRACING=yCONFIG_TRACING_SUPPORT=y
# CONFIG_FTRACE is not set
# CONFIG_SAMPLES is not setCONFIG_HAVE_SAMPLE_FTRACE_DIRECT=yCONFIG_HAVE_SAMPLE_FTRACE_DIRECT_MULTI=yCONFIG_ARCH_HAS_DEVMEM_IS_ALLOWED=y
#
# s390 Debugging # CONFIG_EARLY_PRINTK=y CONFIG_DEBUG_ENTRY=y CONFIG_CIO_INJECT=y # end of s390 Debugging
#
# Kernel Testing and Coverage
#
# CONFIG_KUNIT is not set CONFIG_NOTIFIER_ERROR_INJECTION=y CONFIG_NETDEV_NOTIFIER_ERROR_INJECT=y
# CONFIG_FUNCTION_ERROR_INJECTION is not set CONFIG_FAULT_INJECTION=y
# CONFIG_FAILSLAB is not set
# CONFIG_FAIL_PAGE_ALLOC is not set CONFIG_FAULT_INJECTION_USERCOPY=y
# CONFIG_FAIL_FUTEX is not set CONFIG_FAULT_INJECTION_DEBUG_FS=y
# CONFIG_FAULT_INJECTION_CONFIGFS is not set # CONFIG_FAULT_INJECTION_STACKTRACE_FILTER is not set CONFIG_ARCH_HAS_KCOV=y CONFIG_CC_HAS_SANCOV_TRACE_PC=yCONFIG_KCOV=y
# CONFIG_KCOV_ENABLE_COMPARISONS is not set CONFIG_KCOV_INSTRUMENT_ALL=y CONFIG_KCOV_IRQ_AREA_SIZE=0x40000 CONFIG_RUNTIME_TESTING_MENU=y CONFIG_TEST_DHRY=y
# CONFIG_LKDTM is not set
# CONFIG_TEST_MIN_HEAP is not set
# CONFIG_TEST_DIV64 is not set
# CONFIG_BACKTRACE_SELF_TEST is not set
# CONFIG_TEST_REF_TRACKER is not set
# CONFIG_RBTREE_TEST is not set
# CONFIG_REED_SOLOMON_TEST is not set CONFIG_INTERVAL_TREE_TEST=y CONFIG_PERCPU_TEST=m CONFIG_ATOMIC64_SELFTEST=y
# CONFIG_TEST_HEXDUMP is not set CONFIG_STRING_SELFTEST=y
# CONFIG_TEST_STRING_HELPERS is not set CONFIG_TEST_KSTRTOX=mCONFIG_TEST_PRINTF=m
# CONFIG_TEST_SCANF is not set CONFIG_TEST_BITMAP=yCONFIG_TEST_UUID=mCONFIG_TEST_XARRAY=mCONFIG_TEST_MAPLE_TREE=m
# CONFIG_TEST_RHASHTABLE is not set CONFIG_TEST_IDA=mCONFIG_TEST_LKM=mCONFIG_TEST_BITOPS=m
# CONFIG_TEST_VMALLOC is not set CONFIG_TEST_USER_COPY=m
# CONFIG_TEST_BPF is not set CONFIG_TEST_BLACKHOLE_DEV=m CONFIG_FIND_BIT_BENCHMARK=m CONFIG_TEST_FIRMWARE=y
# CONFIG_TEST_SYSCTL is not set
# CONFIG_TEST_UDELAY is not set
# CONFIG_TEST_STATIC_KEYS is not set CONFIG_TEST_DYNAMIC_DEBUG=m CONFIG_TEST_MEMCAT_P=m
# CONFIG_TEST_MEMINIT is not set
# CONFIG_TEST_FREE_PAGES is not set
# end of Kernel Testing and Coverage
#
# Rust hacking
#
# end of Rust hacking # end of Kernel hacking
Christian Brauner
maintainerQuoted 59 lines · aloktiagi
Introduce a mechanism to replace a file linked in the epoll interface with a new file.
eventpoll_replace()finds all instances of the file to be replaced and replaces them with the new file and the interested events.Signed-off-by aloktiagi <[email protected]>---
Changes in v6:
- incorporate latest changes that get rid of the global epmutex lock.Changes in v5:
- address review comments and move the call to replace old file in each subsystem (epoll,io_uring, etc.) outside the fdtable helpers likereplace_fd().Changes in v4:
- address review comment to remove the redundanteventpoll_replace()function.
- removed an extra empty line introduced ininclude/linux/file.hChanges in v3:
- address review comment and iterate over the file table while holding thespin_lock(&files->file_lock). - address review comment and call filp_close() outside the spin_lock(&files->file_lock). --- fs/eventpoll.c | 76 +++++++++++++++++++++++++++++++++++++++ include/linux/eventpoll.h | 8 +++++ 2 files changed, 84 insertions(+)fs/eventpoll.c +21
-0@@ -973,6 +973,82 @@ void eventpoll_release_file(struct file *file)spin_unlock (&file->f_lock); } +static int ep_insert (struct eventpoll *ep,const struct epoll_event *event, +struct file *tfile,int fd,int full_check); + +/* +* This is called from eventpoll_replace() to replace a linked file in the epoll +* interface with a new file received from another process. This is useful in +* cases where a process is trying to install a new file for an existing one +* that is linked in the epoll interface +*/ +int eventpoll_replace_file (struct file *toreplace,struct file *file,int tfd) +{ +struct file *to_remove = toreplace; +struct epoll_event event; +struct hlist_node *next; +struct eventpoll *ep; +struct epitem *epi; +int error =0 ; +bool dispose; +int fd; + +if (!file_can_poll (file))
fs/eventpoll.c void eventpoll_release_file(struct file *file) · line 1006
Quoted 10 lines
fs/eventpoll.c +10
-0+return 0 ; + +spin_lock (&toreplace->f_lock); +if (unlikely (!toreplace->f_ep)) { +spin_unlock (&toreplace->f_lock); +return 0 ; + } +hlist_for_each_entry_safe (epi, next, toreplace->f_ep, fllink) { + ep = epi->ep; +mutex_lock (&ep->mtx);
Afaict, you're under a spinlock and you're acquiring a mutex. The spinlock can't sleep (on non-rt kernels at least) but the mutex can.
fs/eventpoll.c void eventpoll_release_file(struct file *file) · line 1017
Quoted 11 lines
fs/eventpoll.c +11
-0+ fd = epi->ffd.fd; +if (fd != tfd) { +mutex_unlock (&ep->mtx); +continue ; + } + event = epi->event; + error =ep_insert (ep, &event, file, fd,1 ); +mutex_unlock (&ep->mtx); +if (error !=0 ) { +break ; + }
nit: we don't do { } around single lines.
Quoted 65 lines · Christian Brauner
Quoted 64 lines · aloktiagi
Introduce a mechanism to replace a file linked in the epoll interface with a new file.
eventpoll_replace()finds all instances of the file to be replaced and replaces them with the new file and the interested events.Signed-off-by aloktiagi <[email protected]>---
Changes in v6:
- incorporate latest changes that get rid of the global epmutex lock.Changes in v5:
- address review comments and move the call to replace old file in each subsystem (epoll,io_uring, etc.) outside the fdtable helpers likereplace_fd().Changes in v4:
- address review comment to remove the redundanteventpoll_replace()function.
- removed an extra empty line introduced ininclude/linux/file.hChanges in v3:
- address review comment and iterate over the file table while holding thespin_lock(&files->file_lock). - address review comment and call filp_close() outside the spin_lock(&files->file_lock). --- fs/eventpoll.c | 76 +++++++++++++++++++++++++++++++++++++++ include/linux/eventpoll.h | 8 +++++ 2 files changed, 84 insertions(+)fs/eventpoll.c +26
-0@@ -973,6 +973,82 @@ void eventpoll_release_file(struct file *file)spin_unlock (&file->f_lock); } +static int ep_insert (struct eventpoll *ep,const struct epoll_event *event, +struct file *tfile,int fd,int full_check); + +/* +* This is called from eventpoll_replace() to replace a linked file in the epoll +* interface with a new file received from another process. This is useful in +* cases where a process is trying to install a new file for an existing one +* that is linked in the epoll interface +*/ +int eventpoll_replace_file (struct file *toreplace,struct file *file,int tfd) +{ +struct file *to_remove = toreplace; +struct epoll_event event; +struct hlist_node *next; +struct eventpoll *ep; +struct epitem *epi; +int error =0 ; +bool dispose; +int fd; + +if (!file_can_poll (file)) +return 0 ; + +spin_lock (&toreplace->f_lock); +if (unlikely (!toreplace->f_ep)) { +spin_unlock (&toreplace->f_lock);
Quoted 9 lines
fs/eventpoll.c void eventpoll_release_file(struct file *file) · line 1006
Quoted 5 lines
fs/eventpoll.c +5
-0+return 0 ; + } +hlist_for_each_entry_safe (epi, next, toreplace->f_ep, fllink) { + ep = epi->ep; +mutex_lock (&ep->mtx);Afaict, you're under a spinlock and you're acquiring a mutex. The spinlock can't sleep (on non-rt kernels at least) but the mutex can.
thank you. I'll address this in another way in the next patch series. Please let me know of your opinion on how it can be achieved differently.
Quoted 5 lines
Quoted 5 lines
fs/eventpoll.c +5
-0+ fd = epi->ffd.fd; +if (fd != tfd) { +mutex_unlock (&ep->mtx); +continue ; + }
Quoted 8 lines
fs/eventpoll.c void eventpoll_release_file(struct file *file) · line 1017
Quoted 6 lines
fs/eventpoll.c +6
-0+ event = epi->event; + error =ep_insert (ep, &event, file, fd,1 ); +mutex_unlock (&ep->mtx); +if (error !=0 ) { +break ; + }nit: we don't do { } around single lines.
will fix this in the next series.
fs/eventpoll.c void eventpoll_release_file(struct file *file) · line 985
Quoted 7 lines · aloktiagi
fs/eventpoll.c +7
-0+/* +* This is called from eventpoll_replace() to replace a linked file in the epoll +* interface with a new file received from another process. This is useful in +* cases where a process is trying to install a new file for an existing one +* that is linked in the epoll interface +*/ +int eventpoll_replace_file (struct file *toreplace,struct file *file,int tfd)
Functions do not control where they are called from. Just take that clause out:
/*
* Replace a linked file in the epoll interface with a new file received
* from another process. This allows a process to
* install a new file for an existing one that is linked in the epoll
* interface
*/
But, erm, aren't those two sentences basically saying the same thing? So simplify again:
/*
* Replace a linked file in the epoll interface with a new file */
Quoted 5 lines
include/linux/eventpoll.h +0
-0
include/linux/eventpoll.h struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long t · line 34
Quoted 10 lines
include/linux/eventpoll.h +7
-0@@ -25,6 +25,14 @@ struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long t/* Used to release the epoll bits inside the "struct file" */ void eventpoll_release_file (struct file *file); +/* +* This is called from fs/file.c:do_replace() to replace a linked file in the +* epoll interface with a new file received from another process. This is useful +* in cases where a process is trying to install a new file for an existing one +* that is linked in the epoll interface +*/ +int eventpoll_replace_file (struct file *toreplace,struct file *file,int tfd);
No need to repeat the comment again. Just delete it here.
Quoted 19 lines · Matthew Wilcox
fs/eventpoll.c void eventpoll_release_file(struct file *file) · line 985
Quoted 7 lines · aloktiagi
fs/eventpoll.c +7
-0+/* +* This is called from eventpoll_replace() to replace a linked file in the epoll +* interface with a new file received from another process. This is useful in +* cases where a process is trying to install a new file for an existing one +* that is linked in the epoll interface +*/ +int eventpoll_replace_file (struct file *toreplace,struct file *file,int tfd)Functions do not control where they are called from. Just take that clause out:
/*
* Replace a linked file in the epoll interface with a new file received
* from another process. This allows a process to
* install a new file for an existing one that is linked in the epoll
* interface
*/
Quoted 7 lines
But, erm, aren't those two sentences basically saying the same thing? So simplify again:
/*
* Replace a linked file in the epoll interface with a new file */
thank you for pointing this out. I'll address this in the next version.
Quoted 8 lines
Quoted 8 lines
include/linux/eventpoll.h +0
-0@@ -25,6 +25,14 @@ struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long t/* Used to release the epoll bits inside the "struct file" */ void eventpoll_release_file (struct file *file);
Quoted 9 lines
include/linux/eventpoll.h struct file *get_epoll_tfile_raw_ptr(struct file *file, int tfd, unsigned long t · line 34
Quoted 7 lines
include/linux/eventpoll.h +7
-0+/* +* This is called from fs/file.c:do_replace() to replace a linked file in the +* epoll interface with a new file received from another process. This is useful +* in cases where a process is trying to install a new file for an existing one +* that is linked in the epoll interface +*/ +int eventpoll_replace_file (struct file *toreplace,struct file *file,int tfd);No need to repeat the comment again. Just delete it here.
thank you. I'll update this in the next version.