Lines Matching refs:buffer
619 char *buffer, struct path_cond *cond, in profile_transition() argument
633 AA_BUG(!buffer); in profile_transition()
635 error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer, in profile_transition()
696 long pos = name - buffer; in profile_transition()
698 put_buffers(buffer); in profile_transition()
701 get_buffers(buffer); in profile_transition()
702 name = buffer + pos; in profile_transition()
745 char *buffer, struct path_cond *cond, in profile_onexec() argument
756 AA_BUG(!buffer); in profile_onexec()
768 error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer, in profile_onexec()
818 char *buffer, struct path_cond *cond, in handle_onexec() argument
828 AA_BUG(!buffer); in handle_onexec()
833 bprm, buffer, cond, unsafe)); in handle_onexec()
838 profile_transition(profile, bprm, buffer, in handle_onexec()
845 buffer, cond, unsafe)); in handle_onexec()
851 profile_transition(profile, bprm, buffer, in handle_onexec()
880 char *buffer = NULL; in apparmor_bprm_set_creds() local
910 get_buffers(buffer); in apparmor_bprm_set_creds()
914 bprm, buffer, &cond, &unsafe); in apparmor_bprm_set_creds()
917 profile_transition(profile, bprm, buffer, in apparmor_bprm_set_creds()
982 put_buffers(buffer); in apparmor_bprm_set_creds()