On Mon, Jun 06, 2016 at 04:57:02AM +1000, matthew green wrote: > > I noticed that gets_s (a bounded version of gets) was added in the kernel. > > While this iis nice, it conflicts with the c-11 "Annex K" which has a > > different prototype (takes rsize_t instead of size_t). Perhaps we should > > rename this to kgets() or getl() now before it causes problems. > > > > Opinions? > > sounds like a good idea to me. i like kgets() over getl().
I suggested bounded_gets() earlier, but kgets() seems fine too. I guess maxv and I noticed it separately, but please tag further commits with PR 51200. -- David A. Holland [email protected]
