Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

label jspawnhelper bin_t #845

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

dsugar100
Copy link
Contributor

jspawnhelper is executed when using java's ProcessBuilder.start () or Runtime.exec (). I'm seeing a denial for 'lib_t:file execute_no_trans' because jspawnhelper was labeled lib_t. bin_t seems to be more correct as this can be executed.

https://github.com/openjdk/jdk/blob/master/src/java.base/unix/native/jspawnhelper/jspawnhelper.c

jspawnhelper is executed when using java's ProcessBuilder.start () or
Runtime.exec ().  I'm seeing a denial for 'lib_t:file execute_no_trans'
because jspawnhelper was labeled lib_t.  bin_t seems to be more correct
as this can be executed.

https://github.com/openjdk/jdk/blob/master/src/java.base/unix/native/jspawnhelper/jspawnhelper.c

Signed-off-by: Dave Sugar <[email protected]>
@pebenito pebenito merged commit 6a40175 into SELinuxProject:main Jan 6, 2025
118 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants