Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\common.c Create Date:2022-07-28 19:37:35
Last Modify:2020-03-18 09:15:18 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_load_builtin_policy - Load built-in policy.* Returns nothing.

Proto:void __init tomoyo_load_builtin_policy(void)

Type:void

Parameter:Nothing

2832  idx = moyo_read_lock - Take lock for protecting policy.* Returns index number for tomoyo_read_unlock().
2834  When i < 5 cycle
2835  struct tomoyo_io_buffer head = {}
2836  start = ""
2839  Case i == 0
2843  Break
2844  Case i == 1
2848  Break
2849  Case i == 2
2853  Break
2854  Case i == 3
2858  Break
2859  Case i == 4
2863  Break
2865  When 1 cycle
2868  If Not end Then Break
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.
Caller
NameDescribe
tomoyo_initerface_initmoyo_initerface_init - Initialize /sys/kernel/security/tomoyo/ interface.* Returns 0.