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()124 if (get_user(ptr, &t->rseq->rseq_cs)) in rseq_get_rseq_cs()127 if (copy_from_user(&ptr, &t->rseq->rseq_cs, sizeof(ptr))) in rseq_get_rseq_cs()131 memset(rseq_cs, 0, sizeof(*rseq_cs)); in rseq_get_rseq_cs()136 urseq_cs = (struct rseq_cs __user *)(unsigned long)ptr; in rseq_get_rseq_cs()137 if (copy_from_user(rseq_cs, urseq_cs, sizeof(*rseq_cs))) in rseq_get_rseq_cs()140 if (rseq_cs->start_ip >= TASK_SIZE || in rseq_get_rseq_cs()141 rseq_cs->start_ip + rseq_cs->post_commit_offset >= TASK_SIZE || in rseq_get_rseq_cs()142 rseq_cs->abort_ip >= TASK_SIZE || in rseq_get_rseq_cs()[all …]