Artifacts Associated With Ticket 413100ffffffffff
Ticket change [5f17750265] (rid 115753) by lewandowski on 2001-04-02 11:17:36:
- assignee initialized to: "nobody"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Fileevent don't work on transfered (thread::transfer) socket channel when using setuid extension (from tclhttpd). Command after works fine. I'am using: tclsh8.4a3, libthread2.2, setuid
- foundin initialized to: "None"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "lewandowski"
- subsystem initialized to: "02. Event Loops"
- title initialized to: "fileevent problem"
- type initialized to: "Bug"
Ticket change [ad48684def] (rid 101448) by andreas_kupries on 2001-04-02 21:41:20:
- icomment:
Logged In: YES user_id=75003 I don't understand "Command after works fine". Also, is it possible to attach a small script which exercises this problem ?
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Add attachment "script" [20717d8353] (rid 91309) by lewandowski on 2001-04-03 14:08:56.
Ticket change [27d079c6e4] (rid 88584) by lewandowski on 2001-04-03 14:08:57:
- icomment:
File Added - 4896: script
- login: "lewandowski"
- mimetype: "text/plain"
- username: "lewandowski"
- icomment:
Ticket change [ffa42fd12a] (rid 108782) by lewandowski on 2001-04-03 14:34:58:
- icomment:
File Added - 4897: script
- login: "lewandowski"
- mimetype: "text/plain"
- username: "lewandowski"
- icomment:
Add attachment "script" [6b25222208] (rid 128269) by lewandowski on 2001-04-03 14:34:58.
Add attachment "server" [2788ee638e] (rid 88533) by lewandowski on 2001-04-03 14:43:20.
Ticket change [c9e60e0301] (rid 122363) by lewandowski on 2001-04-03 14:43:20:
- icomment:
Logged In: YES user_id=174470 if use setuid "fileevent" and "after" don't work if use setuid and disable "fileevent", "after" is fine.
- login: "lewandowski"
- mimetype: "text/plain"
- username: "lewandowski"
- icomment:
Ticket change [cb6330e4c0] (rid 95503) by lewandowski on 2001-04-03 14:43:21:
- icomment:
File Added - 4898: server
- login: "lewandowski"
- mimetype: "text/plain"
- username: "lewandowski"
- icomment:
Ticket change [a65a93b7f1] (rid 98588) by lewandowski on 2001-04-03 14:51:41:
- icomment:
Logged In: YES user_id=174470 Please use new version script (4897:script). I can't delete old (4896:script)
- login: "lewandowski"
- mimetype: "text/plain"
- username: "lewandowski"
- icomment:
Ticket change [7cf29089c0] (rid 97166) by hobbs on 2001-08-07 07:28:11:
- assignee changed to: "andreas_kupries"
Ticket change [44e6ec0a56] (rid 116789) by andreas_kupries on 2001-08-07 07:55:02:
- icomment:
Logged In: YES user_id=75003 I see a couple of problems in the attached scripts: proc serverOpen {channel addr Port} { fileevent $channel readable "NewThread $channel $addr" puts $channel "Server OK" flush $channel } Why is 'NewThread' attached to a 'readable event' ? A simple [after idle] would be sufficient to move the transfer out of the sockey-handler. But more important is the fact that a thread is started, some event handlers are setup and then the event loop is _not_ entered ! The last command in the script should be a [vwait Stop] or similar and not the [proc]. As is the thread will setup the eventhandlers first and then delete itself, never having the opportunity to fire the events. - login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [4c0afc995c] (rid 126810) by andreas_kupries on 2001-09-14 04:27:12:
- icomment:
Logged In: YES user_id=75003 How did you compile and link 'setuid' ? When I do it I get a segfault when loading the extension into tclsh8.4/cvs. Also, is 'loading' setuid enough to cause the error ? If not, where do I place the 'setuid' call to cause the problem ?
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [bd15f014fc] (rid 101848) by andreas_kupries on 2001-09-14 04:37:39:
- icomment:
Logged In: YES user_id=75003 The location of the 'load libsetuid.so' statement implies that you try to set the effective user id for a single thread, right ? Note that the relevant system call always affects the whole process, i.e. all threads in it. See the manpage of 'setuid'.
- login: "andreas_kupries"
- mimetype: "text/plain"
- username: "andreas_kupries"
- icomment:
Ticket change [53c9540456] (rid 93814) by andreas_kupries on 2001-09-14 06:25:51:
- closedate changed to: "2001-09-13T23:25:51"
- closer changed to: "andreas_kupries"
- status changed to: "Closed"