dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[dotgnu-pnet-commits] pnetlib ChangeLog runtime/System/Security/HostS...


From: Klaus Treichel
Subject: [dotgnu-pnet-commits] pnetlib ChangeLog runtime/System/Security/HostS...
Date: Sun, 01 Feb 2009 20:34:26 +0000

CVSROOT:        /cvsroot/dotgnu-pnet
Module name:    pnetlib
Changes by:     Klaus Treichel <ktreichel>      09/02/01 20:34:26

Modified files:
        .              : ChangeLog 
Added files:
        runtime/System/Security: HostSecurityManagerOptions.cs 
                                 SecurityCriticalScope.cs 
                                 SecurityCriticalAttribute.cs 
                                 SecuritySafeCriticalAttribute.cs 
                                 SecurityTransparentAttribute.cs 
                                 SecurityTreatAsSafeAttribute.cs 

Log message:
        Add more 2.0 stuff.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/pnetlib/ChangeLog?cvsroot=dotgnu-pnet&r1=1.2553&r2=1.2554
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Security/HostSecurityManagerOptions.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Security/SecurityCriticalScope.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Security/SecurityCriticalAttribute.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Security/SecuritySafeCriticalAttribute.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Security/SecurityTransparentAttribute.cs?cvsroot=dotgnu-pnet&rev=1.1
http://cvs.savannah.gnu.org/viewcvs/pnetlib/runtime/System/Security/SecurityTreatAsSafeAttribute.cs?cvsroot=dotgnu-pnet&rev=1.1

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/ChangeLog,v
retrieving revision 1.2553
retrieving revision 1.2554
diff -u -b -r1.2553 -r1.2554
--- ChangeLog   1 Feb 2009 17:17:33 -0000       1.2553
+++ ChangeLog   1 Feb 2009 20:34:25 -0000       1.2554
@@ -30,11 +30,19 @@
        runtime/System/MidpointRounding.cs,
        runtime/System/StringSplitOptions.cs,
        System/UriComponents.cs, System/UriFormat.cs, System/UriIdnScope.cs,
-       System/UriKind.cs: Add some 2.0 enumerations.
+       System/UriKind.cs, 
runtime/System/Security/HostSecurityManagerOptions.cs,
+       runtime/System/Security/SecurityCriticalScope.cs: Add some 2.0
+       enumerations.
 
        * runtime/System/EventHandler_1.cs: Add the generic version of the
        EventHandler class.
 
+       * runtime/System/Security/SecurityCriticalAttribute.cs,
+       runtime/System/Security/SecuritySafeCriticalAttribute.cs,
+       runtime/System/Security/SecurityTransparentAttribute.cs,
+       runtime/System/Security/SecurityTreatAsSafeAttribute.cs: Add some 2.0
+       security attributes.
+
 2009-01-28  Heiko Weiss <address@hidden>
 
        * System.Xml/XmlReader.cs: fix ReadString for empty elements

Index: runtime/System/Security/HostSecurityManagerOptions.cs
===================================================================
RCS file: runtime/System/Security/HostSecurityManagerOptions.cs
diff -N runtime/System/Security/HostSecurityManagerOptions.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Security/HostSecurityManagerOptions.cs       1 Feb 2009 
20:34:26 -0000       1.1
@@ -0,0 +1,47 @@
+/*
+ * HostSecurityManagerOptions.cs - Implementation of the
+ *                                     
"System.Security.HostSecurityManagerOptions" enumeration.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Security
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+using System.Runtime.InteropServices;
+
+[Serializable]
+[ComVisible(true)]
+[Flags]
+public enum HostSecurityManagerOptions
+{
+
+       None                                                    = 0x00,
+       HostAppDomainEvidence                   = 0x01,
+       HostPolicyLevel                                 = 0x02,
+       HostAssemblyEvidence                    = 0x04,
+       HostDetermineApplicationTrust   = 0x08,
+       HostResolvePolicy                               = 0x10,
+       AllFlags                                                = 0x7f
+
+}; // enum HostSecurityManagerOptions
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Security

Index: runtime/System/Security/SecurityCriticalScope.cs
===================================================================
RCS file: runtime/System/Security/SecurityCriticalScope.cs
diff -N runtime/System/Security/SecurityCriticalScope.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Security/SecurityCriticalScope.cs    1 Feb 2009 20:34:26 
-0000       1.1
@@ -0,0 +1,37 @@
+/*
+ * SecurityCriticalScope.cs - Implementation of the
+ *                                     "System.Security.SecurityCriticalScope" 
enumeration.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Security
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+public enum SecurityCriticalScope
+{
+
+       Explicit        = 0,
+       Everything      = 1
+
+}; // enum SecurityCriticalScope
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Security

Index: runtime/System/Security/SecurityCriticalAttribute.cs
===================================================================
RCS file: runtime/System/Security/SecurityCriticalAttribute.cs
diff -N runtime/System/Security/SecurityCriticalAttribute.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Security/SecurityCriticalAttribute.cs        1 Feb 2009 
20:34:26 -0000       1.1
@@ -0,0 +1,66 @@
+/*
+ * SecurityCriticalAttribute.cs - Implementation of the
+ *                                     
"System.Security.SecurityCriticalAttribute" class.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Security
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+[AttributeUsage(AttributeTargets.Assembly |
+                               AttributeTargets.Module |
+                               AttributeTargets.Class |
+                               AttributeTargets.Struct |
+                               AttributeTargets.Enum |
+                               AttributeTargets.Constructor |
+                               AttributeTargets.Method |
+                               AttributeTargets.Property |
+                               AttributeTargets.Field |
+                               AttributeTargets.Event |
+                               AttributeTargets.Interface |
+                               AttributeTargets.Delegate,
+                               AllowMultiple = false, Inherited = false)]
+public sealed class SecurityCriticalAttribute : Attribute
+{
+
+       SecurityCriticalScope scope;
+
+       public SecurityCriticalAttribute()
+       {
+       }
+
+       public SecurityCriticalAttribute(SecurityCriticalScope scope)
+       {
+               this.scope = scope;
+       }
+
+       public SecurityCriticalScope Scope
+       {
+               get
+               {
+                       return scope;
+               }
+       }
+
+}; // class SecurityCriticalAttribute
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Security

Index: runtime/System/Security/SecuritySafeCriticalAttribute.cs
===================================================================
RCS file: runtime/System/Security/SecuritySafeCriticalAttribute.cs
diff -N runtime/System/Security/SecuritySafeCriticalAttribute.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Security/SecuritySafeCriticalAttribute.cs    1 Feb 2009 
20:34:26 -0000       1.1
@@ -0,0 +1,41 @@
+/*
+ * SecuritySafeCriticalAttribute.cs - Implementation of the
+ *                                     
"System.Security.SecuritySafeCriticalAttribute" class.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Security
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+[AttributeUsage(AttributeTargets.All,
+                               AllowMultiple = false, Inherited = false)]
+public sealed class SecuritySafeCriticalAttribute : Attribute
+{
+
+       public SecuritySafeCriticalAttribute()
+       {
+       }
+
+
+}; // class SecuritySafeCriticalAttribute
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Security

Index: runtime/System/Security/SecurityTransparentAttribute.cs
===================================================================
RCS file: runtime/System/Security/SecurityTransparentAttribute.cs
diff -N runtime/System/Security/SecurityTransparentAttribute.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Security/SecurityTransparentAttribute.cs     1 Feb 2009 
20:34:26 -0000       1.1
@@ -0,0 +1,41 @@
+/*
+ * SecurityTransparentAttribute.cs - Implementation of the
+ *                                     
"System.Security.SecurityTransparentAttribute" class.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Security
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+[AttributeUsage(AttributeTargets.Assembly,
+                               AllowMultiple = false, Inherited = false)]
+public sealed class SecurityTransparentAttribute : Attribute
+{
+
+       public SecurityTransparentAttribute()
+       {
+       }
+
+
+}; // class SecurityTransparentAttribute
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Security

Index: runtime/System/Security/SecurityTreatAsSafeAttribute.cs
===================================================================
RCS file: runtime/System/Security/SecurityTreatAsSafeAttribute.cs
diff -N runtime/System/Security/SecurityTreatAsSafeAttribute.cs
--- /dev/null   1 Jan 1970 00:00:00 -0000
+++ runtime/System/Security/SecurityTreatAsSafeAttribute.cs     1 Feb 2009 
20:34:26 -0000       1.1
@@ -0,0 +1,41 @@
+/*
+ * SecurityTreatAsSafeAttribute.cs - Implementation of the
+ *                                     
"System.Security.SecurityTreatAsSafeAttribute" class.
+ *
+ * Copyright (C) 2009  Free Software Foundation Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
+
+namespace System.Security
+{
+
+#if !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+[AttributeUsage(AttributeTargets.All,
+                               AllowMultiple = false, Inherited = false)]
+public sealed class SecurityTreatAsSafeAttribute : Attribute
+{
+
+       public SecurityTreatAsSafeAttribute()
+       {
+       }
+
+
+}; // class SecurityTreatAsSafeAttribute
+
+#endif // !ECMA_COMPAT && CONFIG_FRAMEWORK_2_0 && !CONFIG_COMPACT_FRAMEWORK
+
+}; // namespace System.Security




reply via email to

[Prev in Thread] Current Thread [Next in Thread]