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

(v0.23.0-release) Add security check at System.loadLibrary(libName) #10787

Merged
merged 1 commit into from
Oct 9, 2020

Conversation

JasonFengJ9
Copy link
Member

Added SecurityManager.checkLink(libName) within System.loadLibrary(libName);
Removed the security check within loadLibraryWithClassLoader();
Assume the caller of ClassLoader.loadLibrary(caller, name, fullPath) perform the security check.

Cherry-picked from #10781

Signed-off-by: Jason Feng fengj@ca.ibm.com

Added SecurityManager.checkLink(libName) within
System.loadLibrary(libName);
Removed the security check within loadLibraryWithClassLoader;
Assume the caller of ClassLoader.loadLibrary(caller, name, fullPath)
perform the security check.

Signed-off-by: Jason Feng <fengj@ca.ibm.com>
@pshipton pshipton merged commit 3bf8762 into eclipse-openj9:v0.23.0-release Oct 9, 2020
@JasonFengJ9 JasonFengJ9 deleted the v0.23-smcheck branch October 15, 2020 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants