search for: sig_atomic_t

Displaying 20 results from an estimated 136 matches for "sig_atomic_t".

2002 Jan 18
1
[Bug 74] New: Use of sig_atomic_t breaks SunOS4 compile
http://bugzilla.mindrot.org/show_bug.cgi?id=74 Summary: Use of sig_atomic_t breaks SunOS4 compile Product: Portable OpenSSH Version: -current Platform: Other OS/Version: SunOS Status: NEW Severity: normal Priority: P2 Component: ssh AssignedTo: openssh-unix-dev at mindrot.org R...
2008 Aug 11
5
[Bug 1502] New: Incompatible declaration of AuthctxtV2.success
...the definition of structure AuthctxtV2. Field "success" in this structure is declared as type "int". In function ssh_userauth2(), authctxt.success is passed to dispatch_run() as the second argument. dispatch_run() is declared in dispatch.c with a second parameter of type sig_atomic_t. On some OS's (i.e. VxWorks) "sig_atomic_t" is declared as "unsigned char". Where the system is also big-endian, the size mismatch between "sig_atomic_t" as "unsigned char" and "authctxt.success" as "int" causes the data to be writte...
2004 Feb 03
0
SIG_ATOMIC_T make error
...from dynconfig.c:21: include/proto.h:6460: parse error before `*' *** Error code 1 make: Fatal error: Command failed for target `dynconfig.o' The lines in tdb.h and proto.h that cause the parse errors are identical, and contain the following definition: void tdb_set_lock_alarm(sig_atomic_t *palarm); Please can someone suggest where this is failing? Thanks, Julian
2003 Nov 24
2
[PATCH] small addition to ia64's archsignal.h
...arch/ia64/include/klibc/archsignal.h --- a/klibc/arch/ia64/include/klibc/archsignal.h Fri Nov 21 14:30:38 2003 +++ b/klibc/arch/ia64/include/klibc/archsignal.h Fri Nov 21 14:30:38 2003 @@ -28,4 +28,6 @@ #define sa_handler _u._sa_handler #define sa_sigaction _u._sa_sigaction +typedef int sig_atomic_t; + #endif
2025 Apr 15
0
[Bug 3811] sig_atomic_t is a long on most architectures on FreeBSD
https://bugzilla.mindrot.org/show_bug.cgi?id=3811 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dtucker at dtucker.net Group|Portable OpenSSH | -- You are receiving this mail
2025 Apr 15
0
[Bug 3811] sig_atomic_t is a long on most architectures on FreeBSD
https://bugzilla.mindrot.org/show_bug.cgi?id=3811 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |3808 Referenced Bugs: https://bugzilla.mindrot.org/show_bug.cgi?id=3808 [Bug 3808] Tracking bug for OpenSSH
2025 Apr 15
0
[Bug 3811] sig_atomic_t is a long on most architectures on FreeBSD
https://bugzilla.mindrot.org/show_bug.cgi?id=3811 Darren Tucker <dtucker at dtucker.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED --- Comment #1 from Darren Tucker <dtucker at
2002 Feb 26
0
[Bug 74] Use of sig_atomic_t breaks SunOS4 compile
http://bugzilla.mindrot.org/show_bug.cgi?id=74 tim at multitalents.net changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|openssh-unix-dev at mindrot.org|tim at multitalents.net ------- Additional Comments From tim at multitalents.net 2002-02-26 17:03 ------- I've addressed this
2019 Jan 25
0
[klibc:update-dash] trap: Globally rename pendingsigs to pending_sig
...l through */ case 0: diff --git a/usr/dash/trap.c b/usr/dash/trap.c index 89ceff4f..a3aeb33e 100644 --- a/usr/dash/trap.c +++ b/usr/dash/trap.c @@ -74,7 +74,7 @@ char sigmode[NSIG - 1]; /* indicates specified signal received */ static char gotsig[NSIG - 1]; /* last pending signal */ -volatile sig_atomic_t pendingsigs; +volatile sig_atomic_t pending_sig; /* received SIGCHLD */ int gotsigchld; @@ -290,7 +290,7 @@ onsig(int signo) } gotsig[signo - 1] = 1; - pendingsigs = signo; + pending_sig = signo; if (signo == SIGINT && !trap[SIGINT]) { if (!suppressint) @@ -313,7 +313,7 @@...
2020 Mar 28
0
[klibc:update-dash] dash: trap: Globally rename pendingsigs to pending_sig
...l through */ case 0: diff --git a/usr/dash/trap.c b/usr/dash/trap.c index 89ceff4f..a3aeb33e 100644 --- a/usr/dash/trap.c +++ b/usr/dash/trap.c @@ -74,7 +74,7 @@ char sigmode[NSIG - 1]; /* indicates specified signal received */ static char gotsig[NSIG - 1]; /* last pending signal */ -volatile sig_atomic_t pendingsigs; +volatile sig_atomic_t pending_sig; /* received SIGCHLD */ int gotsigchld; @@ -290,7 +290,7 @@ onsig(int signo) } gotsig[signo - 1] = 1; - pendingsigs = signo; + pending_sig = signo; if (signo == SIGINT && !trap[SIGINT]) { if (!suppressint) @@ -313,7 +313,7 @@...
2012 Dec 04
2
OpenSSH warnings on FreeBSD
on FreeBSD, gcc complains that %d is used for sig_atomic_t Casting to (int) as a solution ? Index: serverloop.c =================================================================== RCS file: /cvs/openssh/serverloop.c,v retrieving revision 1.172 diff -u -p -r1.172 serverloop.c --- serverloop.c 2 Dec 2012 22:50:55 -0000 1.172 +++ serverloop.c 4 Dec 2012 11...
2015 Feb 12
0
Trouble building 4.2rc4 on FreeBSD
...amba would be appreciated Russ Poyner The errors: make WAF_MAKE=1 python ./buildtools/bin/waf build Waf: Entering directory `/root/samba-4.2.0rc4/bin' Selected embedded Heimdal build [ 680/3738] Compiling lib/texpect/texpect.c ../lib/texpect/texpect.c:79:8: error: unknown type name 'sig_atomic_t' static sig_atomic_t alarmset = 0; ^ ../lib/texpect/texpect.c:265:20: error: use of undeclared identifier 'SIGALRM' if (alarmset == SIGALRM) { ^ ../lib/texpect/texpect.c:391:15: warning: assigning to 'char *c...
2015 Feb 12
0
Trouble building 4.2rc4 on FreeBSD
...> The errors: > > make > WAF_MAKE=1 python ./buildtools/bin/waf build > Waf: Entering directory `/root/samba-4.2.0rc4/bin' > Selected embedded Heimdal build > [ 680/3738] Compiling lib/texpect/texpect.c > ../lib/texpect/texpect.c:79:8: error: unknown type name 'sig_atomic_t' > static sig_atomic_t alarmset = 0; > ^ > ../lib/texpect/texpect.c:265:20: error: use of undeclared identifier > 'SIGALRM' > if (alarmset == SIGALRM) { > ^ > ../lib/texpect/texpect.c:391:15:...
2009 Jul 16
1
[PATCH] fix warning include/signal.h:47:5: warning: "SIGRTMAX" is not defined
--- usr/include/signal.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/usr/include/signal.h b/usr/include/signal.h index a513282..4ed65bc 100644 --- a/usr/include/signal.h +++ b/usr/include/signal.h @@ -44,10 +44,12 @@ typedef int sig_atomic_t; /* The kernel header files are inconsistent whether or not SIGRTMAX is inclusive or exclusive. POSIX seems to state that it's inclusive, however. */ +#ifdef SIGRTMAX #if SIGRTMAX >= _NSIG # undef SIGRTMAX # define SIGRTMAX (_NSIG-1) #endif +#endif __extern const char *cons...
2015 Feb 23
2
Call for testing: OpenSSH 6.8
On Mon, 23 Feb 2015, Tom G. Christensen wrote: > On 19/02/15 23:21, Damien Miller wrote: > > Snapshot releases for portable OpenSSH are available from > > http://www.mindrot.org/openssh_snap/ > > > > I tried building openssh-SNAP-20150224.tar.gz on Solaris 2.6, 7, 8 and 9. > All failed because they do not have <sys/queue.h>. > Here's how it looks on
2002 Jan 31
4
signal transmission in ssh2
...================================================================= RCS file: /cvs/src/usr.bin/ssh/clientloop.c,v retrieving revision 1.95 diff -u -r1.95 clientloop.c --- clientloop.c 10 Jan 2002 11:24:04 -0000 1.95 +++ clientloop.c 31 Jan 2002 17:17:19 -0000 @@ -103,6 +103,8 @@ */ static volatile sig_atomic_t received_window_change_signal = 0; static volatile sig_atomic_t received_signal = 0; +/* send signal to remote program: 0 disabled, 1 enabled, 2 pending */ +static volatile sig_atomic_t send_signal = 0; /* Flag indicating whether the user\'s terminal is in non-blocking mode. */ static int...
2015 May 21
7
[Bug 2402] New: Missing include in kex.h results in compilation error due to unknown type
...s: NEW Severity: normal Priority: P5 Component: Kerberos support Assignee: unassigned-bugs at mindrot.org Reporter: tomas.kuthan at oracle.com #include <signal.h> has been removed from kex.h. On Solaris, this causes a compilation error due to sig_atomic_t type being undefined. /usr/gcc/4.7/bin/gcc -m64 -O3 -DSET_USE_PAM -DDEPRECATE_SUNSSH_OPT -DKRB5_BUILD_FIX -DDTRACE_SFTP -DDISABLE_BANNER -DPAM_ENHANCEMENT -DPAM_BUGFIX -DOPTION_DEFAULT_VALUE -DWITHOUT_ED25519 -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wno-pointer-sign...
2008 May 27
1
smbldap_open: cannot access LDAP when not root..
Greetings list, I just upgraded my main file server, and copied over a dump of my LDAP database, samba conf files, tdbs, etc. Everything fired up OK and runs, except: -Some users (perhaps 5 or 6 out of 125) can't log in, getting the "domain unavailable" message -I can't rejoin them to the domain - the process appears to succeed, but doesn't -One of the machine accounts
2025 Apr 09
21
[Bug 3808] New: Tracking bug for OpenSSH 10.1
https://bugzilla.mindrot.org/show_bug.cgi?id=3808 Bug ID: 3808 Summary: Tracking bug for OpenSSH 10.1 Product: Portable OpenSSH Version: -current Hardware: Other OS: Linux Status: NEW Keywords: meta Severity: enhancement Priority: P5 Component: Miscellaneous
2020 Aug 11
3
[PATCH v3] virtio-rng: return available data with O_NONBLOCK
...blocking reads will > "recharge" the random pool and cause other, non-blocking reads to > succeed at least sometimes. > > /* Whether to use non-blocking mode in a task, problem occurs if CONDITION is 1 */ > //#define CONDITION (getpid() % 2 != 0) > > static volatile sig_atomic_t stop; > static void handler(int sig __attribute__((unused))) { stop = 1; } > > static void loop(int fd, int sec) > { > struct pollfd pfd = { .fd = fd, .events = POLLIN, }; > unsigned long errors = 0, eagains = 0, bytes = 0, succ = 0; > int size, rc, rd; > > srandom...