Lines Matching refs:mnt_path
64 char *mnt_path = NULL; in set_selinux_xattr() local
69 if (asprintf(&mnt_path, "%s%s", c.mount_point, path) <= 0) { in set_selinux_xattr()
76 if (selabel_lookup(sehnd, &secontext, mnt_path, mode) < 0) { in set_selinux_xattr()
77 ERR_MSG("cannot lookup security context for %s\n", mnt_path); in set_selinux_xattr()
78 free(mnt_path); in set_selinux_xattr()
84 mnt_path, ino, secontext); in set_selinux_xattr()
88 free(mnt_path); in set_selinux_xattr()
99 char *mnt_path = NULL; in set_perms_and_caps() local
101 if (asprintf(&mnt_path, "%s%s", c.mount_point, de->path) <= 0) { in set_perms_and_caps()
109 fs_config_func(mnt_path, de->file_type == F2FS_FT_DIR, in set_perms_and_caps()
119 mnt_path, de->mode, de->uid, de->gid, de->capabilities); in set_perms_and_caps()
120 free(mnt_path); in set_perms_and_caps()