Artifacts Associated With Ticket 772581ffffffffff
Ticket change [fecd15c545] (rid 108649) by xtifr on 2003-07-16 20:23:55:
- assignee initialized to: "andreas_kupries"
- cmimetype initialized to: "text/plain"
- comment initialized to:
As reported by Debian's SELinux (Security Enhanced Linux) maintainer, Russell Coker, in <http://bugs.debian.org/201062>: the threaded *nix versions of tcl seem to open a pair of pipes, and the filehandles are not set to close-on-exec. Quoting Russell: "If the program runs in a different security context then these open file handles may allow the program to interfere with the operation of expect [or tclsh or whatever] and therefore gain undesired access to the system." Normally, of course, pipes should be inherited by children (that's their whole purpose), but these pipes seem to be used just for internal communications between threads, as far as I can tell. I'm not 100% sure this is a bug, but if it is, then I'm fairly sure it's an important one, and should probably be fixed before 8.4.4 is released. cheers
- foundin initialized to: "obsolete: 8.4.3"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "xtifr"
- subsystem initialized to: "49. Threading"
- title initialized to: "children inherit 2 open pipes (security?)"
- type initialized to: "Bug"
Ticket change [d4f7c521e4] (rid 123536) by vasiljevic on 2003-10-16 16:29:54:
- icomment:
Logged In: YES user_id=95086 Andreas, should I take over this one?
- login: "vasiljevic"
- mimetype: "text/plain"
- username: "vasiljevic"
- icomment:
Ticket change [e671856df5] (rid 104293) by andreas_kupries on 2006-03-15 05:14:15:
- assignee changed to: "vasiljevic"
- icomment:
Logged In: YES user_id=75003 Boy, am I late. Yes please.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
Ticket change [c3584765d1] (rid 259759) by serhiy.storchaka on 2026-10-21 10:03:40:
- icomment:
Fixed in 8.6.0 by [5a5e87fae7] and in 8.5.13 by [662a69f571] ([2417695]): the notifier's internal pipe is close-on-exec, so exec'd children no longer inherit it.
- login: "serhiy.storchaka"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- icomment:
Ticket change [05f153722e] (rid 260047) by serhiy.storchaka on 2026-10-22 17:19:32:
- closedate changed to: "2461334.9192149537"
- closer changed to: "serhiy.storchaka"
- login: "serhiy.storchaka"