Home
last modified time | relevance | path

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

/security/selinux/ss/
A Dpolicydb.h357 static inline int next_entry(void *buf, struct policy_file *fp, size_t bytes) in next_entry() argument
359 if (bytes > fp->len) in next_entry()
362 memcpy(buf, fp->data, bytes); in next_entry()
363 fp->data += bytes; in next_entry()
364 fp->len -= bytes; in next_entry()
368 static inline int put_entry(const void *buf, size_t bytes, size_t num, in put_entry() argument
373 if (unlikely(check_mul_overflow(bytes, num, &len))) in put_entry()
/security/apparmor/
A Dapparmorfs.c680 u32 bytes, blocks; in query_data() local
692 if (buf_len < sizeof(bytes) + sizeof(blocks)) in query_data()
709 memset(buf, 0, sizeof(bytes) + sizeof(blocks)); in query_data()
710 out = buf + sizeof(bytes) + sizeof(blocks); in query_data()
736 outle32 = __cpu_to_le32(out - buf - sizeof(bytes)); in query_data()
739 memcpy(buf + sizeof(bytes), &outle32, sizeof(outle32)); in query_data()
/security/integrity/ima/
A DKconfig70 hash, defined as 20 bytes, and a null terminated pathname,

Completed in 10 milliseconds