Print this page
NEX-19401 update copyright year to 2019
Reviewed by: Rick McNeal <rick.mcneal@nexenta.com>
Reviewed by: Joyce McIntosh <joyce.mcintosh@nexenta.com>
MFV: illumos-gate@39cc040ff7c0c62aae858381f21d0567dd60042e
9967 dflt_termios and base_termios need update
Reviewed by: Andy Fiddaman <omnios@citrus-it.net>
Reviewed by: Jason King <jason.king@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
Author: Toomas Soome <tsoome@me.com>
@@ -408,21 +408,21 @@
struct pidlist *pl_next; /* Next in list */
} *Plhead, *Plfree;
/*
* The following structure contains a set of modes for /dev/syscon
- * and should match the default contents of /etc/ioctl.syscon. It should also
- * be kept in-sync with base_termios in uts/common/io/ttcompat.c.
+ * and should match the default contents of /etc/ioctl.syscon.
*/
static struct termios dflt_termios = {
- BRKINT|ICRNL|IXON|IMAXBEL, /* iflag */
- OPOST|ONLCR|TAB3, /* oflag */
- CS8|CREAD|B9600, /* cflag */
- ISIG|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE|IEXTEN, /* lflag */
- CINTR, CQUIT, CERASE, CKILL, CEOF, 0, 0, 0,
- 0, 0, 0, 0, 0, 0, 0, 0,
- 0, 0, 0
+ .c_iflag = BRKINT|ICRNL|IXON|IMAXBEL,
+ .c_oflag = OPOST|ONLCR|TAB3,
+ .c_cflag = CS8|CREAD|B9600,
+ .c_lflag = ISIG|ICANON|ECHO|ECHOE|ECHOK|ECHOCTL|ECHOKE|IEXTEN,
+ .c_cc = { CINTR, CQUIT, CERASE, CKILL, CEOF, 0, 0, 0,
+ CSTART, CSTOP, CSWTCH, CDSUSP, CRPRNT, CFLUSH, CWERASE, CLNEXT,
+ CSTATUS, CERASE2, 0
+ }
};
static struct termios stored_syscon_termios;
static int write_ioctl = 0; /* Rewrite /etc/ioctl.syscon */
@@ -697,10 +697,11 @@
"\n\n%s Release %s Version %s %d-bit\r\n",
un.sysname, un.release, un.version, bits);
console(B_FALSE,
"Copyright (c) 1983, 2010, Oracle and/or its affiliates."
" All rights reserved.\r\n");
+ console(B_FALSE, "Copyright 2019 Nexenta Systems, Inc.\r\n");
}
/*
* Get the ioctl settings for /dev/syscon from /etc/ioctl.syscon
* so that it can be brought up in the state it was in when the