Searched defs:mask (Results 1 - 9 of 9) sorted by relevance
/lxc/src/lxc/tools/ |
H A D | lxc_init.c | 82 sigset_t mask, omask; local 121 * mask all the signals so we are safe to install a 124 if (sigfillset(&mask) || 125 sigdelset(&mask, SIGILL) || 126 sigdelset(&mask, SIGSEGV) || 127 sigdelset(&mask, SIGBUS) || 128 sigprocmask(SIG_SETMASK, &mask, &omask)) { 129 SYSERROR("failed to set signal mask"); 180 SYSERROR("failed to set signal mask"); 194 SYSERROR("failed to set signal mask"); [all...] |
/lxc/src/lxc/bdev/ |
H A D | lxcnbd.c | 175 sigset_t mask; local 180 sigemptyset(&mask); 181 sigaddset(&mask, SIGHUP); 182 sigaddset(&mask, SIGCHLD); 187 if (sigprocmask(SIG_BLOCK, &mask, NULL) == -1) { 192 sfd = signalfd(-1, &mask, 0); 228 if (sigprocmask(SIG_UNBLOCK, &mask, NULL) == -1)
|
/lxc/src/lxc/ |
H A D | console.c | 112 sigset_t mask; local 128 sigemptyset(&mask); 129 sigaddset(&mask, SIGWINCH); 130 if (sigprocmask(SIG_BLOCK, &mask, &ts->oldmask)) { 136 ts->sigfd = signalfd(-1, &mask, 0);
|
H A D | lxc_monitord.c | 349 sigset_t mask; local 375 if (sigfillset(&mask) || 376 sigdelset(&mask, SIGILL) || 377 sigdelset(&mask, SIGSEGV) || 378 sigdelset(&mask, SIGBUS) || 379 sigdelset(&mask, SIGTERM) || 380 sigprocmask(SIG_BLOCK, &mask, NULL)) { 381 SYSERROR("Failed to set signal mask.");
|
H A D | utils.h | 160 static inline int signalfd(int fd, const sigset_t *mask, int flags) argument 164 retval = syscall (__NR_signalfd4, fd, mask, _NSIG / 8, flags); 166 retval = syscall (__NR_signalfd, fd, mask, _NSIG / 8); 190 /* popen(command, "re") replacement that restores default signal mask
|
H A D | start.c | 247 sigset_t mask; local 251 if (sigfillset(&mask) || 252 sigdelset(&mask, SIGILL) || 253 sigdelset(&mask, SIGSEGV) || 254 sigdelset(&mask, SIGBUS) || 255 sigdelset(&mask, SIGWINCH) || 256 sigprocmask(SIG_BLOCK, &mask, oldmask)) { 257 SYSERROR("Failed to set signal mask."); 261 fd = signalfd(-1, &mask, 0); 555 /* Reset mask se [all...] |
H A D | confile.c | 1576 static struct { const char *token; int mask; int flag; } allowed_auto_mounts[] = { member in struct:__anon9 1593 * no options: keep mask and flag identical and just define the 1629 lxc_conf->auto_mounts &= ~allowed_auto_mounts[i].mask;
|
H A D | utils.c | 517 sigset_t mask; local 518 sigfillset(&mask); 519 sigprocmask(SIG_UNBLOCK, &mask, NULL);
|
H A D | lxccontainer.c | 968 mode_t mask = umask(0002); local 971 umask(mask);
|
Completed in 43 milliseconds