函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\common.c Create Date:2022-07-27 21:06:44
Last Modify:2020-03-18 09:15:18 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:moyo_load_builtin_policy - Load built-in policy.* Returns nothing.

函数原型:void __init tomoyo_load_builtin_policy(void)

返回类型:void

参数:

2832  idx等于moyo_read_lock - Take lock for protecting policy.* Returns index number for tomoyo_read_unlock().
2834 i小于5循环
2835  struct tomoyo_io_buffer head = {}
2836  start等于""
2839  :i恒等于0
2843  退出
2844  :i恒等于1
2848  退出
2849  :i恒等于2
2853  退出
2854  :i恒等于3
2858  退出
2859  :i恒等于4
2863  退出
2865  当1循环
2868  如果非end退出
2870  end等于'\0'
2874  start等于end加1
2877  moyo_read_unlock - Release lock for protecting policy.*@idx: Index number returned by tomoyo_read_lock().* Returns nothing.
调用者
名称描述
tomoyo_initerface_initmoyo_initerface_init - Initialize /sys/kernel/security/tomoyo/ interface.* Returns 0.