Module Name: src Committed By: martin Date: Tue Aug 7 13:19:52 UTC 2018
Modified Files: src/sbin/cgdconfig [netbsd-8]: cgdconfig.8 cgdconfig.c Log Message: Pull up following revision(s) (requested by alnsn in ticket #958): sbin/cgdconfig/cgdconfig.c: revision 1.46 sbin/cgdconfig/cgdconfig.c: revision 1.47 sbin/cgdconfig/cgdconfig.c: revision 1.48 sbin/cgdconfig/cgdconfig.8: revision 1.39 sbin/cgdconfig/cgdconfig.8: revision 1.40 Add '-e' option (echo the passphrase) and wipe the passphrase after use. XXX Using memset for wiping isn't a good idea because memset is likely optimised away by gcc. This should be revisited. Missed one change when doing a manual merge of my patch with kre's commit. use explicit_memset(3) With the change to use getpass_r the 128 byte passphrase limit no longer applies, so update the BUGS section here to reflect that change. The limit now is 1023 whichever method is used to fetch the passphrase. To generate a diff of this commit: cvs rdiff -u -r1.36.6.1 -r1.36.6.2 src/sbin/cgdconfig/cgdconfig.8 cvs rdiff -u -r1.41.6.1 -r1.41.6.2 src/sbin/cgdconfig/cgdconfig.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.