search for: sa_mask

Displaying 20 results from an estimated 133 matches for "sa_mask".

2002 Nov 20
2
RE - servers keeps disapearing
>Hi, > >> Is there a known problem with samba servers that keeps disappearing >> from network neighborhood? Had this problem with 2.2.3, have to >> restart nmbd to get them back on, but nmbd never stops. > >Yes - there _was_ a known problem with nmbd not reregistering names. >Has disappeared since 2.2.5. > I have upgraded to 2.2.6, still have the problem, but
2001 Feb 18
3
OpenSSH 2.5.0p1 vs. SA_RESTART
...ESTART case in scp.c sa.sa_flags was not being initialized (noted by dworkin at village.org). - todd --- scp.c.DIST Sat Feb 17 17:56:33 2001 +++ scp.c Sat Feb 17 17:57:59 2001 @@ -1224,8 +1224,9 @@ struct sigaction sa; sa.sa_handler = updateprogressmeter; sigemptyset((sigset_t *)&sa.sa_mask); + sa.sa_flags = 0; #ifdef SA_RESTART - sa.sa_flags = SA_RESTART; + sa.sa_flags |= SA_RESTART; #endif sigaction(SIGALRM, &sa, NULL); alarmtimer(1); --- misc.c.DIST Fri Feb 16 07:58:12 2001 +++ misc.c Sat Feb 17 17:59:53 2001 @@ -108,8 +108,10 @@ memset(&sa, 0, sizeof sa);...
2020 Aug 28
0
[klibc:ia64-signal-fix] ia64: Fix definition of struct sigaction
...ent.org.uk> AuthorDate: Fri, 28 Aug 2020 17:36:34 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 28 Aug 2020 17:37:22 +0100 [klibc] ia64: Fix definition of struct sigaction ia64 only provides the RT signal API, in which the type of sa_flags is unsigned long and sa_mask is the last member of the struct. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/ia64/klibc/archsignal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/include/arch/ia64/klibc/archsignal.h b/usr/include/arch/ia64/klibc/archsignal.h i...
2020 Aug 28
0
[klibc:ia64-signal-fix] ia64: Fix definition of struct sigaction
...ent.org.uk> AuthorDate: Fri, 28 Aug 2020 17:36:34 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Fri, 28 Aug 2020 20:22:50 +0100 [klibc] ia64: Fix definition of struct sigaction ia64 only provides the RT signal API, in which the type of sa_flags is unsigned long and sa_mask is the last member of the struct. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/ia64/klibc/archsignal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/include/arch/ia64/klibc/archsignal.h b/usr/include/arch/ia64/klibc/archsignal.h i...
2020 Aug 29
0
[klibc:master] ia64: Fix definition of struct sigaction
...ent.org.uk> AuthorDate: Fri, 28 Aug 2020 17:36:34 +0100 Committer: Ben Hutchings <ben at decadent.org.uk> CommitDate: Sat, 29 Aug 2020 17:22:38 +0100 [klibc] ia64: Fix definition of struct sigaction ia64 only provides the RT signal API, in which the type of sa_flags is unsigned long and sa_mask is the last member of the struct. Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/include/arch/ia64/klibc/archsignal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/include/arch/ia64/klibc/archsignal.h b/usr/include/arch/ia64/klibc/archsignal.h i...
2011 Dec 16
6
java installation failure
Readers, Openjdk and ibm java versions have failed to install, all reporting a bad elf, e.g. ./ibm-java-i386-sdk-7.0-0.0.bin Preparing to install... Extracting the JRE from the installer archive... Unpacking the JRE... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... strings: '/lib/libc.so.6': No such file
2019 Feb 02
0
[PATCH 2/2] ia64: Fix sigaction struct layout and function implementation
...no-pic does not set any ELF flags that the kernel could detect. Thus to fix this regression we must construct descriptors solely for passing to/from the kernel. Despite this, usr/dash/static/sh -c "usr/utils/static/true; exit" was still seen to hang during the test suite. This is because sa_mask and sa_flags were round the wrong way (matching the old sigaction syscall rather than the newer rt_sigaction syscall, despite the former not existing on ia64), causing the kernel to think SA_NOCLDWAIT was set. This bug appears to have been present since the ia64 port was first committed. --- usr/i...
2019 Feb 02
2
[PATCH 1/2] ia64: Fix invalid memory access in vfork
Commit 8418552 ("[klibc] ia64: Fix shared build") missed this use of the GP register, although the code appears to have been dubious anyway, assuming the address of errno was the first thing pointed to by GP. --- usr/klibc/arch/ia64/vfork.S | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/usr/klibc/arch/ia64/vfork.S b/usr/klibc/arch/ia64/vfork.S index
2020 Aug 27
0
[klibc:master] signal: Add compile-time check on signal types
...k> CommitDate: Thu, 27 Aug 2020 03:51:16 +0100 [klibc] signal: Add compile-time check on signal types If we are going to use the RT signal API, we must have the right type definitions. Check for signs that we have the old API definitions: * _NSIG less than 64 * sigset_t too small for _NSIG * sa_mask not at the end of struct sigaction Signed-off-by: Ben Hutchings <ben at decadent.org.uk> --- usr/klibc/sigaction.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/usr/klibc/sigaction.c b/usr/klibc/sigaction.c index 19a8a54b..30ef39ef 100644 --- a/usr/klibc/sigaction.c +++ b/usr...
2018 Aug 08
2
Reproducible SIGSEGV when Dovecot 2.3 compiled against glibc-2.28
...096, PROT_READ) = 0 mprotect(0x557e9c5e7000, 12288, PROT_READ) = 0 mprotect(0x7f3eef678000, 4096, PROT_READ) = 0 munmap(0x7f3eef668000, 54433) = 0 set_tid_address(0x7f3eef663e50) = 19762 set_robust_list(0x7f3eef663e60, 24) = 0 rt_sigaction(SIGRTMIN, {sa_handler=0x7f3eedfd2380, sa_mask=[], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f3eedfe0400}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {sa_handler=0x7f3eedfd2430, sa_mask=[], sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, sa_restorer=0x7f3eedfe0400}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 prlimit64(0, R...
2009 Dec 16
2
Build fix on HURD
I've made two little patches to allow dovecot to be compiled on GNU/Hurd. Could you review them? Kind regards, Marco Nenciarini -- --------------------------------------------------------------------- | Marco Nenciarini | Debian/GNU Linux Developer - Plug Member | | mnencia at prato.linux.it | http://www.prato.linux.it/~mnencia |
2016 Mar 08
1
[PATCH] fish: reset the console on ^Z RHBZ#1213844
Patch registers SIGTSTP hook where it sends reset terminal color control sequence using write and fsync. Handler is installed only if signal is not being ignored. Patch uses rl_free_line_state and rl_cleanup_after_signal to unhook readline from terminal, then it calls original TSTP handler using approach in URL below and again hooks readline using rl_reset_after_signal. Handling is based on code
2013 Mar 10
1
libconf branch build failure: sigemptyset()
...ile: clang++ -DHAVE_CONFIG_H -I. -I../include -I../include -g -O2 -MT nutipc.lo -MD -MP -MF .deps/nutipc.Tpo -c nutipc.cpp -fno-common -DPIC -o .libs/nutipc.o In file included from nutipc.cpp:22: ../include/nutipc.hpp:646:5: error: expected unqualified-id ::sigemptyset(&action.sa_mask); ^ /usr/include/signal.h:127:26: note: expanded from macro 'sigemptyset' #define sigemptyset(set) (*(set) = 0, 0) ^ sigemptyset() probably should have been implemented as an inline function, but that's what we have to work with....
2011 Aug 16
2
[PATCH] test: Add signal nodefer
...ain(int argc, char **argv) +{ + pid_t pid; + + pid = fork(); + if (pid == -1) { + perror("fork"); + exit(EXIT_FAILURE); + } else if (!pid) { + struct sigaction act; + + memset(&act, 0, sizeof(act)); + act.sa_handler = handler; + act.sa_flags = SA_NODEFER; + + sigaddset(&act.sa_mask, SIGUSR2); + sigaddset(&act.sa_mask, SIGTERM); + + sigaction(SIGUSR1, &act, NULL); + + pause(); + } else { + int status; + + sleep(3); + kill(pid, SIGUSR1); + waitpid(pid, &status, 0); + } + + return 0; +} -- 1.7.5.4
2018 Aug 08
0
Reproducible SIGSEGV when Dovecot 2.3 compiled against glibc-2.28
...ect(0x557e9c5e7000, 12288, PROT_READ) = 0 > mprotect(0x7f3eef678000, 4096, PROT_READ) = 0 > munmap(0x7f3eef668000, 54433)?????????? = 0 > set_tid_address(0x7f3eef663e50)???????? = 19762 > set_robust_list(0x7f3eef663e60, 24)???? = 0 > rt_sigaction(SIGRTMIN, {sa_handler=0x7f3eedfd2380, sa_mask=[], > sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f3eedfe0400}, NULL, 8) > = 0 > rt_sigaction(SIGRT_1, {sa_handler=0x7f3eedfd2430, sa_mask=[], > sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, > sa_restorer=0x7f3eedfe0400}, NULL, 8) = 0 > rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1],...
2017 Jul 18
2
2.2.devel (0bee280) crashdump virtual plugin
..._raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56 resultvar = 0 pid = 10092 selftid = 10092 #1 0x00007f497ecdc448 in __GI_abort () at abort.c:89 save_stage = 2 act = {__sigaction_handler = {sa_handler = 0xfffe, sa_sigaction = 0xfffe}, sa_mask = {__val = {1024, 140722499998576, 94791001010256, 513, 139953641023651, 140722499998368, 94791001010256, 513, 11573297580199803136, 139953644744448, 139953641204307, 94791001010256, 140722499998464, 0, 139953641204665, 94791001010256}}, sa_flags = 2131669786, sa_restorer = 0x7ffc829f...
2018 Aug 08
3
Reproducible SIGSEGV when Dovecot 2.3 compiled against glibc-2.28
...12288, PROT_READ) = 0 >> mprotect(0x7f3eef678000, 4096, PROT_READ) = 0 >> munmap(0x7f3eef668000, 54433)?????????? = 0 >> set_tid_address(0x7f3eef663e50)???????? = 19762 >> set_robust_list(0x7f3eef663e60, 24)???? = 0 >> rt_sigaction(SIGRTMIN, {sa_handler=0x7f3eedfd2380, sa_mask=[], >> sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x7f3eedfe0400}, NULL, 8) >> = 0 >> rt_sigaction(SIGRT_1, {sa_handler=0x7f3eedfd2430, sa_mask=[], >> sa_flags=SA_RESTORER|SA_RESTART|SA_SIGINFO, >> sa_restorer=0x7f3eedfe0400}, NULL, 8) = 0 >> rt_sigprocmask(SIG...
2019 Mar 08
1
Dovecot v2.3.5 released
On 7.3.2019 23.37, A. Schulze via dovecot wrote: > > Am 07.03.19 um 17:33 schrieb Aki Tuomi via dovecot: > >>> test-http-client-errors.c:2989: Assert failed: FALSE >>> connection timed out ................................................. : FAILED > Hello Aki, > >> Are you running with valgrind or on really slow system? > I'm not aware my buildsystem
2016 Jul 13
2
[LLVM/Clang v3.8.1] Missing Git branches/tags and source-tarballs?
On Wed, Jul 13, 2016 at 04:48:51PM +0200, Sedat Dilek via llvm-dev wrote: > [ CCed all people who were involved in this thread ] > > Hi Tom, > > personally, I am interested to test the prebuilt-toolchains for > Ubuntu/xenial alias 16.04 LTS and Debian/Jessie v8.5.0 AMD64. > The available toolchains are incomplete and thus useless. > > Just as a fact: There is still no
2001 Jun 05
5
HPUX: ssh hangs after shell exit
I am aware that there have been several posts related to ssh connections hanging, i have tried to read through most of them in the archives... I am posting this in hopes that it may present something new that will further help resolve this problem. The problem i am having appears to be similar to what others have reported where after typing exit in an interactive shell the connection is not