View Issue Details

IDProjectCategoryView StatusLast Update
0000629LDMud 3.3Runtimepublic2018-01-29 22:57
ReporterGnomi Assigned ToGnomi  
Status resolvedResolutionfixed 
Platformi686OSDebian GNU/LinuxOS Version4.0
Product Version3.3.718 
Target Version3.3.719Fixed in Version3.3.719 
Summary0000629: Close all sockets/files before executing erq.
DescriptionWhen erq is started it inherits all open file descriptions and sockets. I suggest closing all sockets except the socket pair for stdin and stdout.
TagsNo tags attached.



2009-05-19 16:34

manager   ~0001119

I set the close-on-exec-flag on all files that are opened by the driver, so ERQ doesn't get these. It doesn't work on files opened by libraries, but it's not trivial to catch these descriptors, so I'll leave it at that.

Committed as r2589.

Issue History

Date Modified Username Field Change
2009-04-20 14:34 Gnomi New Issue
2009-04-20 14:34 Gnomi Status new => assigned
2009-04-20 14:34 Gnomi Assigned To => Gnomi
2009-05-19 16:34 Gnomi Note Added: 0001119
2009-05-19 16:34 Gnomi Status assigned => resolved
2009-05-19 16:34 Gnomi Fixed in Version => 3.3.719
2009-05-19 16:34 Gnomi Resolution open => fixed
2010-11-16 10:42 Gnomi Source_changeset_attached => ldmud.git master bf558ca8
2018-01-29 19:59 Gnomi Source_changeset_attached => ldmud.git master bf558ca8
2018-01-29 22:57 Gnomi Source_changeset_attached => ldmud.git master bf558ca8