summaryrefslogtreecommitdiffstats
path: root/sys/libkern/gets.c
Commit message (Collapse)AuthorAgeFilesLines
* Add support for asterisk characters when filling in the GELI passworded2010-11-141-1/+9
| | | | | | | | | | | during boot. Change the last argument of gets() to indicate a visibility flag and add definitions for the numerical constants. Except for the value 2, gets() will behave exactly the same, so existing consumers shouldn't break. We only use it in two places, though. Submitted by: lme (older version)
* Ignore spurious '\0' first character read on a serial console.ru2006-01-141-0/+2
| | | | | This allows me to "boot -a" over a serial console. Tested on several machines.
* We do want to print '\n'/'\r'.pjd2005-02-031-0/+1
| | | | Pointed out by: stefanf
* 'c' cannot be -1.pjd2005-02-031-1/+0
| | | | Submitted by: stefanf
* - Move gets() function to libkern (I want to use it outside vfs_mount.c).pjd2005-02-031-0/+67
- Add buffer size limitations (overflow will not be possible anymore). - Add 'visible' option, which will allow for passphrase reading in the future. - Remove special treatment of '@' and '#', those two are only confusing. Discussed with: rwatson MFC after: 2 weeks
OpenPOWER on IntegriCloud