Lines Matching refs:mode
600 mode_t mode, in udev_node_apply_permissions_impl() argument
616 if (mode == MODE_INVALID && gid_is_valid(gid) && gid > 0) in udev_node_apply_permissions_impl()
617 mode = 0660; in udev_node_apply_permissions_impl()
619 apply_mode = mode != MODE_INVALID && (stats.st_mode & 0777) != (mode & 0777); in udev_node_apply_permissions_impl()
632 mode != MODE_INVALID ? mode & 0777 : stats.st_mode & 0777); in udev_node_apply_permissions_impl()
634 r = fchmod_and_chown(node_fd, mode, uid, gid); in udev_node_apply_permissions_impl()
642 … mode != MODE_INVALID ? mode & 0777 : stats.st_mode & 0777); in udev_node_apply_permissions_impl()
648 mode != MODE_INVALID ? mode & 0777 : stats.st_mode & 0777); in udev_node_apply_permissions_impl()
696 mode_t mode, in udev_node_apply_permissions() argument
721 …return udev_node_apply_permissions_impl(dev, node_fd, devnode, apply_mac, mode, uid, gid, seclabel… in udev_node_apply_permissions()
726 mode_t mode, in static_node_apply_permissions() argument
739 if (uid == UID_INVALID && gid == GID_INVALID && mode == MODE_INVALID && !tags) in static_node_apply_permissions()
782 … return udev_node_apply_permissions_impl(NULL, node_fd, devnode, false, mode, uid, gid, NULL); in static_node_apply_permissions()