Version 2.  Users can create variables from any C file in the kernel with
DEVVARS_ENTRY.  Trusted users can create entries by name from an open or create
call.

I needed to do a few preparatory commits for this, notably dealing with a bug
in BSS zeroing.

------------
You can also find these patches at:
    [email protected]:brho/akaros.git
    FROM: 2fa42319139e master
    TO: 535ec6030b9a vars

And view them at: 
    https://github.com/brho/akaros/compare/2fa42319139e...535ec6030b9a



Barret Rhoden (6):
  Add kmalloc_array() interface
  Memset the BSS explicitly
  Remove the edata symbol
  Add the #vars device to export kernel variables
  Add an assert for UTEST that takes a format string
  Add a test for devvars

 kern/arch/riscv/kernel.ld  |   4 +-
 kern/arch/x86/kernel64.ld  |   4 +-
 kern/drivers/dev/Kbuild    |   1 +
 kern/drivers/dev/Kconfig   |  15 ++
 kern/drivers/dev/vars.c    | 487 +++++++++++++++++++++++++++++++++++++++++++++
 kern/include/kmalloc.h     |   5 +-
 kern/include/ns.h          |  10 +-
 kern/src/init.c            |   4 +-
 kern/src/kreallocarray.c   |   9 +
 kern/src/monitor.c         |   3 +-
 user/utest/devvars.c       | 125 ++++++++++++
 user/utest/include/utest.h |  13 ++
 12 files changed, 667 insertions(+), 13 deletions(-)
 create mode 100644 kern/drivers/dev/vars.c
 create mode 100644 user/utest/devvars.c

-- 
2.6.0.rc2.230.g3dd15c0

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to