summaryrefslogtreecommitdiffstats
path: root/include/ttyent.h
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2018-05-18 14:53:44 -0300
committerRenato Botelho <renato@netgate.com>2018-05-18 14:53:44 -0300
commit64f021cd075bbcb3042539dcebc63e7d335ec2c0 (patch)
tree1a64375406a7b5976f98eaf4cf19f00cf2931dd1 /include/ttyent.h
parent8f29f1de284afe0ec8987780d5404a3e1a31712a (diff)
parenteb64daea863b1fe3320e10c6c72cbfe7e9ce967b (diff)
downloadFreeBSD-src-64f021cd075bbcb3042539dcebc63e7d335ec2c0.zip
FreeBSD-src-64f021cd075bbcb3042539dcebc63e7d335ec2c0.tar.gz
Merge remote-tracking branch 'origin/stable/11' into devel-11
Diffstat (limited to 'include/ttyent.h')
-rw-r--r--include/ttyent.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/ttyent.h b/include/ttyent.h
index f2220ad..928da81 100644
--- a/include/ttyent.h
+++ b/include/ttyent.h
@@ -38,6 +38,7 @@
#define _TTYS_OFF "off"
#define _TTYS_ON "on"
#define _TTYS_ONIFCONSOLE "onifconsole"
+#define _TTYS_ONIFEXISTS "onifexists"
#define _TTYS_SECURE "secure"
#define _TTYS_INSECURE "insecure"
#define _TTYS_WINDOW "window"
@@ -54,6 +55,8 @@ struct ttyent {
#define TTY_SECURE 0x02 /* allow uid of 0 to login */
#define TTY_DIALUP 0x04 /* is a dialup tty */
#define TTY_NETWORK 0x08 /* is a network tty */
+#define TTY_IFEXISTS 0x10 /* configured as "onifexists" */
+#define TTY_IFCONSOLE 0x20 /* configured as "onifconsole" */
int ty_status; /* status flags */
char *ty_window; /* command to start up window manager */
char *ty_comment; /* comment field */
OpenPOWER on IntegriCloud