tree-wide: use JSON_ALLOW_EXTENSIONS when disptching at various places
authorLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2024 11:39:28 +0000 (12:39 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 5 Jan 2024 11:43:06 +0000 (12:43 +0100)
commitf0e4244b2fda1b3de3da1c2792ed1cd21c72087b
tree648cf848ac06afc46f809f33d929954136c9001d
parenta617fd904789cd3a05cf4cb2f54649e2a1f73d33
tree-wide: use JSON_ALLOW_EXTENSIONS when disptching at various places

If we want to allow method replies to be extended without this breaking
compat, then we should set this flag. Do so at various method call
replies hence.

Also do it when parsing user/group records, which are expressly
documented to be extensible, as well as the hibernate JSON record.
src/hibernate-resume/hibernate-resume-config.c
src/network/networkctl.c
src/nss-resolve/nss-resolve.c
src/shared/group-record.c
src/shared/user-record.c
src/shared/userdb.c