diff options
author | Toomas Soome <tsoome@me.com> | 2019-04-29 14:13:54 +0300 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2019-05-16 22:36:52 +0300 |
commit | c0423dd8ef7079a845a1aa3ceb20e565e815f97b (patch) | |
tree | 9f8888d60286b10060d1d3944782a08819ce398a /usr/src/uts/common/os/streamio.c | |
parent | e3f3c0e614a8cd74d4212f4c7c616ed5b3cf00cb (diff) | |
download | illumos-gate-c0423dd8ef7079a845a1aa3ceb20e565e815f97b.tar.gz |
10884 kbd: add option to limit autorepeat count, convert manual
Reviewed by: Peter Tribble <peter.tribble@gmail.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/uts/common/os/streamio.c')
-rw-r--r-- | usr/src/uts/common/os/streamio.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr/src/uts/common/os/streamio.c b/usr/src/uts/common/os/streamio.c index d4c2f7023d..0f6077915f 100644 --- a/usr/src/uts/common/os/streamio.c +++ b/usr/src/uts/common/os/streamio.c @@ -19,7 +19,7 @@ * CDDL HEADER END */ /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ -/* All Rights Reserved */ +/* All Rights Reserved */ /* @@ -3419,6 +3419,7 @@ strioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, int copyflag, case KIOCSDIRECT: case KIOCSCOMPAT: case KIOCSKABORTEN: + case KIOCSRPTCOUNT: case KIOCSRPTDELAY: case KIOCSRPTRATE: case VUIDSFORMAT: @@ -3488,6 +3489,7 @@ strioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, int copyflag, case TCGETS: case LDGETT: case TIOCGETP: + case KIOCGRPTCOUNT: case KIOCGRPTDELAY: case KIOCGRPTRATE: strioc.ic_len = 0; @@ -5422,7 +5424,7 @@ strioctl(struct vnode *vp, int cmd, intptr_t arg, int flag, int copyflag, /* * Set/clear the write options. arg is a bit * mask with any of the following bits set... - * SNDZERO - send zero length message + * SNDZERO - send zero length message * SNDPIPE - send sigpipe to process if * sd_werror is set and process is * doing a write or putmsg. @@ -5883,7 +5885,7 @@ out: * ic_timout is not INFTIM). Non-stream head errors may be returned if * the ioc_error indicates that the driver/module had problems, * an EFAULT was found when accessing user data, a lack of - * resources, etc. + * resources, etc. */ int strdoioctl( |