.
D 2000-10-26T05:10:54
J assignee nobody
J cmimetype text/plain
J comment OriginalBugID:\s5082\sRFE\nVersion:\s8.3.1\nSubmitDate:\s'2000-04-14'\nLastModified:\s'2000-04-14'\nSeverity:\sMED\nStatus:\sUnAssn\nSubmitter:\swelch\nChangedBy:\swelch\nOS:\sAll\sUnix\nFixedDate:\s'2000-10-25'\nClosedDate:\s'2000-10-25'\n\n\nThe\stcl\sshells\sshould\sprocess\sa\s-setuid\sand\s-setgid\scommand\sline\nargument\sbefore\sthe\sTcl\sinterpreter\sis\sinitialized.\s\sThe\sproblem\sis\nthat\sif\sthe\ssetuid\sis\sdone\safter\sthe\sNotifier\sthread\s(or\sany\sother\sthread)\nthen\son\smany\ssystems\sonly\sthe\smain\sthread\schanges\suser\sID.\s\sAfter\sthat,\nthe\ssignals\sused\sbetween\sthreads\sby\sthe\spthread\simplementation\sfail,\ntherefore\scondition\svariables\sdon't\swork,\stherefore\sTcl\slocks\sup.\n\nIt\sgets\sworse.\s\sIf\sthe\sTcl\sshell\swants\sto\sopen\sa\sprivileged\ssocket\sport,\nit\scan\sonly\sdo\sthis\sas\sroot.\s\sI'm\snot\ssure,\sbut\sit\smay\sbe\spossible\nto\stemporarily\srestore\sthe\smain\sthread\sto\sroot,\sopen\sthe\ssocket,\nand\sthen\sswitch\sback.\s\sI\sthink\ssetuid\slets\syou\sdo\sthis\ssort\sof\sthing.\n\n
J foundin obsolete:\s8.3.1
J priority 5\sMedium
J resolution None
J status Open
J submitter nobody
J subsystem 49.\sThreading
J title tclsh\sneeds\sa\s-setuid\sand\s-setgid\scommand\sline\sargument
J type RFE
K 219334ffffffffffffffffffffffffffffffffff
U nobody
Z 52b9717d982672bd8dd55e6b18611bc0