Giter VIP home page Giter VIP logo

Comments (5)

bigon avatar bigon commented on July 23, 2024

dbus is one of these applications using the old interface, see https://bugs.freedesktop.org/show_bug.cgi?id=92831

from selinux.

stephensmalley avatar stephensmalley commented on July 23, 2024

With the recent changes to libselinux to finally fully remove the hardcoded class and permission definitions (89674c2) and update the man pages for userspace policy enforcers (784b029), I think we've done everything we can upstream to foster migration and most of userspace has already migrated or will soon be forced to do so. matchpathcon() had its man page updated back in 2015 to deprecate it and encourage people to migrate to using selabel_open/lookup() but there will probably always be some residual users since it is a simpler interface and that's ok. I'm going to close this issue.

from selinux.

bigon avatar bigon commented on July 23, 2024

Quickly looking in debian archive, I still see some users of these files:

https://codesearch.debian.net/search?q=selinux%2Fav_permissions.h&literal=1
https://codesearch.debian.net/search?q=selinux%2Fflask.h&literal=1&page=1

from selinux.

stephensmalley avatar stephensmalley commented on July 23, 2024

Yep, clearly nothing short of removing the headers will get them to update since they have had ~5 years of build-time #warnings on every include of those headers.

from selinux.

stephensmalley avatar stephensmalley commented on July 23, 2024

Apparently even removing the headers won't fully suffix to remove all hardcoded references to SECCLASS_*. Even though the libselinux header warning messages said to switch to using string_to_security_class() and someone did this correctly for busybox passwd in https://git.busybox.net/busybox/commit/?id=c6f35241b38ea0c9581409efcd83716b74918903, a later commit for busbyox login and runcon re-introduced their own private definitions, https://git.busybox.net/busybox/commit/?id=4ea0ebdd429fe761c1324176b1ac6017248366af. This will have to get fixed in busybox at some point.

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.