On 3/29/2019 10:00 PM, Jann Horn wrote:
The first two arguments of __user_atomic_cmpxchg_inatomic() are:
- `uval` is a kernel pointer into which the old value should be stored
- `ptr` is the user pointer on which the cmpxchg should operate
This means that casting `uval` to `__typeof__(ptr
The first two arguments of __user_atomic_cmpxchg_inatomic() are:
- `uval` is a kernel pointer into which the old value should be stored
- `ptr` is the user pointer on which the cmpxchg should operate
This means that casting `uval` to `__typeof__(ptr)` is wrong. Since `uval`
is only used once in
2 matches
Mail list logo