* [PATCH 1/2] um: add missing declaration of 'getrlimit()' and friends
@ 2012-12-29 22:37 Sergei Trofimovich
0 siblings, 0 replies; 4+ messages in thread
From: Sergei Trofimovich @ 2012-12-29 22:37 UTC (permalink / raw)
Cc: Sergei Trofimovich, Jeff Dike, Richard Weinberger, Al Viro,
user-mode-linux-devel, user-mode-linux-user, linux-kernel
arch/um/os-Linux/start_up.c: In function 'check_coredump_limit':
arch/um/os-Linux/start_up.c:338:16: error: storage size of 'lim' isn't known
arch/um/os-Linux/start_up.c:339:2: error: implicit declaration of function 'getrlimit' [-Werror=implicit-function-declaration]
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
CC: Jeff Dike <jdike@addtoit.com>
CC: Richard Weinberger <richard@nod.at>
CC: Al Viro <viro@zeniv.linux.org.uk>
CC: user-mode-linux-devel@lists.sourceforge.net
CC: user-mode-linux-user@lists.sourceforge.net
CC: linux-kernel@vger.kernel.org
---
arch/um/os-Linux/start_up.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c
index da4b9e9..337518c 100644
--- a/arch/um/os-Linux/start_up.c
+++ b/arch/um/os-Linux/start_up.c
@@ -15,6 +15,8 @@
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/wait.h>
+#include <sys/time.h>
+#include <sys/resource.h>
#include <asm/unistd.h>
#include <init.h>
#include <os.h>
--
1.8.0.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 0/2] um: fix minor build failures
@ 2013-02-23 21:11 Sergei Trofimovich
2013-02-23 21:11 ` [PATCH 1/2] um: add missing declaration of 'getrlimit()' and friends Sergei Trofimovich
2013-02-23 21:11 ` [PATCH 2/2] um: fix build failure due to mess-up of sig_info protorype Sergei Trofimovich
0 siblings, 2 replies; 4+ messages in thread
From: Sergei Trofimovich @ 2013-02-23 21:11 UTC (permalink / raw)
To: Linus Torvalds; +Cc: linux-kernel, user-mode-linux-user, stable
Hia Linus!
Sending build fixes directly as Richard is busy now
and UML fails to build for quite a while.
Thanks!
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] um: add missing declaration of 'getrlimit()' and friends
2013-02-23 21:11 [PATCH 0/2] um: fix minor build failures Sergei Trofimovich
@ 2013-02-23 21:11 ` Sergei Trofimovich
2013-02-23 21:11 ` [PATCH 2/2] um: fix build failure due to mess-up of sig_info protorype Sergei Trofimovich
1 sibling, 0 replies; 4+ messages in thread
From: Sergei Trofimovich @ 2013-02-23 21:11 UTC (permalink / raw)
To: Linus Torvalds
Cc: linux-kernel, user-mode-linux-user, stable, Sergei Trofimovich
From: Sergei Trofimovich <slyfox@gentoo.org>
arch/um/os-Linux/start_up.c: In function 'check_coredump_limit':
arch/um/os-Linux/start_up.c:338:16: error: storage size of 'lim' isn't known
arch/um/os-Linux/start_up.c:339:2: error: implicit declaration of function 'getrlimit' [-Werror=implicit-function-declaration]
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
arch/um/os-Linux/start_up.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/um/os-Linux/start_up.c b/arch/um/os-Linux/start_up.c
index da4b9e9..337518c 100644
--- a/arch/um/os-Linux/start_up.c
+++ b/arch/um/os-Linux/start_up.c
@@ -15,6 +15,8 @@
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/wait.h>
+#include <sys/time.h>
+#include <sys/resource.h>
#include <asm/unistd.h>
#include <init.h>
#include <os.h>
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] um: fix build failure due to mess-up of sig_info protorype
2013-02-23 21:11 [PATCH 0/2] um: fix minor build failures Sergei Trofimovich
2013-02-23 21:11 ` [PATCH 1/2] um: add missing declaration of 'getrlimit()' and friends Sergei Trofimovich
@ 2013-02-23 21:11 ` Sergei Trofimovich
1 sibling, 0 replies; 4+ messages in thread
From: Sergei Trofimovich @ 2013-02-23 21:11 UTC (permalink / raw)
To: Linus Torvalds
Cc: linux-kernel, user-mode-linux-user, stable, Sergei Trofimovich
From: Sergei Trofimovich <slyfox@gentoo.org>
arch/um/os-Linux/signal.c:18:8: error: conflicting types for 'sig_info'
In file included from /home/slyfox/linux-2.6/arch/um/os-Linux/signal.c:12:0:
arch/um/include/shared/as-layout.h:64:15: note: previous declaration of 'sig_info' was here
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
---
arch/um/os-Linux/signal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/um/os-Linux/signal.c b/arch/um/os-Linux/signal.c
index b1469fe..9d9f1b4 100644
--- a/arch/um/os-Linux/signal.c
+++ b/arch/um/os-Linux/signal.c
@@ -15,7 +15,7 @@
#include <sysdep/mcontext.h>
#include "internal.h"
-void (*sig_info[NSIG])(int, siginfo_t *, struct uml_pt_regs *) = {
+void (*sig_info[NSIG])(int, struct siginfo *, struct uml_pt_regs *) = {
[SIGTRAP] = relay_signal,
[SIGFPE] = relay_signal,
[SIGILL] = relay_signal,
--
1.8.1.2
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-23 21:12 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-23 21:11 [PATCH 0/2] um: fix minor build failures Sergei Trofimovich
2013-02-23 21:11 ` [PATCH 1/2] um: add missing declaration of 'getrlimit()' and friends Sergei Trofimovich
2013-02-23 21:11 ` [PATCH 2/2] um: fix build failure due to mess-up of sig_info protorype Sergei Trofimovich
-- strict thread matches above, loose matches on Subject: below --
2012-12-29 22:37 [PATCH 1/2] um: add missing declaration of 'getrlimit()' and friends Sergei Trofimovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).