[PW_SID:1086807] network: add externally managed profiles#498
[PW_SID:1086807] network: add externally managed profiles#498IWDTestBot wants to merge 2 commits into
Conversation
Add [Settings].ExternallyManaged for network profiles whose contents are owned by another network manager. IWD still reads these profiles for connection setup, but avoids updating them as a side effect of network operation. Skip connection timestamp/profile writes, security cache writes, automatic profile encryption rewrites, and KnownNetwork AutoConnect persistence for externally managed profiles. Explicit Forget remains available through the existing removal path. Add storage tests covering the existing encryption rewrite path and the externally managed no-rewrite case.
Document [Settings].ExternallyManaged in iwd.network. The setting marks profiles that IWD may read but must not update during normal network operation, while explicit removal remains allowed.
|
Fetch PR Prep - Setup ELL Make Distcheck Build - Configure Make Check Make Check w/Valgrind Incremental Build with patches |
|
Fetch PR GitLint Prep - Setup ELL Make Distcheck Build - Configure Make Check Make Check w/Valgrind Incremental Build with patches Autotest Runner Clang Build |
Add [Settings].ExternallyManaged for network profiles whose contents
are owned by another network manager. IWD still reads these profiles
for connection setup, but avoids updating them as a side effect of
network operation.
Skip connection timestamp/profile writes, security cache writes,
automatic profile encryption rewrites, and KnownNetwork AutoConnect
persistence for externally managed profiles. Explicit Forget remains
available through the existing removal path.
Add storage tests covering the existing encryption rewrite path and
the externally managed no-rewrite case.
src/knownnetworks.c | 8 ++++
src/knownnetworks.h | 2 +
src/network.c | 67 +++++++++++++++++++-------
src/storage.c | 17 ++++++-
unit/test-storage.c | 114 +++++++++++++++++++++++++++++++++++++++++++-
5 files changed, 188 insertions(+), 20 deletions(-)