| Function report | 
| Source Code: security\apparmor\policy_ns.c | Create Date:2022-07-28 19:54:12 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:destroy_ns - remove everything contained by @ns*@ns: namespace to have it contents removed (NOT NULL)
Proto:static void destroy_ns(struct aa_ns *ns)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct aa_ns * | ns | 
| 332 | If Not ns Then Return | 
| 335 | mutex_lock_nested( & lock, level) | 
| 340 | __ns_list_release( & sub_ns) | 
| 342 | If parent Then | 
| 345 | write_lock_irqsave( & lock, flags) | 
| 348 | write_unlock_irqrestore( & lock, flags) | 
| Name | Describe | 
|---|---|
| __aa_remove_ns | __aa_remove_ns - remove a namespace and all its children*@ns: namespace to be removed (NOT NULL)* Requires: ns->parent->lock be held and ns removed from parent. | 
| aa_free_root_ns | aa_free_root_ns - free the root profile namespace | 
| Source code conversion tool public plug-in interface | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |