Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\tomoyo.c Create Date:2022-07-28 19:46:42
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_bprm_set_creds - Target for security_bprm_set_creds().*@bprm: Pointer to "struct linux_binprm".* Returns 0.

Proto:static int tomoyo_bprm_set_creds(struct linux_binprm *bprm)

Type:int

Parameter:

TypeParameterName
struct linux_binprm *bprm
78  If called_set_creds Then Return 0
84  If Not External variable definitions. ********* Then moyo_load_policy - Run external policy loader to load policy.*@filename: The program about to start.* This function checks whether @filename is /sbin/init , and if so* invoke /sbin/tomoyo-init and wait for the termination of /sbin/tomoyo-init
86  Return 0