The verbose flag is responsible for dereferencing of addresses, and it
is perfectly handled by umove_or_printaddr; moreover, this early exit
leads to incorrect formatting of last argument.
* loop.c (loop_ioctl): Do not check verbose flag explicitly and do not
exit early if it is not set.
struct tcb *tcp, const unsigned int code,
const kernel_ulong_t arg)
{
- if (!verbose(tcp))
- return RVAL_DECODED;
-
switch (code) {
case LOOP_GET_STATUS:
if (entering(tcp))