Skip to content

Support "superkill" with kill shell builtin #77

@AnthonyGiorgio

Description

@AnthonyGiorgio

I was debugging a problem with a filesystem where df was hanging. When I tried to kill the process, I discovered that kill -9 wasn't sufficient to terminate the process. I had to resort to superkill (kill -K) to terminate it. The problem that I encountered is that bash treats kill as a shell builtin, and it refuses the -K argument as an invalid signal. I had to call /bin/kill -K to actually issue the signal.
Would it be possible to add a patch to bash so that the shell builtin is able to handle this signal? There is a __superkill() API that could be used in this case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions