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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20210119092301.25789-1-chi962464zy@163.com>
Date:   Tue, 19 Jan 2021 17:23:01 +0800
From:   chiguoqing <chi962464zy@....com>
To:     keescook@...omium.org
Cc:     pcc@...gle.com, linux-kernel@...r.kernel.org,
        shaojunjun@...ong.com, zhangwen@...ong.com, chiguoqing@...ong.com,
        chiguoqing <chi962464zy@....com>
Subject: [PATCH] signal: remove redundant quote

If define __HAVE_ARCH_SIG_SETOPS,it will onece include string.h.
But if no define __HAVE_ARCH_SIG_SETOPS or into this code,
it will repeated references string.h
So i think we can remove this include which in __HAVE_ARCH_SIG_SETOPS.

Signed-off-by: Junjun Shao<shaojunjun@...ong.com>
---
 include/linux/signal.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/signal.h b/include/linux/signal.h
index 205526c4003a..c371d3a3ff61 100644
--- a/include/linux/signal.h
+++ b/include/linux/signal.h
@@ -124,7 +124,6 @@ static inline int sigequalsets(const sigset_t *set1, const sigset_t *set2)
 #define sigmask(sig)	(1UL << ((sig) - 1))
 
 #ifndef __HAVE_ARCH_SIG_SETOPS
-#include <linux/string.h>
 
 #define _SIG_SET_BINOP(name, op)					\
 static inline void name(sigset_t *r, const sigset_t *a, const sigset_t *b) \
-- 
2.17.1


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ