mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 04:43:53 +00:00
Do not restrict the allowed signals that can be specified by number
to the list of signals that has symbolic name. It was impossible to send rt signals with kill(1) due to the check. MFC after: 1 week
This commit is contained in:
parent
4d44fc9c59
commit
c67ea27d10
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=204308
|
@ -108,7 +108,7 @@ main(int argc, char *argv[])
|
|||
numsig = strtol(*argv, &ep, 10);
|
||||
if (!**argv || *ep)
|
||||
errx(1, "illegal signal number: %s", *argv);
|
||||
if (numsig < 0 || numsig >= sys_nsig)
|
||||
if (numsig < 0)
|
||||
nosig(*argv);
|
||||
} else
|
||||
nosig(*argv);
|
||||
|
|
Loading…
Reference in a new issue