<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to patches</title><link>https://sourceforge.net/p/oorexx/patches/</link><description>Recent changes to patches</description><atom:link href="https://sourceforge.net/p/oorexx/patches/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sun, 16 Nov 2025 07:17:40 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/oorexx/patches/feed.rss" rel="self" type="application/rss+xml"/><item><title>#223 SecurityManager at interpreter level</title><link>https://sourceforge.net/p/oorexx/patches/223/?limit=250#ebec</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Small rework for NativeActivation and NativeCode:&lt;br/&gt;
- added getEffectiveSecurityManager&lt;br/&gt;
- don't mix getSecurityManager and getEffectiveSecurityManager&lt;/p&gt;
&lt;p&gt;Still a WIP because the security of the setSecurityManager BIF has not yet been taken into account.&lt;/p&gt;
&lt;p&gt;Attached: SecurityManager-v3.patch (replace the previous patch)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jfaucher</dc:creator><pubDate>Sun, 16 Nov 2025 07:17:40 -0000</pubDate><guid>https://sourceforge.net39508746e3103e56593f9849d18732f913cd77fd</guid></item><item><title>#223 SecurityManager at interpreter level</title><link>https://sourceforge.net/p/oorexx/patches/223/?limit=250#a85e</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;Attachments has changed:&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Diff:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="gd"&gt;--- old&lt;/span&gt;
&lt;span class="gi"&gt;+++ new&lt;/span&gt;
&lt;span class="gu"&gt;@@ -1 +1,2 @@&lt;/span&gt;
&lt;span class="gi"&gt;+SecurityManager-v2.patch (9.6 kB; application/octet-stream)&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;interpreter.zip (10.4 kB; application/zip)
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jfaucher</dc:creator><pubDate>Sat, 15 Nov 2025 19:05:02 -0000</pubDate><guid>https://sourceforge.net121ceb03d5910a79b1a100ce69531ce88d02df74</guid></item><item><title>SecurityManager at interpreter level</title><link>https://sourceforge.net/p/oorexx/patches/223/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Creating this ticket because devel-list seems to reject emails with attached zip.&lt;/p&gt;
&lt;p&gt;Still a WIP.&lt;/p&gt;
&lt;p&gt;Preliminary note:&lt;br/&gt;
The setSecurityManager methods are protected, allowing a security manager to prohibit its own replacement by the monitored agent program.&lt;br/&gt;
The new setSecurityManager BIF is not protected.&lt;/p&gt;
&lt;p&gt;The setSecurityManager BIF must be replaced by something that can be monitored.&lt;br/&gt;
Could be a Sys function.&lt;br/&gt;
Could be a method, but where?&lt;/p&gt;
&lt;p&gt;Or could call directly the checkFunctionCall of the security manager from the setSecurityManager BIF.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;On 14 Nov 2025, at 23:18, Rony G. Flatscher &lt;a href="mailto:Rony.Flatscher@wu.ac.at"&gt;Rony.Flatscher@wu.ac.at&lt;/a&gt; wrote:&lt;br/&gt;
Just to see whether I understood what this means: &lt;/p&gt;
&lt;p&gt;If one implements the above BIF and sets a security manager for an interpreter instance, then all code executed by that instance will be supervised with that security manager?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;yes but additional changes are needed.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Would this also include any called (not required) program? &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;yes, with the changes below.&lt;/p&gt;
&lt;p&gt;SM = SecurityManager&lt;br/&gt;
An SM is a wrapper of a manager, a manager is the RexxObject you pass to setSecurityManager.&lt;/p&gt;
&lt;p&gt;Some classes like Activity, RexxActivation and PackageClass have a securityManager (an attribute).&lt;br/&gt;
Some classes like MethodClass and RoutineClass delegate to their Code object.&lt;br/&gt;
The Code object delegates to its PackageClass.&lt;/p&gt;
&lt;p&gt;Activity and RexxActivation have an effective SecurityManager (a method).&lt;br/&gt;
The effective SM returns the stored SM if it is not NULL, otherwise the interpreter's SM.&lt;/p&gt;
&lt;p&gt;Changes applied:&lt;br/&gt;
Added an effective SM on PackageClass: getEffectiveSecurityManager()&lt;br/&gt;
Replaced the use of getSecurityManager() by the new getEffectiveSecurityManager() of PackageClass.&lt;br/&gt;
Modified the implementation of the effective SM to test if the stored SM is not NULL and active.&lt;br/&gt;
An active SM is an SM with a non NULL manager attribute.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If one sets the security manager to the interpreter it may be the case that the LOCAL, ENVIRONMENT and REQUIRES checkpoints do not get called. However, if one sets a security manager to the routine object (result of .routine~newFile(...)), then these checkpoints get called by sending the appropriate messages to the security manager?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;The REQUIRES checkpoints are called, that was the objective of this WIP.&lt;br/&gt;
I made minor changes to have the LOCAL and ENVIRONMENT called:&lt;br/&gt;
Use the new getEffectiveSecurityManager() of PackageClass, instead of getSecurityManager().&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;So to get a fully functional security manager one needs to do two things, a) set the interpreter instance to a security manager, and b) set the routine object to a security manager?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;b) is no longer needed.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;It will be possible to remove the security manager from the instance by invoking the BIF without an argument?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;yes&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If one does this, then the requires, local and environment checkpoints do not get sent anymore? &lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;yes, if there are not more specialized SMs (on routine or method or package).&lt;br/&gt;
The interpreter SM is just a default SM, it never replaces more specialized SMs.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Remember, a ticket was already opened by JMB:&lt;br/&gt;
&lt;a href="https://sourceforge.net/p/oorexx/bugs/1886"&gt;https://sourceforge.net/p/oorexx/bugs/1886&lt;/a&gt;&lt;br/&gt;
Thank you for pointing that out!&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Other older tickets:&lt;br/&gt;
&lt;a href="https://sourceforge.net/p/oorexx/bugs/1422/"&gt;https://sourceforge.net/p/oorexx/bugs/1422/&lt;/a&gt;&lt;br/&gt;
&lt;a href="https://sourceforge.net/p/oorexx/bugs/1487/"&gt;https://sourceforge.net/p/oorexx/bugs/1487/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Patch attached: SecurityManager-v2.patch&lt;br/&gt;
Test attached: interpreter.zip&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jfaucher</dc:creator><pubDate>Sat, 15 Nov 2025 19:03:58 -0000</pubDate><guid>https://sourceforge.net27b8f3e31bc2c9df4cda22e66c439ac8ef22a611</guid></item><item><title>SecurityManager at interpreter level</title><link>https://sourceforge.net/p/oorexx/patches/223/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 223 has been modified: SecurityManager at interpreter level&lt;br/&gt;
Edited By: jfaucher (jfaucher)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jfaucher</dc:creator><pubDate>Sat, 15 Nov 2025 19:03:58 -0000</pubDate><guid>https://sourceforge.net1934e9103926524b440ac15073260ef894dbf5a9</guid></item><item><title>#221 Windows Clipboard Unicode contents</title><link>https://sourceforge.net/p/oorexx/patches/221/?limit=25#6b48</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: pending --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rony G. Flatscher</dc:creator><pubDate>Fri, 02 May 2025 10:31:08 -0000</pubDate><guid>https://sourceforge.netfcc57036ff0996576e4c7f1a30785f1216471a5c</guid></item><item><title>#212 Change name of samples readme into readme.txt</title><link>https://sourceforge.net/p/oorexx/patches/212/?limit=250#bb06</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Per Olov Jonsson&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Per Olov Jonsson</dc:creator><pubDate>Mon, 10 Mar 2025 22:02:46 -0000</pubDate><guid>https://sourceforge.netc12ad2dc3b18f1cdd6c3560f0844e8e58e54f43b</guid></item><item><title>#212 Change name of samples readme into readme.txt</title><link>https://sourceforge.net/p/oorexx/patches/212/?limit=250#a3bc</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;0ReadMe.first is for Windows, this patch was for readme in the samples directory&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Per Olov Jonsson</dc:creator><pubDate>Mon, 10 Mar 2025 21:03:08 -0000</pubDate><guid>https://sourceforge.netabc9392133e14486ea29bcbdb3a1b6d8bc0de916</guid></item><item><title>#181 Suggested patch: Update init script to LSB standard</title><link>https://sourceforge.net/p/oorexx/patches/181/?limit=50#49eb</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; wont-fix&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Erich</dc:creator><pubDate>Sat, 13 Jan 2024 18:20:22 -0000</pubDate><guid>https://sourceforge.net69cc919f3b7af829b48f1b74563c6548ac38b4dc</guid></item><item><title>#217 test</title><link>https://sourceforge.net/p/oorexx/patches/217/?limit=50#53d0</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; wont-fix&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Erich</dc:creator><pubDate>Sat, 13 Jan 2024 18:17:48 -0000</pubDate><guid>https://sourceforge.net2ca5080e19e7335aed2601711f40e49be72c289d</guid></item><item><title>#213 oorexx on the BSD:s</title><link>https://sourceforge.net/p/oorexx/patches/213/?limit=50#cc78</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Erich</dc:creator><pubDate>Sat, 13 Jan 2024 18:17:04 -0000</pubDate><guid>https://sourceforge.netfe935aea5c7f2b71ba4a8096a691fdc6f1f66173</guid></item></channel></rss>