Function report |
Source Code:security\apparmor\lsm.c |
Create Date:2022-07-28 19:53:04 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mmon_perm_create - common permission wrapper for operations doing create*@op: operation being checked*@dir: directory that dentry will be created in (NOT NULL)*@dentry: dentry to create (NOT NULL)*@mask: request permission mask*@mode: created file mode*
Proto:static int common_perm_create(const char *op, const struct path *dir, struct dentry *dentry, unsigned int mask, umode_t mode)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | op | |
| const struct path * | dir | |
| struct dentry * | dentry | |
| unsigned int | mask | |
| umode_t | mode |
| 293 | struct path_cond cond = {current_fsuid(), mode} |
| 295 | If Not path_mediated_fs(dentry) Then Return 0 |
| Name | Describe |
|---|---|
| apparmor_path_mkdir | |
| apparmor_path_mknod | |
| apparmor_path_symlink |
| 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 |