]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r291658
authorbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 9 Dec 2015 21:38:26 +0000 (21:38 +0000)
committerbapt <bapt@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 9 Dec 2015 21:38:26 +0000 (21:38 +0000)
commitf4a2a132798712b8a14c7da08ae97d62bdf7494e
treef83d6c58d41660bc158e51ac9dd5500ad0b72554
parente9b8cf069430bdaa348cc04c18972e7c69751dae
MFC: r291658

pw_checkname since the beginning is too strict on GECOS field,
relax it a bit so gecos can be used to store multibytes data.

This was unseen before FreeBSD 10.2 as this validation function was motly unused
since FreeBSD 10.2 the usage of this function has been generalized to improve

Reported by: des

git-svn-id: svn://svn.freebsd.org/base/stable/10@292026 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
usr.sbin/pw/pw_user.c