1. 03 Jan, 2011 1 commit
  2. 16 Dec, 2010 1 commit
    • PR libgcj/46774: Create dynamic ProtectionDomain instances which check the system policy. · ffafe01a
      2010-12-13  Andrew John Hughes  <ahughes@redhat.com>
      
      	PR libgcj/46774
      	* libjava/java/security/VMAccessController.java:
      	(DEFAULT_CONTEXT): Create ProtectionDomain with
      	four argument constructor (arguments are the same
      	as those implied by the two argument constructor).
      	(getContext()): Create ProtectionDomain instances
      	with four argument constructor using a null Principal
      	array (as before) but including the classloader, which
      	was always null before.
      
      From-SVN: r167952
      Andrew John Hughes committed
  3. 14 Aug, 2006 1 commit
    • Thread.java (accessControlState): New field. · be6415be
      2006-08-14  Gary Benson  <gbenson@redhat.com>
      
      	* java/lang/Thread.java (accessControlState): New field.
      	* java/security/VMAccessControlState.java: New file.
      	* java/security/natVMAccessControlState.cc: Likewise.
      	* java/security/VMAccessController.java
      	(contexts, inGetContext): Removed.
      	(pushContext, popContext, getContext): Use VMAccessControlState.
      	* Makefile.am (nat_source_files): Updated.
      	* sources.am, Makefile.in: Rebuilt.
      
      From-SVN: r116128
      Gary Benson committed
  4. 10 Aug, 2006 1 commit
    • java-stack.h (GetAccessControlStack): Change return type. · 3c95dcfd
      2006-08-10  Gary Benson  <gbenson@redhat.com>
      
      	* include/java-stack.h (GetAccessControlStack): Change return
      	type.
      	* stacktrace.cc (accesscontrol_trace_fn): Record the number of
      	Java frames encountered.
      	(GetAccessControlStack): Return a flag indicating whether a call to
      	doPrivileged was encountered rather than an array of method names.
      	* java/security/natVMAccessController.cc (getStack): Change return
      	type.
      	* java/security/VMAccessController.java (getStack): Likewise.
      	(getContext): Change to reflect the above.
      
      From-SVN: r116058
      Gary Benson committed
  5. 09 Aug, 2006 1 commit
  6. 07 Aug, 2006 1 commit
    • VMAccessController.java (pushContext, [...]): Use Thread.currentThread() to… · e79e0270
      VMAccessController.java (pushContext, [...]): Use Thread.currentThread() to determine when we're bootstrapping.
      
      2006-08-07  Gary Benson  <gbenson@redhat.com>
      
      	* java/security/VMAccessController.java (pushContext, popContext,
      	getContext): Use Thread.currentThread() to determine when we're
      	bootstrapping.
      	(runtimeInitialized): Remove.
      	* java/security/natVMAccessController.cc (runtimeInitialized):
      	Remove.
      
      From-SVN: r115996
      Gary Benson committed
  7. 28 Jul, 2006 1 commit
    • re PR libgcj/13604 (AccessController unfinished) · 464fc7a1
      2006-07-28  Gary Benson  <gbenson@redhat.com>
      	    Casey Marshall <csm@gnu.org>
      
      	PR libgcj/13604:
      	* include/java-stack.h (GetClassMethodStack): Declare.
      	* stacktrace.cc (GetClassMethodStack): New method.
      	* java/security/AccessController.java: Removed.
      	* java/security/VMAccessController.java: New file.
      	* java/security/natVMAccessController.cc: Likewise.
      	* Makefile.am (nat_source_files): Added the above.
      	* sources.am, Makefile.in: Rebuilt.
      
      
      Co-Authored-By: Casey Marshall <csm@gnu.org>
      
      From-SVN: r115793
      Gary Benson committed
  8. 15 Nov, 2005 1 commit
  9. 16 Jul, 2005 1 commit