Re: [LTP] [PATCH] io_submit: uninitialized iocb may not return -EINVAL

chrubis
2012-10-16T10:13:18Z

Hi!
> Notice that return value is positive (1). So it could be that some random data
> succeeded and one iocb was actually submitted.

Well I think that if you pass random data to the kernel the only
assumption that may hold is that this action should not bring the system
down (unless of course you happen to initiate shutdown).

From this point of view calling libcalls/syscalls with random values and
asserting certain results makes a little sense.

--
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!