MOO-cows Mailing List Archive
Re: MOO-Cows Digest V1 #306
DJ>> How can one prevent someone from killing a task that they shouldn't be
DJ>> killing? Denying prog-bits is not an option in many situations, and
DJ>> using fork() for every call to a verb that might possible kill the task
DJ>How about $server_options.protect_kill_task == 1,
DJ>and #0:kill_task() ?
DJ>Any task that shouldnt be killed, could call #0:register_unkillable,
DJ>which would save the task_id() in #0.unkillable
DJ>#0:kill_task, would check the args against this list, and only kill
DJ>the task if it wasnt there..
DJ>Wizards, of course, could still use the builtin to kill any task.
Excellent idea! I'll implement this.
Brian Buchanan email@example.com firstname.lastname@example.org
-= ArchWizard of Digital Wasteland MOO (wasteland.calbbs.com 8888) =-
Subject Index |