Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\random.h Create Date:2022-07-28 05:51:04
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_random_canary

Proto:static inline unsigned long get_random_canary(void)

Type:unsigned long

Parameter:Nothing

81  val = get_random_long()
83  Return val & On 64-bit architectures, protect against non-terminated C string overflows* by zeroing out the first byte of the canary; this leaves 56 bits of entropy.