2018-10-10 16:08:14 +00:00
|
|
|
<runtime ram="32M" caps="1000" binary="init">
|
|
|
|
|
2023-06-24 14:57:19 +00:00
|
|
|
<fail after_seconds="60"/>
|
|
|
|
<succeed>child "test-libc_vfs" exited with exit value 0</succeed>
|
|
|
|
<fail>Error: </fail>
|
2018-10-10 16:08:14 +00:00
|
|
|
|
|
|
|
<content>
|
|
|
|
<rom label="ld.lib.so"/>
|
|
|
|
<rom label="libc.lib.so"/>
|
|
|
|
<rom label="vfs.lib.so"/>
|
|
|
|
<rom label="vfs_audit.lib.so"/>
|
|
|
|
<rom label="vfs"/>
|
|
|
|
<rom label="test-libc_vfs"/>
|
|
|
|
</content>
|
|
|
|
|
|
|
|
<config>
|
|
|
|
<parent-provides>
|
|
|
|
<service name="ROM"/>
|
|
|
|
<service name="PD"/>
|
|
|
|
<service name="RM"/>
|
|
|
|
<service name="CPU"/>
|
|
|
|
<service name="LOG"/>
|
|
|
|
</parent-provides>
|
|
|
|
<default-route>
|
|
|
|
<any-service> <parent/> <any-child/> </any-service>
|
|
|
|
</default-route>
|
|
|
|
<default caps="100"/>
|
|
|
|
<start name="vfs">
|
|
|
|
<resource name="RAM" quantum="12M"/>
|
|
|
|
<provides> <service name="File_system"/> </provides>
|
|
|
|
<config>
|
|
|
|
<vfs>
|
|
|
|
<dir name="ram"> <ram/> </dir>
|
|
|
|
<dir name="audit"> <audit path="ram"/> </dir>
|
|
|
|
</vfs>
|
|
|
|
<default-policy root="/audit" writeable="yes"/>
|
|
|
|
</config>
|
|
|
|
</start>
|
|
|
|
<start name="test-libc_vfs">
|
|
|
|
<resource name="RAM" quantum="4M"/>
|
|
|
|
<config>
|
2020-04-01 13:15:19 +00:00
|
|
|
<iterations value="1"/>
|
|
|
|
<write-read size="1M" buffer_size="8K"/>
|
2018-10-10 16:08:14 +00:00
|
|
|
<vfs>
|
|
|
|
<dir name="tmp"> <fs/> </dir>
|
|
|
|
<dir name="dev"> <log/> </dir>
|
|
|
|
</vfs>
|
|
|
|
<libc stdout="/dev/log" cwd="/tmp"/>
|
|
|
|
</config>
|
|
|
|
</start>
|
|
|
|
</config>
|
|
|
|
</runtime>
|