The entry stops_failed
A row of the test of the restarts of a start policy .
What it shows. A row that stops itself with the stop outcome Failed starts again while it has restarts left, and stays stopped after the last one.
Start: the rescue list of the image of the test of the rescue names it, with a count of restarts. Only that image holds it. It needs no grant.
What a reader sees. No window: the line stops_failed: it fails on purpose at each start, and the lines of the root service and of the start policy about each stop.
stops_failed module with an entry
- Hash
486a9530bb46d72222cd81462bb6ed82ca4ea0ad7b6f1ebd6778c53e066cc8f3- Size
32768 bytes- Exports
0- Imports
0- Imported by
0- License
- MIT
A row of the test of the restarts of a start policy
| Fact | Value |
|---|---|
| Kind | Modules with an entry |
| Source | src/modules/tests/stops_failed |
| Boot image | no: not in the boot image |
| Build settings | none: the defaults of the source |
| Imports | none |
| Imported by | none |
Neighbours
It imports no module, and no module imports it. The module graph shows it with the other modules that have no edge.
Exports
| Export | What it does |
|---|---|
entry() |
entry
entry()
- Form
- The entry of the module: one parameter, an address, fixed by the contract.
src/modules/tests/stops_failed/main.odin:20
Read from the source of the module, as the build reads it to describe the exports (tools/modustool/build/describe.odin).
What the root service gives it
| What | Value | As the root service says |
|---|---|---|
| Grants | none | |
| Other terms of its start grant set | none | |
| Budget that it asks for |
| No MODULE_BUDGET in its source: it asks for the least budget. |
The start grant set is read from start_grant_sets in src/modules/system/root/start_grant_sets.odin. The stated budget is read from the constant MODULE_BUDGET of the source of the module; the build adds the counted parts and writes the sum in the module (tools/modustool/build/budget_count.odin); the root service accepts it up to the largest budget of a process, and adds the limits of processor time and of log records (src/modules/system/root/budgets.odin).
