Difference between revisions of "Special:Badtitle/NS1198:Porting the kernel/4/en"

From OpenVZ Virtuozzo Containers Wiki
Jump to: navigation, search
(Importing a new version from external source)
 
(No difference)

Latest revision as of 01:04, 24 September 2016

  • Call to functions find_task_by_pid(), for_each_process() and do_each_thread()/while_each_thread() should be replaced with it's counterparts - find_task_by_pid_XXX(), for_each_process_XXX() and do_each_thread_XXX()/while_each_thread_XXX(), where XXX is either all or ve. Here all means that all system processes in the system will be scanned, while ve means that only the container accessible from this task (current context - get_exec_env()) will be visible. So you need to decide whether the code in question is about system or user context.