lua-users home
lua-l archive

Search lua-l

This index contains 143,615 documents and 1,774,615 keywords. Last update on 2023-03-09 .

Query: [How to search]

Display: Description: Sort by:

Results:

References: [ sandboxing: 527 ]

Total 527 documents matching your query.

41. Re: Question on get/setmetatable() (score: 2)
Author: "Joseph C. Sible" <josephcsible@...>
Date: Sat, 23 May 2020 14:35:11 -0400
This is a pet peeve of mine: you don't ever need to restrict setmetatable or getmetatable. You can't use setmetatable on non-tables even with no sandboxing, and that plus using __metatable appropriat
42. Re: Question on get/setmetatable() (score: 2)
Author: Andrew Gierth <andrew@...>
Date: Sat, 23 May 2020 14:05:13 +0100
Philippe> I'm not inventing the [[...]] notation: Well, you'd need to invent something else, because [[...]] already has a meaning in Lua. (t[[x]] is actually a function call, though not a very obvi
43. Re: question on _ENV (score: 2)
Author: Andrew Gierth <andrew@...>
Date: Thu, 21 May 2020 18:31:15 +0100
Coda> The advantage is exactly the same thing: it uses the standard Coda> language mechanisms instead of poking at the function internals, Coda> and it ends up also being a little more flexible and
44. Re: question on local vs nonlocal (score: 3)
Author: Philippe Verdy <verdyp@...>
Date: Sat, 16 May 2020 09:09:59 +0200
Finally if all variables are purely local and you enforce Lua to behave as a functional language, all Lua scripts will have to pass many input and output parameters explicitly. Calling functions will
45. Re: question on local vs nonlocal (score: 3)
Author: Philippe Verdy <verdyp@...>
Date: Sat, 16 May 2020 09:01:25 +0200
Also the proposed "solution", if it becomes implemented by default, would create a severe security issue: if the "\" syntax is used to uinconditionally give access to the parent environment, it will
46. Re: question on local vs nonlocal (score: 2)
Author: William Ahern <william@...>
Date: Tue, 12 May 2020 15:47:52 -0700
The creator of Ruby called local-by-default "the single biggest design flaw in Ruby". http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/42266 All the problems you have with unintended or ac
47. Release: JAL 0.0.1 Alpha (score: 2)
Author: Stefan Ginsberg <stefan.ginsberg@...>
Date: Sun, 22 Mar 2020 12:03:49 +0100
Hello. I have released JAL 0.0.1 Alpha as a spinoff of Lua. JAL has various changes to the codebase which in my opinion improve the functionality on several points. Please do not view any of this as
48. Re: Interrupting a lua script (score: 2)
Author: Archie Cobbs <archie.cobbs@...>
Date: Sun, 26 Jan 2020 15:01:01 -0600
On Sun, Jan 26, 2020 at 2:28 PM Levente Kovacs <leventelist@gmail.com> wrote: I have a C application that runs a LUA script. That script might have an infinite loop. Is there any way in my C applicat
49. Re: Why no for table-iterator like e. g. "hashpairs"? (score: 2)
Author: Coda Highland <chighland@...>
Date: Mon, 4 Nov 2019 21:12:43 -0600
Er, seriously? Compiled _javascript_ is faster than C? How is the current version of Lua not ?safe?? It?s one of the most stable code bases I?ve ever encountered. The performance claim might actuall
50. Re: Lua and Sol2 on Embedded Target? (score: 2)
Author: Philipp Janda <siffiejoe@...>
Date: Sat, 26 Oct 2019 16:53:54 +0200
Am 25.10.19 um 04:41 schröbte Russell Haley: Hello, Hi! So, now comes the torrent of questions: - Has anyone used Lua with Keil? I haven't, but it seems llvm/clang based with complete c++14 support,
51. Re: On implementing a functions whitelist for a sandbox (score: 4)
Author: Sean Conner <sean@...>
Date: Thu, 8 Aug 2019 12:01:52 -0400
It was thus said that the Great Dennis Fischer once stated: Ah, now that I see what code was presented in _Programming in Lua_ for sandboxing, I can see where the confusion comes froms. The approach
52. Re: On implementing a functions whitelist for a sandbox (score: 4)
Author: Sean Conner <sean@...>
Date: Wed, 7 Aug 2019 23:42:17 -0400
It was thus said that the Great Kynn Jones once stated: You're welcome. A sandbox is just a limited environment in which you run a program. For Lua, this can be anything from an environment devoid of
53. Re: On implementing a functions whitelist for a sandbox (score: 2)
Author: Kynn Jones <kynnjo@...>
Date: Wed, 7 Aug 2019 21:20:50 -0400
Hi Sean, Thank you for the detailed explanation. I think that the disconnect here is that I am trying (**really, really, really hard**) to implement what Roberto Ierusalimschy recommends in chapter 2
54. Re: Suggestion: names-isolation-statement (score: 2)
Author: nobody <nobody+lua-list@...>
Date: Mon, 15 Jul 2019 10:55:28 +0200
On 11/07/2019 23.15, Egor Skriptunoff wrote: A new syntax:    with white-list-of-names do       ....    end This statement makes all names from the outer scope (with exception of white-listed names)
55. Re: tostring userdata (score: 2)
Author: Coda Highland <chighland@...>
Date: Sat, 6 Jul 2019 00:02:21 -0500
On Fri, Jul 5, 2019 at 10:56 PM Sean Conner <sean@conman.org> wrote: It was thus said that the Great Coda Highland once stated:   Okay, so was this *ever* brought up about tostring()?  Because: [spc]
56. Re: [BUG] unsafe metatable paradigm (score: 2)
Author: Viacheslav Usov <via.usov@...>
Date: Wed, 26 Jun 2019 14:37:11 +0200
On Tue, Jun 25, 2019 at 11:18 PM Andrew Gierth <andrew@tao11.riddles.org.uk> wrote: > I suspect most sandboxes don't expose the IO library at all (mine certainly does not), since unmediated file acce
57. Re: [BUG] unsafe metatable paradigm (score: 2)
Author: Andrew Gierth <andrew@...>
Date: Tue, 25 Jun 2019 22:17:47 +0100
Viacheslav> So, why is the standard IO library not sandbox-friendly (in Viacheslav> the strict sense clarified above) out of the box? I suspect most sandboxes don't expose the IO library at all (min
58. Re: [BUG] unsafe metatable paradigm (score: 2)
Author: Viacheslav Usov <via.usov@...>
Date: Mon, 24 Jun 2019 22:37:56 +0200
On Mon, Jun 24, 2019 at 9:13 PM Egor Skriptunoff <egor.skriptunoff@gmail.com> wrote: > What trouble you are talking about? The trouble is the pervasive use of the unsafe paradigm in extant library co
59. Re: Errors in finalizers (score: 2)
Author: Andrew Gierth <andrew@...>
Date: Tue, 04 Jun 2019 22:08:05 +0100
David> But this is exactly what could happen when you throw the error David> in a finalizer: The code might currently be in a pcall which David> doesn't expect your finalizer error and therefor also
60. Re: lua-l Digest, Vol 105, Issue 13 (score: 2)
Author: Sergey Kovalev <kovserg33@...>
Date: Sat, 6 Apr 2019 18:52:48 +0300
I don't really understand how to use this mail list correctly from gmail. But I just want something like this not as crutch but as usual case for regular use. function pure_function(fn)     return lo

Search by Namazu v2.0.21