Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_truncate - Truncate a line.*@str: String to truncate.* Returns length of truncated @str.

Proto:static int tomoyo_truncate(char *str)

Type:int

Parameter:

TypeParameterName
char *str
1983  start = str
1985  When str > ' ' cycle
1986  str++
1987  str = '\0'
1988  Return strlen - Find the length of a string*@s: The string to be sized + 1
Caller
NameDescribe
tomoyo_add_entrymoyo_add_entry - Add an ACL to current thread's domain. Used by learning mode.*@domain: Pointer to "struct tomoyo_domain_info".*@header: Lines containing ACL.* Returns nothing.