summaryrefslogtreecommitdiffstats
path: root/tests/helpers/Makemodule.am
Commit message (Collapse)AuthorAgeFilesLines
* tests: add tests for encode functions from lib/mbsalign.cVaclav Dolezal2018-01-101-0/+3
| | | | Signed-off-by: Vaclav Dolezal <vdolezal@redhat.com>
* libuuid: add support for hash-based UUIDsPhilip Prindeville2017-09-051-0/+7
| | | | | | | | | Adding V3 and V5 UUIDs per RFC-4122. [kzak@redhat.com: - fix symbols file] Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: Add helper for TIOCSTI exploitStanislav Brabec2016-09-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This helper/exploit injects "id -u -n\n" to the vulnerable calling terminal. Use id -u -n to get a reproducible output of test cases based on it. What can happen: Nothing, no exploit: pty is not accessible, sedsid() disconnected the task from pty, TIOCSTI failed. The command is injected to the unprivileged environment pty, and you see e. g. "nobody": This is acceptable. The command is injected to the caller (privileged) pty, and you see "root" (or caller uid name): This is not acceptable and has security implications. References: CVE-2016-2779 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-2779 http://seclists.org/oss-sec/2016/q1/448 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=815922 https://bugzilla.redhat.com/show_bug.cgi?id=173008 https://bugzilla.suse.com/show_bug.cgi?id=968674 https://bugzilla.suse.com/show_bug.cgi?id=968675 CVE-2016-2781 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-2781 http://seclists.org/oss-sec/2016/q1/452 Signed-off-by: Stanislav Brabec <sbrabec@suse.cz> Cc: Federico Bento <up201407890@alunos.dcc.fc.up.pt>
* misc-utils: build test_uuidd only if BUILD_UUIDDRuediger Meier2016-02-121-5/+0Star
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* test_uuidd: err messages, argv[] parsing and another cleanupsKarel Zak2015-04-241-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add uuidd test programHuschaam Hussain2015-04-241-0/+6
| | | | | References: https://bugzilla.redhat.com/show_bug.cgi?id=678306 Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add signal receiver programSami Kerola2014-04-261-0/+4
| | | | | | | Target to kill with a check that will be written later. CC: Bernhard Voelker <mail@bernhard-voelker.de> Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* build-sys: move tests to check_PROGRAMSKarel Zak2012-07-301-4/+4
| | | | | | Thanks to Mike Frysinger. Signed-off-by: Karel Zak <kzak@redhat.com>
* build-sys: convert tests/ to moduleKarel Zak2012-06-261-0/+12
Signed-off-by: Karel Zak <kzak@redhat.com>