Function report |
Source Code:security\apparmor\apparmorfs.c |
Create Date:2022-07-28 19:50:07 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_mk_null_file
Proto:static int aa_mk_null_file(struct dentry *parent)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct dentry * | parent |
| 2531 | count = 0 |
| 2532 | error = simple_pin_fs(s_type, & mount, & count) |
| 2538 | dentry = lookup_one_len(NULL_FILE_NAME, parent, strlen - Find the length of a string*@s: The string to be sized) |
| 2543 | inode = obtain an inode |
| 2544 | If Not inode Then |
| 2551 | i_atime = i_mtime = i_ctime = current_time(inode) |
| 2558 | error = 0 |
| 2560 | out1 : |
| 2562 | out : |
| 2564 | simple_release_fs( & mount, & count) |
| 2565 | Return error |
| Name | Describe |
|---|---|
| aa_create_aafs | aa_create_aafs - create the apparmor security filesystem* dentries created here are released by aa_destroy_aafs* Returns: error on failure |
| 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 |