Giter VIP home page Giter VIP logo

Comments (5)

rhatdan avatar rhatdan commented on July 4, 2024

This is becoming more critical.

In container-selinux I would need something like

# Added to make typebounds check work.
# Hopefully can remove when we have a better solution
# When we can do the following, this would make this more secure
# typebounds container_runtime_exec_t exec_type;
# typebounds container_runtime_exec_t mountpoint;
files_entrypoint_all_mountpoint(container_runtime_t)
corecmd_entrypoint_all_executables(container_runtime_t)

from selinux.

stephensmalley avatar stephensmalley commented on July 4, 2024

In the interim, could you add something like:
optional_policy(`
gen_require(`
type container_runtime_exec_t;
')
typebounds container_runtime_exec_t $1;
')
to the corecmd_executable_file() interface definition?

from selinux.

rhatdan avatar rhatdan commented on July 4, 2024

Yes except container_runtime_exec_t is defined external to the base policy. We are shipping container-selinux totally separate.

from selinux.

stephensmalley avatar stephensmalley commented on July 4, 2024

That's why I put it in an optional?

from selinux.

rhatdan avatar rhatdan commented on July 4, 2024

Right. My point was that we would need an update for both packages. Not something easily done in RHEL. But it would fix it for Fedora for now.

from selinux.

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.