Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\tomoyo\common.h Create Date:2022-07-28 19:32:38
Last Modify:2020-03-18 09:12:16 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:moyo_sys_getpid - Copy of getpid().* Returns current thread's PID.* Alpha does not have getpid() defined. To be able to build this module on* Alpha, I have to copy getpid() from kernel/timer.c.

Proto:static inline pid_t tomoyo_sys_getpid(void)

Type:pid_t

Parameter:Nothing

1154  Return task_tgid_vnr(current process)
Caller
NameDescribe
tomoyo_print_headermoyo_print_header - Get header line of audit log.*@r: Pointer to "struct tomoyo_request_info".* Returns string representation.* This function uses kmalloc(), so caller must kfree() if this function* didn't return NULL.
tomoyo_conditionmoyo_condition - Check condition part.*@r: Pointer to "struct tomoyo_request_info".*@cond: Pointer to "struct tomoyo_condition". Maybe NULL.* Returns true on success, false otherwise.* Caller holds tomoyo_read_lock().