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  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 16 Sep 2014 11:47:42 -0600
From:	Shuah Khan <>
To:	Andy Lutomirski <>
CC:	Davidlohr Bueso <>,
	Andrew Morton <>,
	Greg KH <>,,
	"Eric W. Biederman" <>,
	Serge Hallyn <>,,,
	Linux API <>,
	"" <>,
	Shuah Khan <>
Subject: Re: [PATCH 1/7] selftests: add header file for test exit code defines

On 09/16/2014 11:40 AM, Andy Lutomirski wrote:
> On Tue, Sep 16, 2014 at 10:31 AM, Shuah Khan <> wrote:

> I think we will want a framework in the tree, but it can be very
> minimal.  But I also think that using exit(2) for this is wrong.  Why
> not:
> enum ktest_result {
>   ...,
> };
> void ktest_exit(enum ktest_result result);
> With the possibility of further extensions for more than one test (and
> associated result) per execution of the test binary.

Nothing wrong with the approach. It is one of the options I considered
and decided against it primarily because tests need more changes than
the ones needed for return codes. However, maybe it is worth while to
do so. I will play with this and see how extensive the changes are.

-- Shuah

Shuah Khan
Sr. Linux Kernel Developer
Samsung Research America (Silicon Valley) | (970) 217-8978
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists