[sudo-commits] sudo changeset 12243:ec4e4053e95e

Todd C. Miller Todd.Miller at sudo.ws
Mon Feb 17 16:48:21 MST 2020


changeset:	12243:ec4e4053e95e in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/ec4e4053e95e
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Mon Feb 17 16:10:55 2020 -0700

Log Message:
	Rework the JSON API to write to a memory buffer, not a stdio stream.

diffstat:

 include/sudo_json.h                            |   23 +-
 lib/util/json.c                                |  288 ++++++++++++++++++------
 lib/util/util.exp.in                           |    2 +
 plugins/audit_json/audit_json.c                |  218 ++++++++++--------
 plugins/sudoers/cvtsudoers_json.c              |   22 +-
 plugins/sudoers/regress/sudoers/test10.json.ok |    2 -
 plugins/sudoers/regress/sudoers/test9.json.ok  |    2 -
 7 files changed, 372 insertions(+), 185 deletions(-)


More information about the sudo-commits mailing list