perf_event_open: mark return code with RVAL_FD flag

* perf.c (sys_perf_event_open): Set RVAL_FD flag in the return code.
This commit is contained in:
Дмитрий Левин 2015-08-03 09:06:59 +00:00
parent 2a4f0521fc
commit 57823c6836

2
perf.c
View File

@ -15,5 +15,5 @@ SYS_FUNC(perf_event_open)
(int) tcp->u_arg[3]);
printflags(perf_event_open_flags, tcp->u_arg[4], "PERF_FLAG_???");
return RVAL_DECODED;
return RVAL_DECODED | RVAL_FD;
}