diff options
author | Lauri Aarnio <Lauri.Aarnio@iki.fi> | 2008-11-11 00:09:55 +0200 |
---|---|---|
committer | Lauri Leukkunen <lle@rahina.org> | 2008-12-07 04:32:46 +0200 |
commit | 87d9f856fe6bfe193a8d20c16c6834eb49c4e79a (patch) | |
tree | e8a980502273220a8e1d0be868b74348560a3b3d /include | |
parent | bd2828051f5a407dfb4d989cdd0d801fc3b134e2 (diff) |
emulate mode: target_root is now R/O for "normal" use, "sb2 -R" makes it R/W
- A stricter policy protects agains accidental writing to target_root
(rootstrap):
- When the "emulate" mode is entered with option "-R" (e.g. "sb2 -eR" or
"sb2 -m emulate -R") target_root will be "mounted" for read/write access.
The "-R" option also activates "fakeroot", so the user experience should be
as close to a "normal" system as possible.
Diffstat (limited to 'include')
-rw-r--r-- | include/sb2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/sb2.h b/include/sb2.h index 0f6298e..f3274b1 100644 --- a/include/sb2.h +++ b/include/sb2.h @@ -35,10 +35,12 @@ struct lua_instance { * * Differences between "28,lta-2008-09-23" and "35,lta-2008-10-01": * - sbox_get_mapping_requirements(): parameter work_dir was removed * - sbox_translate_path(): as above + * * Differences between "35,lta-2008-10-01" and "53,lta-2008-11-10" + * - added new functions sb.get_forced_mapmode() and sb.get_session_perm() * * NOTE: the corresponding identifier for Lua is in lua_scripts/main.lua */ -#define SB2_LUA_C_INTERFACE_VERSION "35,lta-2008-10-01" +#define SB2_LUA_C_INTERFACE_VERSION "53,lta-2008-11-10" struct lua_instance *get_lua(void); @@ -91,6 +93,7 @@ extern int sb2_global_vars_initialized__; extern void sb2_initialize_global_variables(void); extern char *sbox_session_dir; extern char *sbox_session_mode; +extern char *sbox_session_perm; extern char *sbox_orig_ld_preload; extern char *sbox_orig_ld_library_path; extern char *sbox_binary_name; |