Home
last modified time | relevance | path

Searched refs:marker_len (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/security/integrity/ima/
Dima_modsig.c63 const size_t marker_len = strlen(MODULE_SIG_STRING); in ima_read_modsig() local
70 if (buf_len <= marker_len + sizeof(*sig)) in ima_read_modsig()
73 p = buf + buf_len - marker_len; in ima_read_modsig()
74 if (memcmp(p, MODULE_SIG_STRING, marker_len)) in ima_read_modsig()
77 buf_len -= marker_len; in ima_read_modsig()
/Linux-v5.4/arch/s390/kernel/
Dmachine_kexec_file.c28 const unsigned long marker_len = sizeof(MODULE_SIG_STRING) - 1; in s390_verify_sig() local
36 if (marker_len > kernel_len) in s390_verify_sig()
39 if (memcmp(kernel + kernel_len - marker_len, MODULE_SIG_STRING, in s390_verify_sig()
40 marker_len)) in s390_verify_sig()
42 kernel_len -= marker_len; in s390_verify_sig()
/Linux-v5.4/drivers/mtd/nand/raw/
Dnand_bbt.c175 u32 marker_len; in read_bbt() local
179 marker_len = add_marker_len(td); in read_bbt()
184 if (marker_len) { in read_bbt()
189 len -= marker_len; in read_bbt()
190 from += marker_len; in read_bbt()
191 marker_len = 0; in read_bbt()