Many RLV restrictions accept exceptions, for example @sendim:<uuid>=add. Normally an exception counts no matter which object added it, so one product can open a hole in another product's restriction. @permissive=n turns this off for every restriction: an exception only counts if the object that issued the restriction also issued the exception. In effect, every exception-capable restriction behaves like its _sec (secure) variant.
@permissive=<y|n>
The check lives in one function, containsWithoutException(action, exception), which every exception-capable restriction uses. Its logic:
<action>_sec restriction, and also for each plain <action> restriction while @permissive is active: if that same object hasn't also issued <action>:<exception> or <action>_sec:<exception>, the action is restricted.<action> restriction exists and no object at all has issued <action>:<exception> or <action>_sec:<exception>, the action is restricted.Restrictions affected (those that use containsWithoutException in the code): @sendim, @recvim, @recvchat, @recvemote, @sendchannel, @share, @startim, @tplure, @tprequest, @shownames, @edit, @touchworld, @touchhud and the teleport restrictions that take exceptions.
@permissive is global: any object setting it affects every restriction from every object, not just its own.@permissive=n.@sendimto, @recvchatfrom, @sendchannel_except, …) are not affected.// A collar that wants only its own exceptions to count
llOwnerSay("@permissive=n,sendim=n,sendim:" + (string)keyholder + "=add");
_sec variants documented on each base page, for example @sendim_sec.mContainsPermissive (RRInterface.cpp:442), read in containsWithoutException (1053-1091) at line 1073.isAllowed(uuid, x) is used in step 1 to mean "this object does not hold x".containsWithoutException("sendim")), the function returns whether action or action_sec is present, and @permissive plays no part.No differences found between Marine's RLV and CoolVL (mkrlinterface.cpp:941-994 is the same algorithm). CoolVL lists permissive in its "vanilla" blacklist preset.
This command works differently from RLVa's @permissive; see the comparison.