Home
last modified time | relevance | path

Searched refs:path_flags (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-5.10/security/apparmor/
H A Dmount.c293 static int path_flags(struct aa_profile *profile, const struct path *path) in path_flags() function
298 return profile->path_flags | in path_flags()
333 error = aa_path_name(mntpath, path_flags(profile, mntpath), buffer, in match_mnt_path_str()
388 error = aa_path_name(devpath, path_flags(profile, devpath), in match_mnt()
597 error = aa_path_name(path, path_flags(profile, path), buffer, &name, in profile_umount()
659 error = aa_path_name(old_path, path_flags(profile, old_path), in build_pivotroot()
664 error = aa_path_name(new_path, path_flags(profile, new_path), in build_pivotroot()
H A Dfile.c294 flags | profile->path_flags, buffer, &name, cond, in profile_path_perm()
368 error = path_name(OP_LINK, &profile->label, link, profile->path_flags, in profile_path_link()
374 error = path_name(OP_LINK, &profile->label, target, profile->path_flags, in profile_path_link()
H A Dpolicy_unpack.c773 /* path_flags is optional */ in unpack_profile()
774 if (unpack_u32(e, &profile->path_flags, "path_flags")) in unpack_profile()
775 profile->path_flags |= profile->label.flags & in unpack_profile()
778 /* set a default value if path_flags field is not present */ in unpack_profile()
779 profile->path_flags = PATH_MEDIATE_DELETED; in unpack_profile()
H A Dpolicy.c543 profile->path_flags = parent->path_flags; in aa_new_null_profile()
H A Ddomain.c638 error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer, in profile_transition()
745 error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer, in profile_onexec()
/kernel/linux/linux-6.6/security/apparmor/
H A Dmount.c279 static int path_flags(struct aa_profile *profile, const struct path *path) in path_flags() function
284 return profile->path_flags | in path_flags()
323 error = aa_path_name(mntpath, path_flags(profile, mntpath), buffer, in match_mnt_path_str()
383 error = aa_path_name(devpath, path_flags(profile, devpath), in match_mnt()
618 error = aa_path_name(path, path_flags(profile, path), buffer, &name, in profile_umount()
685 error = aa_path_name(old_path, path_flags(profile, old_path), in build_pivotroot()
690 error = aa_path_name(new_path, path_flags(profile, new_path), in build_pivotroot()
H A Dfile.c262 flags | profile->path_flags, buffer, &name, cond, in profile_path_perm()
342 profile->path_flags, in profile_path_link()
349 profile->path_flags, in profile_path_link()
H A Dpolicy_unpack.c921 /* path_flags is optional */ in unpack_profile()
922 if (aa_unpack_u32(e, &profile->path_flags, "path_flags")) in unpack_profile()
923 profile->path_flags |= profile->label.flags & in unpack_profile()
926 /* set a default value if path_flags field is not present */ in unpack_profile()
927 profile->path_flags = PATH_MEDIATE_DELETED; in unpack_profile()
H A Ddomain.c648 error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer, in profile_transition()
759 error = aa_path_name(&bprm->file->f_path, profile->path_flags, buffer, in profile_onexec()
H A Dpolicy.c605 profile->path_flags = parent->path_flags; in aa_alloc_null()
/kernel/linux/linux-5.10/security/apparmor/include/
H A Dpath.h14 enum path_flags { enum
H A Dpolicy.h105 * @path_flags: flags controlling path generation behavior
141 u32 path_flags; member
/kernel/linux/linux-6.6/security/apparmor/include/
H A Dpath.h14 enum path_flags { enum
H A Dpolicy.h177 * @path_flags: flags controlling path generation behavior
207 u32 path_flags; member
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
H A Dqp.c3200 int attr_mask, u32 path_flags, in mlx5_set_path()
3243 MLX5_SET(ads, path, fl, !!(path_flags & MLX5_PATH_FLAG_FL)); in mlx5_set_path()
3245 !!(path_flags & MLX5_PATH_FLAG_FREE_AR)); in mlx5_set_path()
3198 mlx5_set_path(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, const struct rdma_ah_attr *ah, void *path, u8 port, int attr_mask, u32 path_flags, const struct ib_qp_attr *attr, bool alt) mlx5_set_path() argument
/kernel/linux/linux-6.6/drivers/infiniband/hw/mlx5/
H A Dqp.c3518 int attr_mask, u32 path_flags, in mlx5_set_path()
3563 MLX5_SET(ads, path, fl, !!(path_flags & MLX5_PATH_FLAG_FL)); in mlx5_set_path()
3565 !!(path_flags & MLX5_PATH_FLAG_FREE_AR)); in mlx5_set_path()
3516 mlx5_set_path(struct mlx5_ib_dev *dev, struct mlx5_ib_qp *qp, const struct rdma_ah_attr *ah, void *path, u8 port, int attr_mask, u32 path_flags, const struct ib_qp_attr *attr, bool alt) mlx5_set_path() argument

Completed in 30 milliseconds