separate sandbox api from os

genodelabs/genode#4191
This commit is contained in:
Johannes Schlatow 2021-06-10 14:17:15 +02:00 committed by Christian Helmuth
parent e5600fea06
commit 026b117a63
15 changed files with 24 additions and 11 deletions

View File

@ -1,4 +1,5 @@
base base
sandbox
os os
vfs vfs
report_session report_session

View File

@ -18,7 +18,7 @@
#include <base/component.h> #include <base/component.h>
#include <base/session_object.h> #include <base/session_object.h>
#include <os/buffered_xml.h> #include <os/buffered_xml.h>
#include <os/sandbox.h> #include <sandbox/sandbox.h>
#include <os/dynamic_rom_session.h> #include <os/dynamic_rom_session.h>
#include <input/event.h> #include <input/event.h>
#include <util/utf8.h> #include <util/utf8.h>

View File

@ -17,7 +17,7 @@
#include <base/attached_rom_dataspace.h> #include <base/attached_rom_dataspace.h>
#include <base/buffered_output.h> #include <base/buffered_output.h>
#include <os/buffered_xml.h> #include <os/buffered_xml.h>
#include <os/sandbox.h> #include <sandbox/sandbox.h>
#include <os/dynamic_rom_session.h> #include <os/dynamic_rom_session.h>
#include <os/vfs.h> #include <os/vfs.h>
#include <os/reporter.h> #include <os/reporter.h>

View File

@ -11,8 +11,8 @@
* under the terms of the GNU Affero General Public License version 3. * under the terms of the GNU Affero General Public License version 3.
*/ */
#ifndef _INCLUDE__OS__SANDBOX_H_ #ifndef _INCLUDE__SANDBOX__SANDBOX_H_
#define _INCLUDE__OS__SANDBOX_H_ #define _INCLUDE__SANDBOX__SANDBOX_H_
#include <util/xml_node.h> #include <util/xml_node.h>
#include <util/noncopyable.h> #include <util/noncopyable.h>
@ -276,4 +276,4 @@ struct Genode::Sandbox::Local_service : private Local_service_base
} }
}; };
#endif /* _INCLUDE__OS__SANDBOX_H_ */ #endif /* _INCLUDE__SANDBOX__SANDBOX_H_ */

View File

@ -1,7 +1,7 @@
INCLUDE_SUB_DIRS := os util packet_stream_rx packet_stream_tx spec/x86_64/os \ INCLUDE_SUB_DIRS := os util packet_stream_rx packet_stream_tx spec/x86_64/os \
spec/arm/os spec/x86_32/os spec/arm_64/os spec/arm/os spec/x86_32/os spec/arm_64/os
MIRRORED_FROM_REP_DIR := $(addprefix include/,$(INCLUDE_SUB_DIRS)) lib/symbols MIRRORED_FROM_REP_DIR := $(addprefix include/,$(INCLUDE_SUB_DIRS))
content: $(MIRRORED_FROM_REP_DIR) LICENSE content: $(MIRRORED_FROM_REP_DIR) LICENSE

View File

@ -0,0 +1,8 @@
content: include/sandbox lib/symbols/sandbox LICENSE
include/sandbox lib/symbols/sandbox:
$(mirror_from_rep_dir)
LICENSE:
cp $(GENODE_DIR)/LICENSE $@

View File

@ -0,0 +1 @@
2021-06-10 c9628debcab3c3f059bde8825e1eae69692e5451

View File

@ -1,4 +1,5 @@
base base
sandbox
os os
report_session report_session
timer_session timer_session

View File

@ -1,3 +1,4 @@
base base
sandbox
os os
report_session report_session

View File

@ -1,3 +1,4 @@
base base
sandbox
os os
timer_session timer_session

View File

@ -14,7 +14,7 @@
/* Genode includes */ /* Genode includes */
#include <base/component.h> #include <base/component.h>
#include <base/attached_rom_dataspace.h> #include <base/attached_rom_dataspace.h>
#include <os/sandbox.h> #include <sandbox/sandbox.h>
#include <os/reporter.h> #include <os/reporter.h>
namespace Init { namespace Init {

View File

@ -20,7 +20,7 @@
#include <os/session_requester.h> #include <os/session_requester.h>
#include <os/session_policy.h> #include <os/session_policy.h>
#include <os/buffered_xml.h> #include <os/buffered_xml.h>
#include <os/sandbox.h> #include <sandbox/sandbox.h>
/* local includes */ /* local includes */
#include <types.h> #include <types.h>

View File

@ -13,7 +13,7 @@
/* Genode includes */ /* Genode includes */
#include <base/attached_rom_dataspace.h> #include <base/attached_rom_dataspace.h>
#include <os/sandbox.h> #include <sandbox/sandbox.h>
/* local includes */ /* local includes */
#include <child.h> #include <child.h>

View File

@ -16,7 +16,7 @@
/* Genode includes */ /* Genode includes */
#include <timer_session/connection.h> #include <timer_session/connection.h>
#include <os/sandbox.h> #include <sandbox/sandbox.h>
/* local includes */ /* local includes */
#include "report.h" #include "report.h"

View File

@ -15,7 +15,7 @@
#include <log_session/log_session.h> #include <log_session/log_session.h>
#include <base/session_object.h> #include <base/session_object.h>
#include <os/buffered_xml.h> #include <os/buffered_xml.h>
#include <os/sandbox.h> #include <sandbox/sandbox.h>
#include <timer_session/connection.h> #include <timer_session/connection.h>
namespace Test { namespace Test {