Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:Update
util-linux-systemd.32955
util-linux-login-move-generic-setting-to-ttyuti...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File util-linux-login-move-generic-setting-to-ttyutils.patch of Package util-linux-systemd.32955
From 726ffb4a26153e1ae881612065940580f0a24cdb Mon Sep 17 00:00:00 2001 From: Karel Zak <kzak@redhat.com> Date: Tue, 23 Feb 2021 11:46:10 +0100 Subject: [PATCH] login: move generic setting to ttyutils.h Signed-off-by: Karel Zak <kzak@redhat.com> --- include/ttyutils.h | 7 +++++++ login-utils/login.c | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) Index: util-linux-2.33.2/include/ttyutils.h =================================================================== --- util-linux-2.33.2.orig/include/ttyutils.h +++ util-linux-2.33.2/include/ttyutils.h @@ -17,6 +17,13 @@ #include <sys/ttydefaults.h> #endif +#ifdef USE_TTY_GROUP +# define TTY_MODE 0620 +#else +# define TTY_MODE 0600 +#endif +#define TTYGRPNAME "tty" /* name of group to own ttys */ + /* Some shorthands for control characters. */ #define CTL(x) ((x) ^ 0100) /* Assumes ASCII dialect */ #define CR CTL('M') /* carriage return */ Index: util-linux-2.33.2/login-utils/login.c =================================================================== --- util-linux-2.33.2.orig/login-utils/login.c +++ util-linux-2.33.2/login-utils/login.c @@ -87,13 +87,6 @@ #define LOGIN_EXIT_TIMEOUT 5 #define LOGIN_TIMEOUT 60 -#ifdef USE_TTY_GROUP -# define TTY_MODE 0620 -#else -# define TTY_MODE 0600 -#endif - -#define TTYGRPNAME "tty" /* name of group to own ttys */ #define VCS_PATH_MAX 64 /*
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor