mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-16 22:28:18 +00:00
Add an 'executable' flag to 'Rm_session::attach()'
With this patch clients of the RM service can state if they want a mapping to be executable or not. This allows dataspaces to be mapped as non-executable on Linux by default and as executable only if needed. Partially fixes #176.
This commit is contained in:
committed by
Norman Feske
parent
de92956220
commit
7a369bc74d
@ -25,10 +25,12 @@ namespace Genode {
|
||||
: Rpc_client<Rm_session>(session) { }
|
||||
|
||||
Local_addr attach(Dataspace_capability ds, size_t size, off_t offset,
|
||||
bool use_local_addr, Local_addr local_addr)
|
||||
bool use_local_addr, Local_addr local_addr,
|
||||
bool executable = false)
|
||||
{
|
||||
return call<Rpc_attach>(ds, size, offset,
|
||||
use_local_addr, local_addr);
|
||||
use_local_addr, local_addr,
|
||||
executable);
|
||||
}
|
||||
|
||||
void detach(Local_addr local_addr) {
|
||||
|
Reference in New Issue
Block a user