Skip to content
Tcl Source Code Artifact [708c29db03]
Login

Artifact [708c29db03]

Artifact 708c29db03110212ac696a25bcd7531e2f6c1f8a:

Ticket change [708c29db03] - Ticket [930225ffffffffff|930225ffff] <i>access() - safe to use?</i> status still Open with 4 other changes by dkf on 2004-04-06 21:38:30.
D 2004-04-06T21:38:30
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nOK,\saccess(2)\sis\sbroken-by-design\sbut\swe\scan't\ssubstitute\nfor\sanything\selse.\s\sSolution\sis\sfor\s*users*\sto\savoid\sit\swhen\nrunning\sin\sa\sTcl\sinterpreter\swith\snon-trivial\sprivileges.\s\nIn\stheory\swe\scould\senforce\sthis\sby\srefusing\sto\scall\saccess()\nwhen\sthe\sreal\sand\seffective\s[ug]ids\sare\sdifferent,\sbut\sthat\nwould\sbe\svery\sintrusive.\n\nA\sbetter\ssolution\swould\sbe\sto\sprovide\saccess\sto\ssomething\nlike\sfstat()\sso\sthat\scode\scould\scheck\sthat\sit\shas\sopened\nwhat\sit\sthinks\sit\shas\sopened...?\n
J login dkf
J mimetype text/plain
J username dkf
K 930225ffffffffffffffffffffffffffffffffff
U dkf
Z 8099eaf3a9e5ee54986bbae049a82d13