Skip to content
Tcl Source Code Artifact [7b10e97bcc]
Login

Artifact [7b10e97bcc]

Artifact 7b10e97bcc9729364177047fdb9ca882a1d1586d:

Ticket change [7b10e97bcc] - Ticket [488530ffffffffff|488530ffff] <i>setuid Tcl scripts don&#39;t work on Solaris</i> status still Open with 4 other changes by kennykb on 2001-12-04 22:01:14.
D 2001-12-04T22:01:14
J icomment Logged\sIn:\sYES\s\nuser_id=99768\n\nThe\suser\sin\squestion\salready\shas\sa\sworkaround\sof\sseparating\sthe\ssetuid\sshell\sscript\sfrom\sthe\sTcl\sscript:\s\nhttp://mini.net/tcl/2654.html\s\n\nThe\sproposed\sworkaround\sdepends\son\sthe\ssize\sof\sthe\sbuffer\sused\sin\s/bin/sh.\s\sThere\sreally\sisn't\sany\sreason\s\nfor\sthe\sshell\sto\sreposition\sits\sscript\sfile\sbefore\sdoing\san\sexec,\sso\sI'd\sbe\sreally\sreluctant\sto\scall\sthis\sa\sshell\s\nbug.\s\sNote\sthat\sone\sexpects\sthe\sscript\sto\srestart\sfrom\sthe\sbeginning,\sas\sit\swould\sif\sthe\s/dev/fd\shack\sweren't\s\nthere.\n\nI\sthink\sthat\sthe\sunderlying\sbug\sis\sin\sthe\skernel,\sthat\sopening\s/dev/fd/N\sdoesn't\sdo\sa\srewind.\s\sIt\sshould,\sif\sthe\s\nimplementors\sare\sgoing\sto\suse\sthis\shack\son\ssetuid\sshell\sscripts.\n
J login kennykb
J mimetype text/plain
J username kennykb
K 488530ffffffffffffffffffffffffffffffffff
U kennykb
Z 77648575fa2e848c2f8dba56835c6932