2014-01-23 17:21:35 +01:00
|
|
|
/*
|
|
|
|
* \brief Parent_execve interface
|
|
|
|
* \author Christian Prochaska
|
|
|
|
* \date 2014-01-13
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 13:23:52 +01:00
|
|
|
* Copyright (C) 2014-2017 Genode Labs GmbH
|
2014-01-23 17:21:35 +01:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 13:23:52 +01:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2014-01-23 17:21:35 +01:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _NOUX__PARENT_EXECVE__H_
|
|
|
|
#define _NOUX__PARENT_EXECVE__H_
|
|
|
|
|
|
|
|
/* Noux includes */
|
|
|
|
#include <noux_session/sysio.h>
|
|
|
|
|
|
|
|
namespace Noux {
|
|
|
|
struct Family_member;
|
2017-01-06 12:12:39 +01:00
|
|
|
struct Parent_execve;
|
|
|
|
}
|
2014-01-23 17:21:35 +01:00
|
|
|
|
|
|
|
|
2019-01-18 16:18:19 +01:00
|
|
|
struct Noux::Parent_execve : Genode::Interface
|
2017-01-06 12:12:39 +01:00
|
|
|
{
|
|
|
|
virtual void execve_child(Family_member &child,
|
|
|
|
const char *filename,
|
|
|
|
Args const &args,
|
|
|
|
Sysio::Env const &env) = 0;
|
2014-01-23 17:21:35 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* _NOUX__PARENT_EXECVE__H_ */
|
|
|
|
|