lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <201005280235.44683.temerkhanov@yandex.ru>
Date:	Fri, 28 May 2010 02:35:44 +0400
From:	Sergey Temerkhanov <temerkhanov@...dex.ru>
To:	"linux-aio" <linux-aio@...ck.org>,
	LKML <linux-kernel@...r.kernel.org>
Subject: Kernel module and 2 programs for AIO cancellation testing

The attached files are respectively:
  - a kernel module which implements 4 pseudo-devices with different
    aio_read/aio_write methods:
	- aiotest0 simply returns -EIOCBQUEUED;
   	- aiotest1 sets ki_cancel method and returns -EIOCBQUEUED;
	- aiotest2 sets KIF_CANCELLED flag and returns -EINTR;
	- aiotest3 sets ki_cancel method and returns -EIOCBQUEUED after 1 second;

  - a program test_aio.c which submits 1 AIO request and calls
    io_destroy() after 1 second timeout
  - a program test_aio.c which submits 1 AIO request and calls
    io_cancel() on that request immediately.

-- 
Regards, Sergey Temerkhanov,
Cifronic ZAO

View attachment "aio_tester.c" of type "text/x-csrc" (5406 bytes)

View attachment "test_aio.c" of type "text/x-csrc" (1244 bytes)

View attachment "test_aio_cancel.c" of type "text/x-csrc" (1435 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ