Coder Social home page Coder Social logo

Comments (10)

hmtheboy154 avatar hmtheboy154 commented on May 27, 2024

x86/x86_64 use syscall_work instead

https://elixir.bootlin.com/linux/v5.15.78/source/kernel/entry/common.c#L67
https://elixir.bootlin.com/linux/v5.15.78/source/arch/x86/include/asm/thread_info.h#L58

from kernelsu.

hmtheboy154 avatar hmtheboy154 commented on May 27, 2024

I replace TIF_SECCOMP with SYSCALL_WORK_SECCOMP and it works, so we need make a condition for this

from kernelsu.

tiann avatar tiann commented on May 27, 2024

It seems that this is not a problem of x86/x86_64, kernel above 5.11 migrate the TIF_flags to syscall_work flags: https://www.mail-archive.com/[email protected]/msg2382193.html

from kernelsu.

hmtheboy154 avatar hmtheboy154 commented on May 27, 2024

but arm/arm64 still got TIF_flags though

from kernelsu.

tiann avatar tiann commented on May 27, 2024

Does your kernel have CONFIG_GENERIC_ENTRY enabled?

from kernelsu.

tiann avatar tiann commented on May 27, 2024

https://elixir.bootlin.com/linux/v5.15.84/source/include/linux/thread_info.h#L134

from kernelsu.

hmtheboy154 avatar hmtheboy154 commented on May 27, 2024

yes

from kernelsu.

hmtheboy154 avatar hmtheboy154 commented on May 27, 2024

oh we can make a condition using CONFIG_GENERIC_ENTRY then

from kernelsu.

tiann avatar tiann commented on May 27, 2024

I think it is this config that makes the difference

from kernelsu.

hmtheboy154 avatar hmtheboy154 commented on May 27, 2024

fixed

from kernelsu.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.