Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_convert_time - Convert time_t to YYYY/MM/DD hh/mm/ss.*@time: Seconds since 1970/01/01 00:00:00.*@stamp: Pointer to "struct tomoyo_time".* Returns nothing.

Proto:void tomoyo_convert_time(time64_t time64, struct tomoyo_time *stamp)

Type:void

Parameter:

TypeParameterName
time64_ttime64
struct tomoyo_time *stamp
95  me64_to_tm - converts the calendar time to local broken-down time*@totalsecs the number of seconds elapsed since 00:00:00 on January 1, 1970,* Coordinated Universal Time (UTC)
96  sec = he number of seconds after the minute, normally in the range* 0 to 59, but can be up to 60 to allow for leap seconds
97  min = he number of minutes after the hour, in the range 0 to 59
98  hour = he number of hours past midnight, in the range 0 to 23
99  day = he day of the month, in the range 1 to 31
100  month = he number of months since January, in the range 0 to 11 + 1
101  year = he number of years since 1900 + 1900
Caller
NameDescribe
tomoyo_read_statmoyo_read_stat - Read statistic data.*@head: Pointer to "struct tomoyo_io_buffer".* Returns nothing.