Lines Matching defs:ismember
4735 vauth_node_group(struct vnode_attr *vap, kauth_cred_t cred, int *ismember)
4750 *ismember = result;
4776 vauth_file_ingroup(vauth_ctx vcp, int *ismember)
4781 *ismember = (vcp->flags & _VAC_IN_GROUP) ? 1 : 0;
4784 error = vauth_node_group(vcp->vap, vcp->ctx->vc_ucred, ismember);
4789 if (*ismember) {
4822 vauth_dir_ingroup(vauth_ctx vcp, int *ismember)
4827 *ismember = (vcp->flags & _VAC_IN_DIR_GROUP) ? 1 : 0;
4830 error = vauth_node_group(vcp->dvap, vcp->ctx->vc_ucred, ismember);
4835 if (*ismember) {
4853 int needed, error, owner_ok, group_ok, world_ok, ismember;
4938 ismember = 0;
4940 error = vauth_dir_ingroup(vcp, &ismember);
4942 error = vauth_file_ingroup(vcp, &ismember);
4946 if (ismember) {
5009 int error, delete_denied, delete_child_denied, ismember;
5020 if ((error = vauth_dir_ingroup(vcp, &ismember)) != 0)
5022 if (ismember)
5052 if ((error = vauth_file_ingroup(vcp, &ismember)) != 0)
5054 if (ismember)
5111 int error, ismember;
5147 if ((error = vauth_file_ingroup(vcp, &ismember)) != 0)
5149 if (ismember)
5763 int has_priv_suser, ismember, defaulted_owner, defaulted_group, defaulted_mode;
5890 if ((error = kauth_cred_ismember_gid(cred, vap->va_gid, &ismember)) != 0) {
5894 if (!ismember) {
5914 if ((error = kauth_cred_ismember_gid(cred, vap->va_gid, &ismember)) != 0) {
5918 if (!ismember) {
5939 if ((error = kauth_cred_ismember_guid(cred, &vap->va_guuid, &ismember)) != 0) {
5943 if (!ismember) {
5969 int error, has_priv_suser, ismember, chowner, chgroup, clear_suid, clear_sgid;
6152 if ((error = kauth_cred_ismember_gid(cred, group, &ismember)) != 0) {
6156 if (!ismember) {
6282 if ((error = kauth_cred_ismember_gid(cred, vap->va_gid, &ismember)) != 0) {
6286 if (!ismember) {
6339 if ((error = kauth_cred_ismember_guid(cred, &vap->va_guuid, &ismember)) != 0) {
6343 if (!ismember) {