Modify

Opened 3 years ago

#18255 new defect

procd not setting pgrp (process group)

Reported by: etienne.champetier Owned by: developers
Priority: normal Milestone:
Component: packages Version: Trunk
Keywords: Cc:

Description

Hi,

while investigating an htop issue
https://github.com/openwrt/packages/issues/426
i found out that procd isn't setting the pgrp of his child (call to setpgrp/setpgid/setsid)

I've checked and it's the only init with pgrp == 0 and child with pgrp == 0 (busybox init, systemd init, ..., all have pgrp == 1, and child pgrp == pid)

I have no idea of the possible side effects of this settings, reading wikipedia it's related to signal distribution, so i think it should be set, but i wouldn't mind some help

Thanks in advance

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.