summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2015-04-19 16:37:26 +0200
committerAndy Wingo <wingo@pobox.com>2015-04-19 16:37:26 +0200
commit5e123f9fef3cf665a2b81a8200e34e6de1a54454 (patch)
treecbf488f5d45d2a8fbf27c1432ac721d00edb9c0a
parentc21446eca097f3237610d4d3db9a5e7669fdd98a (diff)
Remove TTY_GID checks
-rw-r--r--Makefile.am1
-rw-r--r--configure.ac10
-rw-r--r--src/shared/def.h4
3 files changed, 0 insertions, 15 deletions
diff --git a/Makefile.am b/Makefile.am
index 3025c65ad2..eb758195dc 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -997,7 +997,6 @@ substitutions = \
'|PYTHON_BINARY=$(PYTHON_BINARY)|' \
'|systemuidmax=$(SYSTEM_UID_MAX)|' \
'|systemgidmax=$(SYSTEM_GID_MAX)|' \
- '|TTY_GID=$(TTY_GID)|' \
'|systemsleepdir=$(systemsleepdir)|' \
'|systemshutdowndir=$(systemshutdowndir)|' \
'|binfmtdir=$(binfmtdir)|' \
diff --git a/configure.ac b/configure.ac
index 7d3d436f16..529fcf2318 100644
--- a/configure.ac
+++ b/configure.ac
@@ -541,15 +541,6 @@ AM_CONDITIONAL(ENABLE_MANPAGES, [test "x$have_manpages" = "xyes"])
# ------------------------------------------------------------------------------
AC_SUBST(M4_DEFINES)
-AC_ARG_WITH([tty-gid],
- [AS_HELP_STRING([--with-tty-gid=GID],
- [Specify the numeric GID of the 'tty' group])],
- [TTY_GID="$withval"],
- [TTY_GID="5"])
-
-AC_DEFINE_UNQUOTED(TTY_GID, [$TTY_GID], [GID of the 'tty' group])
-AC_SUBST(TTY_GID)
-
AC_ARG_WITH([dbuspolicydir],
AS_HELP_STRING([--with-dbuspolicydir=DIR], [D-Bus policy directory]),
[],
@@ -725,7 +716,6 @@ AC_MSG_RESULT([
D-Bus system dir: ${with_dbussystemservicedir}
Bash completions dir: ${with_bashcompletiondir}
Zsh completions dir: ${with_zshcompletiondir}
- TTY GID: ${TTY_GID}
Maximum System UID: ${SYSTEM_UID_MAX}
Maximum System GID: ${SYSTEM_GID_MAX}
Certificate root: ${CERTIFICATEROOT}
diff --git a/src/shared/def.h b/src/shared/def.h
index a3d9fcf388..a6046b4d3f 100644
--- a/src/shared/def.h
+++ b/src/shared/def.h
@@ -78,9 +78,5 @@
.un.sun_path = "\0/org/freedesktop/plymouthd", \
}
-#ifndef TTY_GID
-#define TTY_GID 5
-#endif
-
#define NOTIFY_FD_MAX 768
#define NOTIFY_BUFFER_MAX PIPE_BUF