diff options
author | Lennart Poettering <lennart@poettering.net> | 2021-10-28 13:38:59 +0200 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2021-10-28 14:15:46 +0100 |
commit | a21e88d476d0ceab7f5ba4df29cf2ffa16702017 (patch) | |
tree | 34cc0dffeb07dc3195abc497fee312c747076a57 /docs/USER_RECORD.md | |
parent | e3a0a862f625fdabfb0cbe15917a343c9d542d03 (diff) | |
download | systemd-a21e88d476d0ceab7f5ba4df29cf2ffa16702017.tar.gz |
docs: document what integer range we expect from JSON parsers
Diffstat (limited to 'docs/USER_RECORD.md')
-rw-r--r-- | docs/USER_RECORD.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/USER_RECORD.md b/docs/USER_RECORD.md index c134ec42e3..f82f1307cc 100644 --- a/docs/USER_RECORD.md +++ b/docs/USER_RECORD.md @@ -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 |