Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-10-21
10:03 • Closed ticket [772581ffff]: children inherit 2 open pipes (security?) plus 4... artifact: c3584765d1 user: serhiy.storchaka
2012-09-07
14:44
Backport of 2008-12-12 8.6 commit: Fix missing CLOEXEC on internal pipes [2417695] check-in: 662a69f571 user: ferrieux tags: core-8-5-branch
2008-12-12
23:07 • Closed ticket [2417695fff]: Pipe descriptor leak plus 7 other changes artifact: 4a13eb887b user: ferrieux
21:32 • Ticket [2417695fff]: 4 changes artifact: 4872c9c9b1 user: ferrieux
21:32 • Add attachment pipe_cloexec.patch to ticket [2417695fffffffff|2417695ff... artifact: 2a36105c02 user: ferrieux
16:07
Fix missing CLOEXEC on internal pipes [2417695] and [chan pipe] fds. check-in: 5a5e87fae7 user: ferrieux tags: trunk
06:35 • Ticket [2417695fff] Pipe descriptor leak status still Open with 4 other chan... artifact: d4318c3744 user: ferrieux
2008-12-11
23:54 • Add attachment tcl_unix_notify.patch to ticket [2417695fffffffff|241769... artifact: 1cbc15c2f5 user: a3a3el
23:54 • Ticket [2417695fff] Pipe descriptor leak status still Open with 4 other chan... artifact: 597a66a911 user: a3a3el
16:54 • New ticket [2417695fff]. artifact: 3bf6ffb542 user: a3a3el

Pipe descriptor leak

Closed / Fixed2417695fffffffffffffffffffffffffffffffffCreated 18 years agoUpdated 18 years ago
Descriptionplain2008-12-11 16:54:47
The receive- and trigger-pipe descriptors in the UNIX notifier are not set FD_CLOEXEC, so they leak to any child processes.
a3a3elplain2008-12-11 23:54:47
File Added - 304930: tcl_unix_notify.patch
ferrieuxplain2008-12-12 06:35:18
You are right. And this also points to a yet undetected similar bug with standalone pipes [chan pipe]. I will fix both as soon as I get back to a unix system. Thanks !
ferrieuxplain2008-12-12 21:32:41
File Added - 305053: pipe_cloexec.patch

File Added: pipe_cloexec.patch
ferrieuxplain2008-12-12 23:07:50
Committed.
Log in (anonymous is fine) to add a comment.

Attachments: