Skip to content

setsid is never called on the child process after a fork in main_noinetd since version 2020.79 #180

@m5jt

Description

@m5jt

The main dropbear process is terminated if we send a TERM signal to the process group of a dropbear session process to terminate a specific session.

The problem seems to be that the setsid is never called on the child process after a fork in main_noinetd since version 2020.79.

The setsid is presently called in main_noinetd only if DEBUG_NOFORK is not defined and DEBUG_NOFORK is defined in debug.h.

The problem seems to have been introduced in commit 2a81289 when the usage of the DEBUG_NOFORK was reworked.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions