Home
last modified time | relevance | path

Searched refs:BPF_SELINUX_CONTEXT_CHAR_ARRAY_SIZE (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Connectivity/staticlibs/native/bpf_headers/include/bpf/
Dbpf_map_def.h145 #define BPF_SELINUX_CONTEXT_CHAR_ARRAY_SIZE 32 macro
192 char selinux_context[BPF_SELINUX_CONTEXT_CHAR_ARRAY_SIZE];
257 char selinux_context[BPF_SELINUX_CONTEXT_CHAR_ARRAY_SIZE];
/packages/modules/Connectivity/netbpfload/
Dloader.cpp91 domain getDomainFromSelinuxContext(const char s[BPF_SELINUX_CONTEXT_CHAR_ARRAY_SIZE]) { in getDomainFromSelinuxContext() argument
94 if (strlen(lookupSelinuxContext(d)) >= BPF_SELINUX_CONTEXT_CHAR_ARRAY_SIZE) abort(); in getDomainFromSelinuxContext()
95 if (!strncmp(s, lookupSelinuxContext(d), BPF_SELINUX_CONTEXT_CHAR_ARRAY_SIZE)) return d; in getDomainFromSelinuxContext()