Skip to content

Commit

Permalink
bump lunatik version to 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
lneto committed Nov 22, 2023
1 parent ae91484 commit ebee301
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ device.new(driver)
make
sudo make install
sudo lunatik # execute Lunatik REPL
Lunatik 3.2 Copyright (C) 2023 ring-0 Ltda.
Lunatik 3.3 Copyright (C) 2023 ring-0 Ltda.
> return 42 -- execute this line in the kernel
42
```
Expand All @@ -62,7 +62,7 @@ usage: lunatik [load|unload|reload|status|list] [run|spawn|stop <script>]

## Lua Version

Lunatik 3.2 is based on
Lunatik 3.3 is based on
[Lua 5.4 adapted](https://github.com/luainkernel/lua)
to run in the kernel.

Expand Down Expand Up @@ -778,7 +778,7 @@ The `fib` library provides support for the
#### `fib.newrule(table, priority)`
_fib.newrule()_ binds the kernel
_fib.newrule()_ binds the kernel
[fib_nl_newrule](https://elixir.bootlin.com/linux/latest/source/include/net/fib_rules.h#L182)
API;
it creates a new FIB rule that matches the specified routing _table_
Expand All @@ -789,7 +789,7 @@ provided by [iproute2](https://wiki.linuxfoundation.org/networking/iproute2).
#### `fib.delrule(table, priority)`
_fib.delrule()_ binds the kernel
_fib.delrule()_ binds the kernel
[fib_nl_delrule](https://elixir.bootlin.com/linux/latest/source/include/net/fib_rules.h#L184)
API;
it removes a FIB rule that matches the specified routing _table_
Expand Down Expand Up @@ -874,7 +874,7 @@ foo # retrieves foo
bar
^C # finishes the connection
sudo lunatik # runs lunatik prompt
Lunatik 3.2 Copyright (C) 2023 ring-0 Ltda.
Lunatik 3.3 Copyright (C) 2023 ring-0 Ltda.
> rcu = require("rcu") -- requires rcu library
> shared = rcu.subscribe("shared") -- subscribes to the shared table
> return shared.foo -- returns foo's value to the user space
Expand Down
2 changes: 1 addition & 1 deletion lunatik.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
#include <lua.h>
#include <lauxlib.h>

#define LUNATIK_VERSION "Lunatik 3.2"
#define LUNATIK_VERSION "Lunatik 3.3"

typedef struct lunatik_runtime_s {
lua_State *L;
Expand Down

0 comments on commit ebee301

Please sign in to comment.