[LTP] [PATCH] syscalls: kill: Remove kill07
    Ricardo B. Marlière 
    rbm@suse.com
       
    Mon Jun 16 13:01:54 CEST 2025
    
    
  
On Wed Jun 11, 2025 at 10:52 PM -03, Li Wang wrote:
> Ricardo B. Marlière via ltp <ltp@lists.linux.it> wrote:
>
> From: Ricardo B. Marlière <rbm@suse.com>
>>
>> The test case description reads:
>>
>> "Test case to check that SIGKILL can not be caught."
>>
>> It makes use of sigaction() to set up a handler for SIGKILL, but
>> according to its manual page:
>>
>> "EINVAL An invalid signal was specified.  This will also be generated if an
>> attempt is made to change the action for SIGKILL or SIGSTOP, which cannot
>> be caught or ignored."
>>
>
> Or could we refactor kill07 to validate the EINVAL when changing action on
> SIGKILL/SIGSTOP?
But then we would be testing sigaction(). Could you please elaborate?
Thanks,
-	Ricardo.
    
    
More information about the ltp
mailing list