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

Yang Xu xuyang2018.jy@cn.fujitsu.com
Wed Feb 26 02:19:13 CET 2020


Hi

> 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.
Thanks for the removing.

Best Regards
Yang Xu
> 




More information about the ltp mailing list