genode/repos/base/recipes/pkg/test-stack_smash/runtime
Emery Hemingway 5efa6d5273 Stack smashing test
A test to check if -fstack-protector can be enabled and is effective.

Ref #3066
2019-04-01 19:33:46 +02:00

29 lines
622 B
Plaintext

<runtime ram="16M" caps="1000" binary="init">
<events>
<timeout meaning="failed" sec="20" />
<log meaning="succeeded">Error: stack protector check failed</log>
</events>
<content>
<rom label="ld.lib.so"/>
<rom label="test-stack_smash"/>
</content>
<config>
<parent-provides>
<service name="LOG"/>
<service name="CPU"/>
<service name="ROM"/>
<service name="PD"/>
</parent-provides>
<default-route>
<any-service> <parent/> </any-service>
</default-route>
<default caps="100"/>
<start name="test-stack_smash">
<resource name="RAM" quantum="4M"/>
</start>
</config>
</runtime>