util: unify implementation of NOP signal handler
This is highly complex code after all, we really should make sure to only keep one implementation of this extremely difficult function around.
This commit is contained in:
@@ -6916,3 +6916,7 @@ int receive_one_fd(int transport_fd, int flags) {
|
||||
|
||||
return *(int*) CMSG_DATA(found);
|
||||
}
|
||||
|
||||
void nop_signal_handler(int sig) {
|
||||
/* nothing here */
|
||||
}
|
||||
|
||||
@@ -944,3 +944,5 @@ int fgetxattr_malloc(int fd, const char *name, char **value);
|
||||
|
||||
int send_one_fd(int transport_fd, int fd, int flags);
|
||||
int receive_one_fd(int transport_fd, int flags);
|
||||
|
||||
void nop_signal_handler(int sig);
|
||||
|
||||
Reference in New Issue
Block a user