[LTP] [PATCH] syscalls/kill11: convert to new library

Cyril Hrubis chrubis@suse.cz
Tue Feb 25 13:54:50 CET 2020


Hi!
Pushed with a minor change, thanks.

> +	if (tc->sig != SIGKILL) {
> +		if (sigset(tc->sig, SIG_DFL) == SIG_ERR)
> +			tst_brk(TBROK | TERRNO, "sigset(%d) failed", tc->sig);
>  	}

There is no need to restore the default signal handlers if we haven't
changed them, so I've removed this part as well.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list