lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1513275237-9515-1-git-send-email-wolffhardt.schwabe@fau.de>
Date:   Thu, 14 Dec 2017 19:13:57 +0100
From:   Wolffhardt Schwabe <wolffhardt.schwabe@....de>
To:     linux-kernel@...r.kernel.org
Cc:     mingo@...nel.org, viro@...IV.linux.org.uk, ebiederm@...ssion.com,
        ptikhomirov@...tuozzo.com, sds@...ho.nsa.gov, Dave.Martin@....com,
        fweisbec@...il.com, ktkhai@...tuozzo.com, mhocko@...e.com,
        linux-kernel@...cs.fau.de,
        Wolffhardt Schwabe <wolffhardt.schwabe@....de>,
        Anatoliy Cherepantsev <anatoliy.cherepantsev@....de>
Subject: [PATCH] fix typo in assignment of fs default overflow gid

fix typo in assignment of fs default overflow gid

The patch remains without practical effect since
both macros carry identical values.
Still, it might become a problem in the future
if (for whatever reason) the default overflow uid
and gid differ.
The DEFAULT_FS_OVERFLOWGID macro was previously unused.

Signed-off-by: Wolffhardt Schwabe <wolffhardt.schwabe@....de>
Signed-off-by: Anatoliy Cherepantsev <anatoliy.cherepantsev@....de>
---
 kernel/sys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/sys.c b/kernel/sys.c
index 83ffd7d..f2289de 100644
--- a/kernel/sys.c
+++ b/kernel/sys.c
@@ -135,7 +135,7 @@ EXPORT_SYMBOL(overflowgid);
  */
 
 int fs_overflowuid = DEFAULT_FS_OVERFLOWUID;
-int fs_overflowgid = DEFAULT_FS_OVERFLOWUID;
+int fs_overflowgid = DEFAULT_FS_OVERFLOWGID;
 
 EXPORT_SYMBOL(fs_overflowuid);
 EXPORT_SYMBOL(fs_overflowgid);
-- 
2.7.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ