On Tue, Jul 14, 2015 at 12:22:51PM +0200, Ed Schouten wrote:
> Ah, okay. Now I think I understand what you're hinting at. So your
> proposal is to let cloudabi_sys_proc_raise() only call into
> sys_kill(), nothing else. We then reset all signals to their default
> behavior at some point during process startup.
> 
> Let me address this by the time I'm sending out the CloudABI sysentvec
> for review, as that would be the place where I'd need to do that. I'll
> remove the call to kern_sigaction() in the meantime. Does that sound
> all right?

Sounds fine.  But, I do not recomment to use sys_kill(), which is
the FreeBSD syscall implementation.  You should use pksignal(9) or
similar function directly, IMO.  Minor code duplication to create
proper ksiginfo is not critical, while you do not need pfind() or
complications with negative pid values.
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to