Home
last modified time | relevance | path

Searched refs:w (Results 1 – 6 of 6) sorted by relevance

/security/tomoyo/
Dcommon.c207 const char *w = head->r.w[0]; in tomoyo_flush() local
208 size_t len = strlen(w); in tomoyo_flush()
215 if (copy_to_user(head->read_user_buf, w, len)) in tomoyo_flush()
219 w += len; in tomoyo_flush()
221 head->r.w[0] = w; in tomoyo_flush()
222 if (*w) in tomoyo_flush()
234 head->r.w[len] = head->r.w[len + 1]; in tomoyo_flush()
253 head->r.w[head->r.w_pos++] = string; in tomoyo_set_string()
672 if (sscanf(data, "PROFILE_VERSION=%u", &head->w.ns->profile_version) in tomoyo_write_profile()
679 profile = tomoyo_assign_profile(head->w.ns, i); in tomoyo_write_profile()
[all …]
Dgc.c51 head->r.acl == element || &head->w.domain->list == element) in tomoyo_struct_used_by_io_buffer()
85 const char *w = head->r.w[i]; in tomoyo_name_used_by_io_buffer() local
87 if (w < string || w > string + size) in tomoyo_name_used_by_io_buffer()
Dcommon.h819 const char *w[TOMOYO_MAX_IO_READ_QUEUE]; member
828 } w; member
Daudit.c458 head->r.w[head->r.w_pos++] = head->read_buf; in tomoyo_read_log()
/security/keys/trusted-keys/
Dtrusted_tpm2.c57 unsigned char bool[3], *w = bool; in tpm2_key_encode() local
59 w = asn1_encode_boolean(w, w + sizeof(bool), true); in tpm2_key_encode()
60 if (WARN(IS_ERR(w), "BUG: Boolean failed to encode")) in tpm2_key_encode()
61 return PTR_ERR(w); in tpm2_key_encode()
62 work = asn1_encode_tag(work, end_work, 0, bool, w - bool); in tpm2_key_encode()
/security/selinux/
Dselinuxfs.c1010 char *r, *w; in sel_write_create() local
1013 r = w = namebuf; in sel_write_create()
1027 *w++ = c1; in sel_write_create()