Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
44d34cb6
Commit
44d34cb6
authored
Sep 08, 2004
by
ndbdev@ndbmaster.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wl1292 - mysql-test-run in autotest
Reset SIGCHLD before exec-ing
parent
91cb0fbc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
ndb/src/cw/cpcd/Process.cpp
ndb/src/cw/cpcd/Process.cpp
+2
-0
No files found.
ndb/src/cw/cpcd/Process.cpp
View file @
44d34cb6
...
...
@@ -353,6 +353,7 @@ CPCD::Process::start() {
setsid
();
writePid
(
getpgrp
());
if
(
runas
(
m_runas
.
c_str
())
==
0
){
signal
(
SIGCHLD
,
SIG_DFL
);
do_exec
();
}
_exit
(
1
);
...
...
@@ -383,6 +384,7 @@ CPCD::Process::start() {
if
(
runas
(
m_runas
.
c_str
())
!=
0
){
_exit
(
1
);
}
signal
(
SIGCHLD
,
SIG_DFL
);
do_exec
();
_exit
(
1
);
/* NOTREACHED */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment