函数逻辑报告 |
Source Code:security\smack\smack_lsm.c |
Create Date:2022-07-27 20:49:20 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:smack_set_mnt_opts - set Smack specific mount options*@sb: the file system superblock*@mnt_opts: Smack mount options*@kern_flags: mount option from kernel space or user space*@set_kern_flags: where to store converted mount opts* Returns 0 on success, an
函数原型:static int smack_set_mnt_opts(struct super_block *sb, void *mnt_opts, unsigned long kern_flags, unsigned long *set_kern_flags)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct super_block * | sb | |
void * | mnt_opts | |
unsigned long | kern_flags | |
unsigned long * | set_kern_flags |
783 | sp等于s_security |
787 | bool transmute = false |
789 | 如果smk_flags按位与Superblock flags则返回:0 |
792 | 如果(i_security == NULL)则 |
824 | smk_flags或等于Superblock flags |
826 | 如果opts则 |
865 | 如果transmute则 |
866 | isp等于smack_inode(inode) |
870 | 返回:0 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |