Skip to content

kernel: fix kvrealloc compatibility#3089

Merged
aviraxp merged 1 commit into
mainfrom
kvrealloc
Dec 22, 2025
Merged

kernel: fix kvrealloc compatibility#3089
aviraxp merged 1 commit into
mainfrom
kvrealloc

Conversation

@5ec1cff

@5ec1cff 5ec1cff commented Dec 22, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

@aviraxp aviraxp merged commit 07d9401 into main Dec 22, 2025
17 checks passed
@aviraxp aviraxp deleted the kvrealloc branch December 22, 2025 09:44
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 22, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Dec 22, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 22, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Dec 22, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 22, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 23, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 23, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 23, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 23, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
bklynali pushed a commit to bklynali/BK-KSU that referenced this pull request Dec 23, 2025
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Dec 23, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
sakana164 pushed a commit to sakana164/KernelSU that referenced this pull request Dec 23, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 24, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Dec 24, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
sakana164 pushed a commit to sakana164/KernelSU that referenced this pull request Dec 24, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 25, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
sakana164 pushed a commit to sakana164/KernelSU that referenced this pull request Dec 25, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
sakana164 pushed a commit to sakana164/KernelSU that referenced this pull request Dec 25, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 25, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Dec 25, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 25, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 25, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 25, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 26, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 26, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 26, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
sakana164 pushed a commit to sakana164/KernelSU that referenced this pull request Dec 26, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 27, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 27, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 27, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 28, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 28, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 28, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Dec 28, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
sakana164 pushed a commit to sakana164/KernelSU that referenced this pull request Dec 28, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 29, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 29, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 29, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 29, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 29, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
sakana164 pushed a commit to sakana164/KernelSU that referenced this pull request Dec 29, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Dec 29, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 29, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 29, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 29, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 29, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 30, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
sakana164 pushed a commit to sakana164/KernelSU that referenced this pull request Dec 30, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 30, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 30, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 30, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Dec 30, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
selfmusing pushed a commit to selfmusing/USlenreK that referenced this pull request Dec 30, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 31, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 31, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 31, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
backslashxx added a commit to backslashxx/KernelSU that referenced this pull request Dec 31, 2025
this tries to mimic the behavior of 6.12+'s kvrealloc
where it straight up opts out of kasan checks.

we dont have unsafe_memcpy on older kernels
its just a macro of __builtin_memcpy anyway.

ref:
tiann#3087
tiann#3089
tiann@438559c *

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants