summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-05-22 13:46:41 +0000
committered <ed@FreeBSD.org>2008-05-22 13:46:41 +0000
commit48d3064e97a093b9da51c6dc8eb2550ce2057454 (patch)
tree4bf834f7e8b10b772a55b7c485c1047300ac158e /sys
parent8f3ba2f95cdbacde06cbd30a7e6ae7ec6d25c92e (diff)
downloadFreeBSD-src-48d3064e97a093b9da51c6dc8eb2550ce2057454.zip
FreeBSD-src-48d3064e97a093b9da51c6dc8eb2550ce2057454.tar.gz
Add a new group definition to sys/conf.h: GID_TTY.
Our current TTY layer uses a set-uid application called ptchown to change ownership of a PTY slave device. The new TTY layer implements this functionality through a new ioctl(). By accident I discovered Darwin's TTY layer also uses this approach. Because of this, they also have a GID_TTY. Approved by: philip (mentor)
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/conf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/conf.h b/sys/sys/conf.h
index bd6aaf0..3b4e174 100644
--- a/sys/sys/conf.h
+++ b/sys/sys/conf.h
@@ -293,6 +293,7 @@ void devfs_fpdrop(struct file *fp); /* XXX This is not public KPI */
#define GID_WHEEL 0
#define GID_KMEM 2
+#define GID_TTY 4
#define GID_OPERATOR 5
#define GID_BIN 7
#define GID_GAMES 13
OpenPOWER on IntegriCloud