]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
docs: document what integer range we expect from JSON parsers
authorLennart Poettering <lennart@poettering.net>
Thu, 28 Oct 2021 11:38:59 +0000 (13:38 +0200)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 28 Oct 2021 13:15:46 +0000 (14:15 +0100)
docs/USER_RECORD.md

index c134ec42e3fb136bf2b288bbd309f95ee2ca98cb..f82f1307cc8bc353fb2bce6993eaf44f45144fda 100644 (file)
@@ -89,6 +89,11 @@ synthesize and process with numerous programming languages. It's particularly
 popular in the web communities, which hopefully should make it easy to link
 user credential data from the web and from local systems more closely together.
 
+Please note that this specification assumes that JSON numbers may cover the full
+integer range of -2^63 … 2^64-1 without loss of precision (i.e. INT64_MIN …
+UINT64_MAX). Please read, write and process user records as defined by this
+specification only with JSON implementations that provide this number range.
+
 ## General Structure
 
 The JSON user records generated and processed by systemd follow a general