Fully verify comp_req__log__file_descriptor_flags (File Descriptor Flags)
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
Research direction
Start by reading the file recorder and writer factory tests named in the issue, then locate where those tests create or open file descriptors. Add verification that each descriptor owned by the logging component has the FD_CLOEXEC flag, as described in the requirement. The work is done when the relevant tests check the flag and pass.
Written by the indexing model from the issue text.
Description
Verification gap (Only partially tested): The linked tests only partially verify this requirement.
| Field | Value |
|---|---|
| Item | comp_req__log__file_descriptor_flags |
| Title | File Descriptor Flags |
| Component | mw::log Backend (comp__mw_log_backend) |
| Safety | ASIL_B |
| Status | valid_inspected |
Linked tests: WriterFactoryFixture__WhenTheFileExistsItShallBeUnlinked (passed), FileRecorderFactoryConfigFixture__FileConfigurionShallCallFileCreationAndReturnFileRecorder (passed)
Requirement text (from the documentation):
mw::log shall ensure that file descriptors it owns are not inherited by
processes started by the application... note::
This requirement can be satisfied in unit-test, by checking
``int flags = fcntl(fd, F_GETFD); assert((flags != -1) && (flags & FD_CLOEXEC));`` for every
file descriptor owned by the component.
Found in the module verification report of eclipse-score/logging.
- Dominant language
- C++
- Stars
- 2
- Forks
- 35
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 43
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eclipse-score/logging
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
eclipse-score/logging#531 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
eclipse-score/logging#528 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
eclipse-score/logging#527 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
eclipse-score/logging#494 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
eclipse-score/logging#493 ·
Maintainers usually reply within 2 days
All issues in eclipse-score/logging
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug
Difficulty 1/5 1-3 hours Newbie friendliness 78/100
azahar-emu/azahar#2944 ·
Maintainers usually reply within 1 day
-
upstream update
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
conan-io/conan-center-index#31637 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Niko1221/Strata#7777 · 1 reaction ·
Maintainers usually reply within 4 days