Function report |
Source Code:security\apparmor\apparmorfs.c |
Create Date:2022-07-28 19:50:05 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Requires: @ns->lock held
Proto:int __aafs_ns_mkdir(struct aa_ns *ns, struct dentry *parent, const char *name, struct dentry *dent)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct aa_ns * | ns | |
struct dentry * | parent | |
const char * | name | |
struct dentry * | dent |
2036 | AA_BUG(!mutex_is_locked( & lock)) |
2041 | If Not dent Then |
2046 | Else get a reference to a dentry |
2049 | error = assumes cleanup in caller |
2062 | mutex_lock_nested( & lock, level) |
2063 | error = Requires: @ns->lock held |
2069 | Return 0 |
2071 | fail : |
2074 | fail2 : |
2077 | Return error |
Name | Describe |
---|---|
__aafs_ns_mkdir | Requires: @ns->lock held |
aa_create_aafs | aa_create_aafs - create the apparmor security filesystem* dentries created here are released by aa_destroy_aafs* Returns: error on failure |
__aa_create_ns |
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 |