dinit icon indicating copy to clipboard operation
dinit copied to clipboard

init: optionally load the system SELinux policy

Open WavyEbuilder opened this issue 4 months ago • 29 comments

Implements #399 . Currently a draft PR for some of the reasons noted in that issue. Another thing to add:

  • I saw mentioned here, https://github.com/davmac314/dinit/issues/240#issuecomment-1963096377, that you don't want to be falling back to C interfaces. For now, I'm just calling fprintf if the SELinux policy fails to load (as /dev/console is likely unable to be accessed at that point). Would you prefer std::cout to be used for now in this case?

WavyEbuilder avatar Oct 15 '24 20:10 WavyEbuilder