Lines Matching refs:subj_cred

132 static int audit_mount(const struct cred *subj_cred,  in audit_mount()  argument
171 ad.subj_cred = subj_cred; in audit_mount()
303 static int match_mnt_path_str(const struct cred *subj_cred, in match_mnt_path_str() argument
345 return audit_mount(subj_cred, profile, OP_MOUNT, mntpnt, devname, in match_mnt_path_str()
365 static int match_mnt(const struct cred *subj_cred, in match_mnt() argument
390 return match_mnt_path_str(subj_cred, profile, path, buffer, devname, in match_mnt()
394 int aa_remount(const struct cred *subj_cred, in aa_remount() argument
412 match_mnt(subj_cred, profile, path, buffer, NULL, in aa_remount()
420 int aa_bind_mount(const struct cred *subj_cred, in aa_bind_mount() argument
448 match_mnt(subj_cred, profile, path, buffer, &old_path, in aa_bind_mount()
458 int aa_mount_change_type(const struct cred *subj_cred, in aa_mount_change_type() argument
477 match_mnt(subj_cred, profile, path, buffer, NULL, in aa_mount_change_type()
485 int aa_move_mount(const struct cred *subj_cred, in aa_move_mount() argument
507 match_mnt(subj_cred, profile, to_path, to_buffer, in aa_move_mount()
517 int aa_move_mount_old(const struct cred *subj_cred, struct aa_label *label, in aa_move_mount_old() argument
529 error = aa_move_mount(subj_cred, label, &old_path, path); in aa_move_mount_old()
535 int aa_new_mount(const struct cred *subj_cred, struct aa_label *label, in aa_new_mount() argument
582 match_mnt(subj_cred, profile, path, buffer, in aa_new_mount()
587 match_mnt_path_str(subj_cred, profile, path, in aa_new_mount()
601 static int profile_umount(const struct cred *subj_cred, in profile_umount() argument
631 return audit_mount(subj_cred, profile, OP_UMOUNT, name, NULL, NULL, in profile_umount()
636 int aa_umount(const struct cred *subj_cred, struct aa_label *label, in aa_umount() argument
652 profile_umount(subj_cred, profile, &path, buffer)); in aa_umount()
662 static struct aa_label *build_pivotroot(const struct cred *subj_cred, in build_pivotroot() argument
708 error = audit_mount(subj_cred, profile, OP_PIVOTROOT, new_name, in build_pivotroot()
718 int aa_pivotroot(const struct cred *subj_cred, struct aa_label *label, in aa_pivotroot() argument
737 build_pivotroot(subj_cred, profile, new_path, in aa_pivotroot()
764 audit_mount(subj_cred, profile, OP_PIVOTROOT, in aa_pivotroot()