diff options
-rw-r--r-- | init/init.c | 29 |
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); } |