Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\binfmt_misc.c Create Date:2022-07-28 20:27:41
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:generic stuff

Proto:static void entry_status(Node *e, char *page)

Type:void

Parameter:

TypeParameterName
Node *e
char *page
551  dp = page
552  status = "disabled"
554  If st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then status = "enabled"
557  If Not VERBOSE_STATUS Then
558  sprintf(page, "%s\n", status)
559  Return
562  dp += sprintf(dp, "%s\ninterpreter %s\n", status, filename of interpreter )
565  dp += sprintf(dp, "flags: ")
566  If type, status, etc. & MISC_FMT_PRESERVE_ARGV0 Then dp++ = 'P'
568  If type, status, etc. & MISC_FMT_OPEN_BINARY Then dp++ = 'O'
570  If type, status, etc. & MISC_FMT_CREDENTIALS Then dp++ = 'C'
572  If type, status, etc. & MISC_FMT_OPEN_FILE Then dp++ = 'F'
574  dp++ = '\n'
576  If Not st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from Then
577  sprintf(dp, "extension .%s\n", magic or filename extension )
578  Else
579  dp += sprintf(dp, "offset %i\nmagic ", offset of magic )
580  dp = 2hex - convert binary data to an ascii hexadecimal string*@dst: ascii hexadecimal result*@src: binary data*@count: binary data length
582  dp += sprintf(dp, "\nmask ")
585  dp++ = '\n'
586  dp = '\0'
Caller
NameDescribe
bm_entry_read/