summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_mountroot.c
diff options
context:
space:
mode:
authoravg <avg@FreeBSD.org>2011-12-17 15:16:54 +0000
committeravg <avg@FreeBSD.org>2011-12-17 15:16:54 +0000
commit53f09b7dafb734fd1c82af5d5e7415c7380c60db (patch)
treeec0a518e9e619f1d03d7c942ce15d3f80c2e2f47 /sys/kern/vfs_mountroot.c
parentd062f5e7d808af770ca939a38c47ac94d6846449 (diff)
downloadFreeBSD-src-53f09b7dafb734fd1c82af5d5e7415c7380c60db.zip
FreeBSD-src-53f09b7dafb734fd1c82af5d5e7415c7380c60db.tar.gz
introduce cngets, a method for kernel to read a string from console
This is intended as a replacement for libkern's gets and mostly borrows its implementation. It uses cngrab/cnungrab to delimit kernel's access to console input. Note: libkern's gets obviously doesn't share any bits of implementation iwth libc's gets. They also have different APIs and the former doesn't have the overflow problems of the latter. Inspired by: bde MFC after: 2 months
Diffstat (limited to 'sys/kern/vfs_mountroot.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud