| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
/dev/drum but has not been used for a LONG time.
Add $FreeBSD$
|
|
|
|
|
|
|
|
|
|
|
| |
setjmp() gets the jmp_buf pointer from the wrong place (the place
where the return address is) in the shlib case, and uses it (only)
to fetch the current signal mask to address (return_address + 28).
This address is normally read-only (I hope), so the sigprocmask()
call has no effect except to return an error code.
\end{quote}
Submitted by: bde
|
|
|
|
|
| |
userland. Currently, it can be enforced by login and csh. More
shells supporting sbsize are welcome.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
just breaks the prototypes for gzseek() and gztell() when an application
defines HAVE_UNISTD_H before including <zlib.h>. z_off_t was always
long for compiling zlib, but was sometimes off_t for compiling
applications, e.g., Ethereal 0.7.5.
This "fix" preserves bug for bug binary compatibility. z_off_t should
be off_t for everything, but zlib doesn't support off_t being longer
than long, so using the correct type without fixing zlib's internals
would at best break binary compatibility. This "fix" also make the
namespace problems for HAVE_UNISTD_H no worse than hundreds of other
namespace prooblems in zconf.h. I'll wait for a new release of zlib
for proper fixes.
Reported by: Guy Harris via jkh
|
|
|
|
|
|
|
|
| |
the code, which seems to implement the POSIX requirements, and
have described the behavior here. Basically, it behaves the same
as select(2).
Noticed by: John Polstra
|
|
|
|
|
|
|
|
|
| |
to call osigaction(). But that's wrong because it causes the
handler to receive a struct osigcontext instead of the expected
struct sigcontext. Use sigaction() instead, copying the compatible
portion of the signal mask.
Reviewed by: marcel
|
|
|
|
| |
Submitted by: Nick Sayer
|
| |
|
|
|
|
| |
Submitted by: bde
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
|
| |
o Remove bitrotted #undef directives
o Actually set errno now and order the functions
Submitted by: bde
|
|
|
|
|
|
|
| |
o Fix formatting
o Return the error if sigprocmask fails instead of undefined data.
Submitted by: bde
|
|
|
|
|
| |
because login was already linked against it, but others have a
problem.
|
|
|
|
|
|
| |
_thread_sys_sisprocmask in libc_r. This solves the undefined symbol...
Reported by: Kenneth Wayne Culver
|
|
|
|
| |
macros are defined.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-----------------------------
Most of the userland changes are in libc. For both the alpha
and the i386 setjmp has been changed to accomodate for the
new sigset_t. Internally, libc is mostly rewritten to use the
new syscalls. The exception is in compat-43/sigcompat.c
The POSIX thread library has also been rewritten to use the
new sigset_t. Except, that it currently only handles NSIG
signals instead of the maximum _SIG_MAXSIG. This should not
be a problem because current applications don't use any
signals higher than NSIG.
There are version bumps for the following libraries:
libdialog
libreadline
libc
libc_r
libedit
libftpio
libss
These libraries either a) have one of the modified structures
visible in the interface, or b) use sigset_t internally and
may cause breakage if new binaries are used against libraries
that don't have the sigset_t change. This not an immediate
issue, but will be as soon as applications start using the
new range to its fullest.
NOTE: libncurses already had an version bump and has not been
given one now.
NOTE: doscmd is a real casualty and has been disconnected for
the moment. Reconnection will eventually happen after
doscmd has been fixed. I'm aware that being the last one
to touch it, I'm automaticly promoted to being maintainer.
According to good taste this means that I will receive a
badge which either will be glued or mechanically stapled,
drilled or otherwise violently forced onto me :-)
NOTE: pcvt/vttest cannot be compiled with -traditional. The
change cause sys/types to be included along the way which
contains the const and volatile modifiers. I don't consider
this a solution, but more a workaround.
|
|
|
|
|
|
| |
required to be "announced" by a new bit in sa_flags to indicate the
program is aware of and has taken care of them. eg: SA_SIGINFO means
the program has used the sa_siginfo field (versus sa_handler).
|
|
|
|
|
|
|
|
|
| |
sigaction, used to describe an action to be taken, is defined in the
header <signal.h> to include at least the following members:"
^^^^^^^^
A sigaction defined on stack with essentially random contents may have
just about anything underneath fields that the program doesn't know about.
It is not safe to delete the bzero.
|
|
|
|
|
|
|
|
| |
initialization of sa_flags added so that we can lose the bzero.
IIRC, this code is not used anymore since the addition of
ncurses. Commit the change anyway so, just to be safe.
$FreeBSD$ tag added
|
|
|
|
|
|
| |
initialization of sa_flags added so that the 'struct sigaction'
can be declared local in both functions that use the global
(static) declaration. Remove the global declaration.
|
|
|
|
| |
initialization of sa_flags allows us to lose the bzero.
|
|
|
|
|
|
| |
initialization of sa_flags allows us to lose the bzero.
$FreeBSD$ tag added.
|
|
|
|
| |
Inspired by: NetBSD commit message describing this.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
the link are equal to the default aliasing address. Do not zero them!
This will fix the problem with non-working links added with the source
and/or aliasing address equal to the default aliasing address, but the
default aliasing address is set later, after the link has been set up,
like both natd(8) and ppp(8) do (for objective reasons).
Reviewed by: Brian Somers <brian@FreeBSD.org>,
Eivind Eklund <eivind@FreeBSD.org>,
Charles Mott <cmott@srv.net>
|
|
|
|
| |
Tested by: Dirk-Willem van Gulik <dirkx@va-179.skylink.it>
|
| |
|
| |
|
|
|
|
|
|
| |
This function was removed by jdp in rev.1.5 of dlopen.3
Forgoten by: jdp
|
|
|
|
| |
Prompted by: grog
|
|
|
|
|
| |
PR: docs/13658
Submitted by: Zahemszky Gabor <zgabor@code.hu>
|
|
|
|
|
| |
PR: docs/13222
Submitted by: Ben Smithurst <ben@scientia.demos.co.uk>
|
|
|
|
|
|
| |
in FindLinkIn(). This will make TcpMonitorIn()/TcpMonitorOut() happy.
Reviewed by: eivind
|
|
|
|
|
|
| |
manual page states. `chmod +s foo' and `chmod +t foodir' now work.
PR: 13889
|
|
|
|
| |
Submitted by: dt
|
|
|
|
| |
Reviewed by: mpp
|
|
|
|
| |
mdoc(7)'fy
|
|
|
|
|
|
|
|
|
| |
Revert the major number back to 2.
libcrypt only export one function, before the recent changes and now:
char *crypt(const char *key, const char *salt);
The prototype didn't changed. Internal representation of `char' and `char *'
didn't changed. Therefore, there is no reason to change the version number.
|
|
|
|
| |
Spotted by: John Polstra <jdp@polstra.com> (again)
|
|
|
|
|
| |
Instead, natd(8) should be fixed to call PacketAliasSetAddress()
as part of initialization, as required by libalias(3).
|
|
|
|
|
| |
at link time and the target name compiled into the binaries. ie:
everything used libscrypt or libdescrypt explicitly.
|
|
|
|
|
|
|
|
|
|
|
| |
`dst_port') work for outgoing packets.
- Make permanent links whose `alias_addr' matches the primary aliasing
address `aliasAddress' work for incoming packets.
- Typo fixes.
Reviewed by: brian, eivind
|
| |
|
|
|
|
|
|
|
| |
Also spelled out the return values and conditions a little
better.
Noticed by: John Polstra <jdp@polstra.com>
|
|
|
|
| |
much as possible away from secure/ to make extending easier.
|
|
|
|
|
|
| |
PR: docs/13702
Submitted by: Stephen J. Roznowski <sjr@home.com>
Reviewed by: mpp
|
| |
|
|
|
|
|
| |
PR: docs/13814
Submitted by: Alex Vasylenko <lxv@mix.nest.org>
|