[PATCH for-next v3] selftests/zram: gitignore output file

2024-11-21 Thread Li Zhijian
After `make run_tests`, the git status complains: Untracked files: (use "git add ..." to include in what will be committed) zram/err.log This file will be cleaned up when execute 'make clean' Cc: Shuah Khan Signed-off-by: Li Zhijian --- Hello, Cover letter is here. This patch set a

[PATCH for-next v3] selftests/cpufreq: gitignore output files and clean them in make clean

2024-11-21 Thread Li Zhijian
After `make run_tests`, the git status complains: Untracked files: (use "git add ..." to include in what will be committed) cpufreq/cpufreq_selftest.dmesg_cpufreq.txt cpufreq/cpufreq_selftest.dmesg_full.txt cpufreq/cpufreq_selftest.txt Cc: "Rafael J. Wysocki" Cc: Vires

[PATCH for-next v3] selftests/mm: Add a few missing gitignore files

2024-11-21 Thread Li Zhijian
Compiled binary files should be added to .gitignore 'git status' complains: Untracked files: (use "git add ..." to include in what will be committed) mm/hugetlb_dio mm/pkey_sighandler_tests_32 mm/pkey_sighandler_tests_64 Cc: Donet Tom Cc: Andrew Morton Cc: Shuah

[PATCH for-next v3] selftests/filesystems: Add missing gitignore file

2024-11-21 Thread Li Zhijian
Compiled binary files should be added to .gitignore 'git status' complains: Untracked files: (use "git add ..." to include in what will be committed) filesystems/statmount/statmount_test_ns Cc: Shuah Khan Cc: Christian Brauner Cc: Miklos Szeredi Cc: Josef Bacik Signed-off-by: Li Zhijian

[PATCH for-next v3] selftests/alsa: Add a few missing gitignore files

2024-11-21 Thread Li Zhijian
Compiled binary files should be added to .gitignore 'git status' complains: Untracked files: (use "git add ..." to include in what will be committed) alsa/global-timer alsa/utimer-test Cc: Mark Brown Cc: Jaroslav Kysela Cc: Takashi Iwai Cc: Shuah Khan Signed-off-by: Li Zhijian ---

Re: [PATCH printk v1] printk: ringbuffer: Add KUnit test

2024-11-21 Thread David Gow
On Thu, 21 Nov 2024 at 22:50, John Ogness wrote: > > From: Thomas Weißschuh > > The KUnit test validates the correct operation of the ringbuffer. > A separate dedicated ringbuffer is used so that the global printk > ringbuffer is not touched. > > Co-developed-by: John Ogness > Signed-off-by: Joh

RE: [PATCH] vduse: relicense under GPL-2.0 OR BSD-3-Clause

2024-11-21 Thread Hemant Agrawal
> On Tue, Nov 19, 2024 at 3:43 PM Yongji Xie > wrote: > > > > Dual-license the vduse kernel header file to dual > > GPL-2.0 OR BSD-3-Clause license to make it possible to ship it with > > DPDK (under BSD-3-Clause) for older distros. > > > > Signed-off-by: Yongji Xie > > --- > > include/uapi/linu

[PATCH v2 net] ipvs: fix UB due to uninitialized stack access in ip_vs_protocol_init()

2024-11-21 Thread Jinghao Jia
Under certain kernel configurations when building with Clang/LLVM, the compiler does not generate a return or jump as the terminator instruction for ip_vs_protocol_init(), triggering the following objtool warning during build time: vmlinux.o: warning: objtool: ip_vs_protocol_init() falls through

Re: [PATCH] vduse: relicense under GPL-2.0 OR BSD-3-Clause

2024-11-21 Thread Jason Wang
On Tue, Nov 19, 2024 at 3:43 PM Yongji Xie wrote: > > Dual-license the vduse kernel header file to dual > GPL-2.0 OR BSD-3-Clause license to make it possible > to ship it with DPDK (under BSD-3-Clause) for older > distros. > > Signed-off-by: Yongji Xie > --- > include/uapi/linux/vduse.h | 2 +- >

Re: [PATCH v6 00/18] Implement DWARF modversions

2024-11-21 Thread Sedat Dilek
On Thu, Nov 21, 2024 at 9:42 PM Sami Tolvanen wrote: > > Hi, > > Here's v6 of the DWARF modversions series. The main motivation is > modversions support for Rust, which is important for distributions > like Android that are about to ship Rust kernel modules. Per Luis' > request [1], v2 dropped the

[GIT PULL] KUnit update for Linux 6.13-rc1-fixed

2024-11-21 Thread Shuah Khan
Hi Linus, Please pull the following kunit update for Linux 6.13-rc1. This pull request is fixed up with the right fix for the UAF bug and includes other fixes. linux_kselftest-kunit-6.13-rc1-fixed kunit update for Linux 6.13-rc1 -- fixes user-after-free (UAF) bug in kunit_init_suite() -- add

Re: [PATCH 2/3] libbpf: Remove powerpc prefix from syscall function names

2024-11-21 Thread Andrii Nakryiko
On Wed, Nov 20, 2024 at 6:52 AM Saket Kumar Bhaskar wrote: > > On Fri, Nov 08, 2024 at 10:43:54AM -0800, Andrii Nakryiko wrote: > > On Sun, Nov 3, 2024 at 9:00 PM Saket Kumar Bhaskar > > wrote: > > > > > > Since commit 94746890202cf ("powerpc: Don't add __powerpc_ prefix to > > > syscall entry p

Re: [PATCH v8 2/3] modpost: Produce extended MODVERSIONS information

2024-11-21 Thread Matthew Maurer
On Thu, Nov 7, 2024 at 2:38 PM Luis Chamberlain wrote: > > On Wed, Nov 06, 2024 at 02:19:38PM -0800, Matthew Maurer wrote: > > > > > > > If booted against an old kernel, it will > > > > behave as though there is no modversions information. > > > > > > Huh? This I don't get. If you have the new lib

Re: [PATCH net-next v11 07/23] ovpn: introduce the ovpn_socket object

2024-11-21 Thread Antonio Quartulli
On 21/11/2024 00:58, Sergey Ryazanov wrote: On 15.11.2024 16:28, Antonio Quartulli wrote: On 10/11/2024 19:26, Sergey Ryazanov wrote: On 29.10.2024 12:47, Antonio Quartulli wrote: [...] +static bool ovpn_socket_hold(struct ovpn_socket *sock) +{ +    return kref_get_unless_zero(&sock->refcou

Re: [PATCH net-next v11 06/23] ovpn: introduce the ovpn_peer object

2024-11-21 Thread Antonio Quartulli
On 20/11/2024 12:56, Sabrina Dubroca wrote: 2024-10-29, 11:47:19 +0100, Antonio Quartulli wrote: +/** + * struct ovpn_peer - the main remote peer object + * @ovpn: main openvpn instance this peer belongs to + * @id: unique identifier + * @vpn_addrs: IP addresses assigned over the tunnel + * @

Re: [PATCH net-next v11 18/23] ovpn: implement peer add/get/dump/delete via netlink

2024-11-21 Thread Antonio Quartulli
On 21/11/2024 17:02, Sabrina Dubroca wrote: [I'm still thinking about the locking problems for ovpn_peer_float, but just noticed this while staring at the rehash code] 2024-10-29, 11:47:31 +0100, Antonio Quartulli wrote: +void ovpn_peer_hash_vpn_ip(struct ovpn_peer *peer) + __must_hold(&p

Re: [PATCH net-next v11 08/23] ovpn: implement basic TX path (UDP)

2024-11-21 Thread Antonio Quartulli
On 20/11/2024 12:45, Sabrina Dubroca wrote: 2024-10-29, 11:47:21 +0100, Antonio Quartulli wrote: +static int ovpn_udp4_output(struct ovpn_struct *ovpn, struct ovpn_bind *bind, + struct dst_cache *cache, struct sock *sk, + struct sk_buff *skb) +

Re: [PATCH net-next v11 06/23] ovpn: introduce the ovpn_peer object

2024-11-21 Thread Antonio Quartulli
On 21/11/2024 00:22, Sergey Ryazanov wrote: On 13.11.2024 12:03, Sabrina Dubroca wrote: 2024-11-13, 03:37:13 +0200, Sergey Ryazanov wrote: On 12.11.2024 19:31, Sabrina Dubroca wrote: 2024-11-10, 15:38:27 +0200, Sergey Ryazanov wrote: On 29.10.2024 12:47, Antonio Quartulli wrote: An ovpn_peer

Re: [PATCH net-next v11 08/23] ovpn: implement basic TX path (UDP)

2024-11-21 Thread Antonio Quartulli
On 21/11/2024 01:29, Sergey Ryazanov wrote: On 15.11.2024 16:39, Antonio Quartulli wrote: On 11/11/2024 00:54, Sergey Ryazanov wrote: Another one forgotten question, sorry about this. Please find the question inlined. On 29.10.2024 12:47, Antonio Quartulli wrote:   /* Send user data to the n

Re: [PATCH net-next v11 07/23] ovpn: introduce the ovpn_socket object

2024-11-21 Thread Antonio Quartulli
On 21/11/2024 00:34, Sergey Ryazanov wrote: On 19.11.2024 15:44, Antonio Quartulli wrote: On 15/11/2024 15:28, Antonio Quartulli wrote: [...] +} + +static struct ovpn_socket *ovpn_socket_get(struct socket *sock) +{ +    struct ovpn_socket *ovpn_sock; + +    rcu_read_lock(); +    ovpn_sock = rcu

Re: [PATCH net-next v11 05/23] ovpn: keep carrier always on

2024-11-21 Thread Antonio Quartulli
On 20/11/2024 23:56, Sergey Ryazanov wrote: On 15.11.2024 16:13, Antonio Quartulli wrote: On 09/11/2024 02:11, Sergey Ryazanov wrote: On 29.10.2024 12:47, Antonio Quartulli wrote: An ovpn interface will keep carrier always on and let the user decide when an interface should be considered disco

[PATCH v6 17/18] kbuild: Add gendwarfksyms as an alternative to genksyms

2024-11-21 Thread Sami Tolvanen
When MODVERSIONS is enabled, allow selecting gendwarfksyms as the implementation, but default to genksyms. Signed-off-by: Sami Tolvanen --- kernel/module/Kconfig | 25 - scripts/Makefile | 2 +- scripts/Makefile.build | 35 +-- 3 fi

[PATCH v6 13/18] gendwarfksyms: Add support for kABI rules

2024-11-21 Thread Sami Tolvanen
Distributions that want to maintain a stable kABI need the ability to make ABI compatible changes to kernel without affecting symbol versions, either because of LTS updates or backports. With genksyms, developers would typically hide these changes from version calculation with #ifndef __GENKSYMS__

[PATCH v6 07/18] gendwarfksyms: Expand array_type

2024-11-21 Thread Sami Tolvanen
Add support for expanding DW_TAG_array_type, and the subrange type indicating array size. Example source code: const char *s[34]; Output with --dump-dies: variable array_type[34] { pointer_type { const_type { base_type char byte_size(1) encoding(6) } } byte_size(

[PATCH v6 03/18] gendwarfksyms: Expand base_type

2024-11-21 Thread Sami Tolvanen
Start making gendwarfksyms more useful by adding support for expanding DW_TAG_base_type types and basic DWARF attributes. Example: $ echo loops_per_jiffy | \ scripts/gendwarfksyms/gendwarfksyms \ --debug --dump-dies vmlinux.o ... gendwarfksyms: process_symbol: loops_per_jiffy

[PATCH v6 04/18] gendwarfksyms: Add a cache for processed DIEs

2024-11-21 Thread Sami Tolvanen
Basic types in DWARF repeat frequently and traversing the DIEs using libdw is relatively slow. Add a simple hashtable based cache for the processed DIEs. Signed-off-by: Sami Tolvanen Reviewed-by: Petr Pavlu --- scripts/gendwarfksyms/Makefile| 1 + scripts/gendwarfksyms/die.c

[PATCH v6 18/18] Documentation/kbuild: Add DWARF module versioning

2024-11-21 Thread Sami Tolvanen
Add documentation for gendwarfksyms changes, and the kABI stability features that can be useful for distributions even though they're not used in mainline kernels. Signed-off-by: Sami Tolvanen --- Documentation/kbuild/gendwarfksyms.rst | 308 + Documentation/kbuild/index.

[PATCH v6 14/18] gendwarfksyms: Add support for reserved and ignored fields

2024-11-21 Thread Sami Tolvanen
Distributions that want to maintain a stable kABI need the ability to make ABI compatible changes to kernel data structures without affecting symbol versions, either because of LTS updates or backports. With genksyms, developers would typically hide these changes from version calculation with #ifn

[PATCH v6 10/18] gendwarfksyms: Add die_map debugging

2024-11-21 Thread Sami Tolvanen
Debugging the DWARF processing can be somewhat challenging, so add more detailed debugging output for die_map operations. Add the --dump-die-map flag, which adds color coded tags to the output for die_map changes. Signed-off-by: Sami Tolvanen Reviewed-by: Petr Pavlu --- scripts/gendwarfksyms/dw

[PATCH v6 16/18] export: Add __gendwarfksyms_ptr_ references to exported symbols

2024-11-21 Thread Sami Tolvanen
With gendwarfksyms, we need each TU where the EXPORT_SYMBOL() macro is used to also contain DWARF type information for the symbols it exports. However, as a TU can also export external symbols and compilers may choose not to emit debugging information for symbols not defined in the current TU, the

[PATCH v6 08/18] gendwarfksyms: Expand structure types

2024-11-21 Thread Sami Tolvanen
Recursively expand DWARF structure types, i.e. structs, unions, and enums. Also include relevant DWARF attributes in type strings to encode structure layout, for example. Example output with --dump-dies: subprogram ( formal_parameter structure_type &str { member pointer_type {

[PATCH v6 01/18] tools: Add gendwarfksyms

2024-11-21 Thread Sami Tolvanen
Add a basic DWARF parser, which uses libdw to traverse the debugging information in an object file and looks for functions and variables. In follow-up patches, this will be expanded to produce symbol versions for CONFIG_MODVERSIONS from DWARF. Signed-off-by: Sami Tolvanen Reviewed-by: Petr Pavlu

[PATCH v6 06/18] gendwarfksyms: Expand subroutine_type

2024-11-21 Thread Sami Tolvanen
Add support for expanding DW_TAG_subroutine_type and the parameters in DW_TAG_formal_parameter. Use this to also expand subprograms. Example output with --dump-dies: subprogram ( formal_parameter pointer_type { const_type { base_type char byte_size(1) encoding(6) } }

[PATCH v6 02/18] gendwarfksyms: Add address matching

2024-11-21 Thread Sami Tolvanen
The compiler may choose not to emit type information in DWARF for all aliases, but it's possible for each alias to be exported separately. To ensure we find type information for the aliases as well, read {section, address} tuples from the symbol table and match symbols also by address. Signed-off-

[PATCH v6 15/18] gendwarfksyms: Add support for symbol type pointers

2024-11-21 Thread Sami Tolvanen
The compiler may choose not to emit type information in DWARF for external symbols. Clang, for example, does this for symbols not defined in the current TU. To provide a way to work around this issue, add support for __gendwarfksyms_ptr_ pointers that force the compiler to emit the necessary type

[PATCH v6 12/18] gendwarfksyms: Add symbol versioning

2024-11-21 Thread Sami Tolvanen
Calculate symbol versions from the fully expanded type strings in type_map, and output the versions in a genksyms-compatible format. Signed-off-by: Sami Tolvanen --- scripts/gendwarfksyms/Makefile| 2 +- scripts/gendwarfksyms/dwarf.c | 25 +- scripts/gendwarfksyms/gendwarf

[PATCH v6 11/18] gendwarfksyms: Add symtypes output

2024-11-21 Thread Sami Tolvanen
Add support for producing genksyms-style symtypes files. Process die_map to find the longest expansions for each type, and use symtypes references in type definitions. The basic file format is similar to genksyms, with two notable exceptions: 1. Type names with spaces (common with Rust) in refer

[PATCH v6 09/18] gendwarfksyms: Limit structure expansion

2024-11-21 Thread Sami Tolvanen
Expand each structure type only once per exported symbol. This is necessary to support self-referential structures, which would otherwise result in infinite recursion, and it's sufficient for catching ABI changes. Types defined in .c files are opaque to external users and thus cannot affect the AB

[PATCH v6 05/18] gendwarfksyms: Expand type modifiers and typedefs

2024-11-21 Thread Sami Tolvanen
Add support for expanding DWARF type modifiers, such as pointers, const values etc., and typedefs. These types all have DW_AT_type attribute pointing to the underlying type, and thus produce similar output. Also add linebreaks and indentation to debugging output to make it more readable. Signed-o

[PATCH v6 00/18] Implement DWARF modversions

2024-11-21 Thread Sami Tolvanen
Hi, Here's v6 of the DWARF modversions series. The main motivation is modversions support for Rust, which is important for distributions like Android that are about to ship Rust kernel modules. Per Luis' request [1], v2 dropped the Rust specific bits from the series and instead added the feature a

Re: [PATCH net-next v11 18/23] ovpn: implement peer add/get/dump/delete via netlink

2024-11-21 Thread Sabrina Dubroca
[I'm still thinking about the locking problems for ovpn_peer_float, but just noticed this while staring at the rehash code] 2024-10-29, 11:47:31 +0100, Antonio Quartulli wrote: > +void ovpn_peer_hash_vpn_ip(struct ovpn_peer *peer) > + __must_hold(&peer->ovpn->peers->lock) > +{ > + struct h

Re: [PATCH v13 4/7] remoteproc: Introduce release_fw optional operation

2024-11-21 Thread Mathieu Poirier
On Wed, 20 Nov 2024 at 09:39, Arnaud POULIQUEN wrote: > > > > On 11/20/24 17:04, Mathieu Poirier wrote: > > On Tue, 19 Nov 2024 at 13:38, Mathieu Poirier > > wrote: > >> > >> On Tue, 19 Nov 2024 at 11:14, Arnaud POULIQUEN > >> wrote: > >>> > >>> Hello Mathieu, > >>> > >>> On 11/18/24 18:52, Math

Re: [PATCH] ipvs: fix UB due to uninitialized stack access in ip_vs_protocol_init()

2024-11-21 Thread Julian Anastasov
Hello, On Tue, 19 Nov 2024, Jinghao Jia wrote: > On 11/18/24 6:41 AM, Julian Anastasov wrote: > > > > On Mon, 11 Nov 2024, Jinghao Jia wrote: > > > >> Under certain kernel configurations when building with Clang/LLVM, the > >> compiler does not generate a return or jump as the termina

[PATCH printk v1] printk: ringbuffer: Add KUnit test

2024-11-21 Thread John Ogness
From: Thomas Weißschuh The KUnit test validates the correct operation of the ringbuffer. A separate dedicated ringbuffer is used so that the global printk ringbuffer is not touched. Co-developed-by: John Ogness Signed-off-by: John Ogness Signed-off-by: Thomas Weißschuh --- For those not famil

Re: [PATCH v2 1/4] vdpa/octeon_ep: enable support for multiple interrupts per device

2024-11-21 Thread Dan Carpenter
On Thu, Nov 21, 2024 at 07:09:43PM +0530, Shijith Thotton wrote: > Updated the driver to utilize all the MSI-X interrupt vectors supported > by each OCTEON endpoint VF, instead of relying on a single vector. > Enabling more interrupts allows packets from multiple rings to be > distributed across mu

[PATCH v2 3/4] vdpa/octeon_ep: read vendor-specific PCI capability

2024-11-21 Thread Shijith Thotton
Added support to read the vendor-specific PCI capability to identify the type of device being emulated. Signed-off-by: Shijith Thotton --- drivers/vdpa/octeon_ep/octep_vdpa.h | 24 + drivers/vdpa/octeon_ep/octep_vdpa_hw.c | 34 +++- drivers/vdpa/octeon_

[PATCH v2 2/4] vdpa/octeon_ep: handle device config change events

2024-11-21 Thread Shijith Thotton
From: Satha Rao The first interrupt of the device is used to notify the host about device configuration changes, such as link status updates. The ISR configuration area is updated to indicate a config change event when triggered. Signed-off-by: Satha Rao Signed-off-by: Shijith Thotton --- dri

Re: [PATCH net-next v3] af_unix: pass pidfd flags via SCM_PIDFD cmsg

2024-11-21 Thread stsp
21.11.2024 15:57, Alexander Mikhalitsyn пишет: Hi Stas! Hmm, it is a bit unusual that SCM_PIDFD message format is different in case when you send it and when you read it. I mean that when you read it (on the receiver side) you get pidfd file descriptor number, while when you write it (on the s

[PATCH v2 4/4] vdpa/octeon_ep: add interrupt handler for virtio crypto device

2024-11-21 Thread Shijith Thotton
Introduced an interrupt handler for the virtio crypto device, as its queue usage differs from that of network devices. While virtio network device receives packets only on even-indexed queues, virtio crypto device utilize all available queues for processing data. Signed-off-by: Shijith Thotton --

[PATCH v2 1/4] vdpa/octeon_ep: enable support for multiple interrupts per device

2024-11-21 Thread Shijith Thotton
Updated the driver to utilize all the MSI-X interrupt vectors supported by each OCTEON endpoint VF, instead of relying on a single vector. Enabling more interrupts allows packets from multiple rings to be distributed across multiple cores, improving parallelism and performance. Signed-off-by: Shij

Re: [PATCH livepatch/master v1 1/6] selftests/livepatch: fix test-callbacks.sh execution error

2024-11-21 Thread Miroslav Benes
Hi, On Thu, 21 Nov 2024, George Guo wrote: > From: George Guo > > The script test-callbacks.sh fails with the following error: > $ sudo ./test-callbacks.sh > TEST: target module before livepatch ... not ok > > - expected > + result > test_klp_callbacks_mod: test_klp_callbacks_mod_init > % in

Re: [PATCH net-next v3] af_unix: pass pidfd flags via SCM_PIDFD cmsg

2024-11-21 Thread Alexander Mikhalitsyn
>Currently SCM_PIDFD cmsg cannot be sent via unix socket >(returns -EINVAL) and SO_PASSPIDFD doesn't support flags. >The created pidfd always has flags set to 0. > >This patch implements SCM_PIDFD cmsg in AF_UNIX socket, which >can be used to send flags to SO_PASSPIDFD-enabled recipient. > >Self-te

[PATCH livepatch/master v1 6/6] selftests/livepatch: fix test-sysfs.sh execution error

2024-11-21 Thread George Guo
From: George Guo The script test-sysfs.sh fails with the following error: $ sudo ./test-sysfs.sh TEST: sysfs test ... not ok - expected + result % insmod test_modules/test_klp_livepatch.ko livepatch: enabling patch 'test_klp_livepatch' -livepatch: 'test_klp_livepatch': initializing patching t

[PATCH livepatch/master v1 5/6] selftests/livepatch: fix test-syscall.sh execution error

2024-11-21 Thread George Guo
From: George Guo The script test-syscall.sh fails with the following error: $ sudo ./test-syscall.sh TEST: patch getpid syscall while being heavily hammered ... not ok - expected + result % insmod test_modules/test_klp_syscall.ko klp_pids=18484,18485,18486,18487,18488,18489,18490,... livepat

[PATCH livepatch/master v1 4/6] selftests/livepatch: fix test-state.sh execution error

2024-11-21 Thread George Guo
From: George Guo $ sudo ./test-state.sh TEST: system state modification ... not ok - expected + result % insmod test_modules/test_klp_state.ko livepatch: enabling patch 'test_klp_state' -livepatch: 'test_klp_state': initializing patching transition +transition: 'test_klp_state': initializing p

[PATCH livepatch/master v1 3/6] selftests/livepatch: fix test-livepatch.sh execution error

2024-11-21 Thread George Guo
From: George Guo The script test-callbacks.sh fails with the following error: $ sudo ./test-livepatch.sh TEST: basic function patching ... not ok - expected + result % insmod test_modules/test_klp_livepatch.ko livepatch: enabling patch 'test_klp_livepatch' -livepatch: 'test_klp_livepatch': ini

[PATCH livepatch/master v1 2/6] selftests/livepatch: fix test-ftrace.sh execution error

2024-11-21 Thread George Guo
The script test-ftrace.sh fails with the following error: $ sudo ./test-ftrace.sh TEST: livepatch interaction with ftrace_enabled sysctl ... not ok - expected + result livepatch: kernel.ftrace_enabled = 0 % insmod test_modules/test_klp_livepatch.ko livepatch: enabling patch 'test_klp_livepatch'

[PATCH livepatch/master v1 1/6] selftests/livepatch: fix test-callbacks.sh execution error

2024-11-21 Thread George Guo
From: George Guo The script test-callbacks.sh fails with the following error: $ sudo ./test-callbacks.sh TEST: target module before livepatch ... not ok - expected + result test_klp_callbacks_mod: test_klp_callbacks_mod_init % insmod test_modules/test_klp_callbacks_demo.ko livepatch: enabling

Re: [PATCH v1] selftests: mm: Fix conversion specifiers intransact_test()

2024-11-21 Thread guanjing
I found it when reading the code. So far, I haven't found any tools that can be used for scanning yet. :) Thank you for your review. On 2024/11/19 15:33, Muhammad Usama Anjum wrote: Thanks for the patch. On 11/17/24 12:12 PM, guanjing wrote: Lots of incorrect conversion specifiers. Fix the

[PATCH v2] selftests/lam: Test get_user() LAM pointer handling

2024-11-21 Thread Maciej Wieczor-Retman
Recent change in how get_user() handles pointers [1] has a specific case for LAM. It assigns a different bitmask that's later used to check whether a pointer comes from userland in get_user(). While currently commented out (until LASS [2] is merged into the kernel) it's worth making changes to the