chiark / gitweb /
Remove TTY_GID checks
authorAndy Wingo <wingo@pobox.com>
Sun, 19 Apr 2015 14:37:26 +0000 (16:37 +0200)
committerAndy Wingo <wingo@pobox.com>
Sun, 19 Apr 2015 14:37:26 +0000 (16:37 +0200)
Makefile.am
configure.ac
src/shared/def.h

index 3025c65ad28008ab82cdb3795e1b9191849aef46..eb758195dca07f5242a7a334da04255301843909 100644 (file)
@@ -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)|' \
index 7d3d436f1668fb3e8140f6c9699b0393006c2898..529fcf2318fb8d1cd876cd3a58f65341d8f28dd6 100644 (file)
@@ -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}
index a3d9fcf388c8783bc826bb2d5fa53db19944c053..a6046b4d3fa45542a602b99e881c1a403a3d37e6 100644 (file)
@@ -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