MOO-cows Mailing List Archive

[Prev][Next][Index][Thread]

Re: kill_task(task_id())



sysop@calbbs.com wrote:
> 
> How can one prevent someone from killing a task that they shouldn't be
> killing?  Denying prog-bits is not an option in many situations, and
> using fork() for every call to a verb that might possible kill the task
> would be inefficient and would probably spam the living heck out of the
> poor server.  Anyone got any ideas?  Pavel, do you think you could
> squeeze some kind of countermeasure against this into the server before
> your time is up?  Perhaps some method of designating a task unkillable by
> verbs down the line?  (kill_task(task_id()); being functionally eqivilant
> to return; when this mode is in effect, except for calls with wizard
> perms)
> 
> TIA,
> 
> Brian
> ---
>    Brian Buchanan    sysop@calbbs.com    brian@wasteland.calbbs.com
> -= ArchWizard of Digital Wasteland MOO (wasteland.calbbs.com 8888) =-

Perhaps add the property $server_options.protect_kill_task and set it to 
1 then recode the @kill verb and/or provide a #0:kill_task?

Jason R. Mills (aka SunRay, SunWizard)


References:

Home | Subject Index | Thread Index