Searched refs:rseq_cs (Results 1 – 1 of 1) sorted by relevance
115 static int rseq_get_rseq_cs(struct task_struct *t, struct rseq_cs *rseq_cs) in rseq_get_rseq_cs() argument117 struct rseq_cs __user *urseq_cs; in rseq_get_rseq_cs()123 if (copy_from_user(&ptr, &t->rseq->rseq_cs.ptr64, sizeof(ptr))) in rseq_get_rseq_cs()126 memset(rseq_cs, 0, sizeof(*rseq_cs)); in rseq_get_rseq_cs()131 urseq_cs = (struct rseq_cs __user *)(unsigned long)ptr; in rseq_get_rseq_cs()132 if (copy_from_user(rseq_cs, urseq_cs, sizeof(*rseq_cs))) in rseq_get_rseq_cs()135 if (rseq_cs->start_ip >= TASK_SIZE || in rseq_get_rseq_cs()136 rseq_cs->start_ip + rseq_cs->post_commit_offset >= TASK_SIZE || in rseq_get_rseq_cs()137 rseq_cs->abort_ip >= TASK_SIZE || in rseq_get_rseq_cs()138 rseq_cs->version > 0) in rseq_get_rseq_cs()[all …]