summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-01-28 20:00:31 +0000
committerRoland McGrath <roland@gnu.org>1995-01-28 20:00:31 +0000
commit1d862406db123c28d5007865afa316c9b48036d0 (patch)
treed7c21d9d4912672e9d38da45bb707b87bbac90b6 /init
parent995580df9657a4dab11b627f96e3a43050713a21 (diff)
Include "msg_S.h". Prepend `msg_' to msg.defs server functions.
Add stubs for new msg.defs functions.
Diffstat (limited to 'init')
-rw-r--r--init/init.c29
1 files changed, 26 insertions, 3 deletions
diff --git a/init/init.c b/init/init.c
index 7c6b713e..08fa9f84 100644
--- a/init/init.c
+++ b/init/init.c
@@ -40,6 +40,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "startup_reply_U.h"
#include "startup_S.h"
#include "notify_S.h"
+#include "msg_S.h"
/* host_reboot flags for when we crash. */
#define CRASH_FLAGS RB_AUTOBOOT
@@ -946,9 +947,17 @@ do_mach_notify_msg_accepted (mach_port_t notify,
/* msg server */
kern_return_t
-S_sig_post (mach_port_t msgport,
- mach_port_t reply, mach_msg_type_name_t reply_type,
- int signo, mach_port_t refport)
+S_msg_sig_post (mach_port_t msgport,
+ mach_port_t reply, mach_msg_type_name_t reply_type,
+ int signo, mach_port_t refport)
+{
+ return S_msg_sig_post_untraced (msgport, reply, reply_type, signo, refport);
+}
+
+kern_return_t
+S_msg_sig_post_untraced (mach_port_t msgport,
+ mach_port_t reply, mach_msg_type_name_t reply_type,
+ int signo, mach_port_t refport)
{
if (refport != mach_task_self ())
return EPERM;
@@ -1148,3 +1157,17 @@ S_msg_set_env_variable (mach_port_t process,
kern_return_t
S_msg_startup_dosync (mach_port_t process)
{ return _S_msg_startup_dosync (process); }
+
+kern_return_t
+S_msg_get_exec_flags (mach_port_t process, mach_port_t refport, int *flags)
+{ return _S_msg_get_exec_flags (process, refport, flags); }
+kern_return_t
+S_msg_set_all_exec_flags (mach_port_t process, mach_port_t refport, int flags)
+{ return _S_msg_set_all_exec_flags (process, refport, flags); }
+kern_return_t
+S_msg_set_some_exec_flags (mach_port_t process, mach_port_t refport, int flags)
+{ return _S_msg_set_some_exec_flags (process, refport, flags); }
+kern_return_t
+S_msg_clear_some_exec_flags (mach_port_t process, mach_port_t refport,
+ int flags)
+{ return _S_msg_clear_some_exec_flags (process, refport, flags); }