Function report |
Source Code:security\tomoyo\file.c |
Create Date:2022-07-28 19:41:02 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_audit_path_number_log - Audit path/number request log.*@r: Pointer to "struct tomoyo_request_info".* Returns 0 on success, negative value otherwise.
Proto:static int tomoyo_audit_path_number_log(struct tomoyo_request_info *r)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct tomoyo_request_info * | r |
219 | Case type == TOMOYO_TYPE_CREATE |
220 | Case type == TOMOYO_TYPE_MKDIR |
221 | Case type == TOMOYO_TYPE_MKFIFO |
222 | Case type == TOMOYO_TYPE_MKSOCK |
223 | Case type == TOMOYO_TYPE_CHMOD |
224 | radix = TOMOYO_VALUE_TYPE_OCTAL |
225 | Break |
226 | Case type == TOMOYO_TYPE_IOCTL |
228 | Break |
229 | Default |
231 | Break |
233 | tomoyo_print_ulong(buffer, size of buffer , number, radix) |
Name | Describe |
---|---|
tomoyo_path_number_perm | moyo_path_number_perm - Check permission for "create", "mkdir", "mkfifo", "mksock", "ioctl", "chmod", "chown", "chgrp".*@type: Type of operation.*@path: Pointer to "struct path".*@number: Number.* Returns 0 on success, negative value otherwise. |
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 |