Giter VIP home page Giter VIP logo

Comments (5)

fishilico avatar fishilico commented on July 23, 2024

In libsemanage, semanage_fcontext_get_type_str has been returning "socket" for SEMANAGE_FCONTEXT_SOCK at least since the initial git import. In seobject.py it is even correctly written in file_types["socket"] = SEMANAGE_FCONTEXT_SOCK (line 73).

I guess file_type_str_to_option should have a mapping between "socket" and "s" instead of using "socket file".

from selinux.

stephensmalley avatar stephensmalley commented on July 23, 2024

Yes, that sounds correct to me as well. Seems to date back to commit 3c1d51c and successive commits that used it. @rhatdan

from selinux.

seidler2547 avatar seidler2547 commented on July 23, 2024

Sounds good. Should I submit a pull request or will you make the change?

from selinux.

stephensmalley avatar stephensmalley commented on July 23, 2024

Feel free to submit a PR and/or post to selinux AT tycho.nsa.gov.

from selinux.

stephensmalley avatar stephensmalley commented on July 23, 2024

If you are unable to submit a patch, just let us know and we'll take care of it.

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.