Re: [devel] [PATCH 1 of 1] base: Coredumps are not generated when running as non root [#1106]

2015-04-27 Thread Hans Nordebäck
it was tested with an LSB compiler, but I can add the ifndef before pushing. /Thanks HansN On 04/27/2015 01:20 PM, Anders Widell wrote: > Ack. > > Question: Did you try this with an LSB compiler? I am surprised it > didn't complain about PR_SET_DUMPABLE. Maybe it would be good to add > an #ifnd

Re: [devel] [PATCH 1 of 1] base: Coredumps are not generated when running as non root [#1106]

2015-04-27 Thread Anders Widell
Ack. Question: Did you try this with an LSB compiler? I am surprised it didn't complain about PR_SET_DUMPABLE. Maybe it would be good to add an #ifndef, just in case: #ifndef PR_SET_DUMPABLE #define PR_SET_DUMPABLE 4 #endif / Anders Widell On 04/20/2015 02:52 PM, Hans Nordeback wrote: > osa

[devel] [PATCH 1 of 1] base: Coredumps are not generated when running as non root [#1106]

2015-04-20 Thread Hans Nordeback
osaf/libs/core/common/daemon.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/osaf/libs/core/common/daemon.c b/osaf/libs/core/common/daemon.c --- a/osaf/libs/core/common/daemon.c +++ b/osaf/libs/core/common/daemon.c @@ -48,6 +48,8 @@ #include #include +#