Function report |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-28 19:34:31 |
Last Modify:2020-03-18 09:15:18 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_write_profile - Write profile table.*@head: Pointer to "struct tomoyo_io_buffer".* Returns 0 on success, negative value otherwise.
Proto:static int tomoyo_write_profile(struct tomoyo_io_buffer *head)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct tomoyo_io_buffer * | head |
676 | data = Buffer for writing. |
681 | If sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments == 1 Then Return 0 |
691 | cp = strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for |
694 | cp++ = '\0' |
696 | DEFINE_SPINLOCK(lock) |
697 | new_comment = tomoyo_get_name(cp) |
701 | If Not new_comment Then Return -ENOMEM |
704 | old_comment = comment |
705 | comment = new_comment |
706 | spin_unlock( & lock) |
708 | Return 0 |
711 | When i < TOMOYO_MAX_PREF cycle moyo_set_uint - Set value for specified preference.*@i: Pointer to "unsigned int".*@string: String to check.*@find: Name of keyword.* Returns nothing. |
714 | Return 0 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |