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>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070804203005.GA7668@martell.zuzino.mipt.ru>
Date:	Sun, 5 Aug 2007 00:30:05 +0400
From:	Alexey Dobriyan <adobriyan@...il.com>
To:	davem@...emloft.net
Cc:	linux-kernel@...r.kernel.org, sparclinux@...r.kernel.org
Subject: [PATCH] sparc: fix fallout from O_CLOEXEC changes

Just "#define O_CLOEXEC" is OK, because asm-generic/fcntl.h will check if it's
already defined.

Loads of "struct flock inside parameter list" warnings and
"O_WRONLY undefined" errors.

Signed-off-by: Alexey Dobriyan <adobriyan@...il.com>
---

 include/asm-sparc/fcntl.h |    1 +
 1 file changed, 1 insertion(+)

--- a/include/asm-sparc/fcntl.h
+++ b/include/asm-sparc/fcntl.h
@@ -32,5 +32,6 @@
 #define __ARCH_FLOCK_PAD	short __unused;
 #define __ARCH_FLOCK64_PAD	short __unused;
 
+#include <asm-generic/fcntl.h>
 
 #endif

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ