[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #2788] Patches to implement security checking
From: |
Casey Marshall |
Subject: |
[patch #2788] Patches to implement security checking |
Date: |
Fri, 04 Jun 2004 00:24:15 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5; No time for love, Dr. Jones) Gecko/20030715 |
This mail is an automated notification from the patch tracker
of the project: classpath.
/**************************************************************************/
[patch #2788] Full Item Snapshot:
URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=2788>
Project: classpath
Submitted by: Stephen Crawley
On: Thu 03/11/2004 at 13:56
Category: None
Priority: 7 - High
Resolution: None
Assigned to: mkoch
Originator Email:
Status: Open
Summary: Patches to implement security checking
Original Submission: These patches and new files replace dummy methods in
java.lang.Security, etc with code that implements
security checking. The changes simply reinstate
commented out code, and add a couple of new native
calls that can be dummy implemented in a VM in an
obvious way.
A changelog entry follows:
java/lang/SecurityManager.java (getSecurityContext) :
enable code that was previously commented out
(checkPermission(Permission)) : ditto
(checkPermission(Permission, Object)) : ditto
(checkRead) : ditto
(checkConnect) : ditto
java/security/AccessControlContext.java (AccessControlContext) :
fix NullPointerException bug and tidy up minor inefficiencies
java/security/AccessController.java (getContext) :
implement getContext() as call to VMAccessController.getProtectionDomains()
vm/reference/java/Makefile.am : add the security subdir
vm/reference/java/lang/VMClassLoader.java : (defineClass)
change the overload with the ProtectionDomain argument
into a native method. (Previously the arg was ignored.)
vm/reference/java/security/Makefile.am : new file
vm/reference/java/security/VMAccessController.java : new file
Follow-up Comments
------------------
-------------------------------------------------------
Date: Fri 06/04/2004 at 04:13 By: rsdio
Attached diff against java/lang/SecurityManager.java. The other changes
obviated by patch #3115 and patch #3116.
-------------------------------------------------------
Date: Thu 06/03/2004 at 09:31 By: mkoch
Can you please update this patch to the current situation ? Are the parts to
java.lang.SecurityManager still needed/wanted ? The rest may be in already by
our other two patches it seems to me.
File Attachments
-------------------
-------------------------------------------------------
Date: Fri 06/04/2004 at 04:16 Name: security3-ChangeLog Size: 290KB By:
rsdio
changelog for security3.patch
http://savannah.gnu.org/patch/download.php?item_id=2788&item_file_id=3342
-------------------------------------------------------
Date: Fri 06/04/2004 at 04:13 Name: security3.patch Size: 3KB By: rsdio
http://savannah.gnu.org/patch/download.php?item_id=2788&item_file_id=3341
-------------------------------------------------------
Date: Thu 03/11/2004 at 13:59 Name: VMAccessController.java Size: 2KB By:
crawley
new file vm/reference/java/security/VMAccessController.java
http://savannah.gnu.org/patch/download.php?item_id=2788&item_file_id=2904
-------------------------------------------------------
Date: Thu 03/11/2004 at 13:58 Name: Makefile.am Size: 83KB By: crawley
new file vm/reference/java/security/Makefile.am
http://savannah.gnu.org/patch/download.php?item_id=2788&item_file_id=2903
-------------------------------------------------------
Date: Thu 03/11/2004 at 13:56 Name: diffs Size: 10KB By: crawley
The patches
http://savannah.gnu.org/patch/download.php?item_id=2788&item_file_id=2902
For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=2788>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/