Age | Commit message (Collapse) | Author |
|
HPPA longjmp tests that the env parameter < the current stack pointer.
The test relies on the stack being at the end of the memory space.
This test is wrong for a couple of reasons:
- the main stack is at 0x78000000-0x80000000, but allocations between
0x80000000-0xc0000000 are available to the program,
- pthread stacks may be at any place in the address space, allowing a
heap-allocated env parameter to fail the check.
ok deraadt@, kettenis@, guenther@ at least
|
|
Diff from Alexander Polakov.
OK phessler@
|
|
|
|
ok miod
|
|
|
|
tested by otto@; ok miod@
|
|
about cert checking in OpenSSH. Man page wording tweaks thanks to
jmc@.
ok henning@, jmc@; positive feedback from djm@, ajacoutat@
Committing now to reuse guenther@'s libc minor bump instead of
cranking it again, as suggested by deraadt@.
|
|
to return -1 in case of an unprintable character.
ok nicm jmc
|
|
On mips64, also correct the name called from plain cerror to __cerror.
"looks correct" miod@
|
|
Single byte sequences other than ASCII are not valid UTF-8, so they should
test false in single-byte ctype functions like isprint().
Remove some dead #ifdef'd code while here.
ok phessler nicm mikeb
|
|
|
|
|
|
out by Andres Perera (andres.p at zoho.com)
|
|
abused to cause an integer overflow and serves no real purpose.
Found by Alexander Schrijver.
ok millert deraadt
|
|
discussed with millert and guenther
ok guenther
|
|
as requested and give a correct estimate when they don't all fit,
and in unvis() decode them instead of erroring
ok nicm@, deraadt@
|
|
various zero-width characters (e.g. diacritical marks). Also fix runetype
mask definitions so that mklocale interprets zero width properly.
Diff from Alexander Polakov.
Character definition changes checked against Unicode 5.2 by me.
ok matthew nicm
|
|
local registers for a few temporaries. This was changed to use two global
registers. Maybe to permit use in-kernel without conflicting with the
register V7 register window handlers. (Was this done by Chris Torek? Is this
related to Gordon Irlam's work? Or was it in NetBSD? Hard to tell because
NetBSD removed their original cvs tree.)
In V8 the ABI was tightened; more global registers became offlimits in
different ways. We started supporting sun4m, and did not consider this.
As a result, the global registers chosen are the wrong choice. In
particular, %g7 is a poor choice for upcoming TLS work. It looks like
it is safer to use %g5 and %g6 since these functions are "system software".
All re-entrant parts of the system save it.
On sparc64 these functions are in libc per ABI requirement, but are unused.
On sparc, they occur in bootblocks (no reentrancy), kernel (reentrancy saves
globals; kernel is not ABI compliant), userland libc (signal handlers save
globals), and ld.so (symbol binding is not re-entrant on its own).
Discussed rather extensively with guenther, kettenis, miod and drahn.
|
|
in libkvm with the stable-ABI versions that are currently named
KERN_PROC2, kvm_get{proc,argv,envv}2(). The latter names and symbols
will continue to be supported for a few releases.
Committing now that they ports people have had a couple releases
to update pkgs that usd the old functions
|
|
(correct, but ugly) low-level roff(7) quoting of quote characters.
As a side effect, this avoids ugly formatting caused by a nasty mandoc(1)
bug with roff(7) quoting in mdoc(7) documents. Of course, that bug
will ultimately get fixed as well, but that can't be done quickly.
Reported by Tim van der Molen <tbvdm at xs4all dot nl>
ok jmc@
|
|
ok jmc@
|
|
ok guenther
|
|
argv and don't suppress the handling of leading '-' in optstring when
POSIXLY_CORRECT is set.
Based on patch from Eric Blake.
ok and manpage update from millert@, manpage ok jmc@
|
|
invokes handlers registered with __cxa_atexit().
"seems right" deraadt@
|
|
SOCK_RDM is a dead SysV compatibility option that is not
described anywhere in the man page so don't reference it.
ok claudio
|
|
OK jmc@ guenther@
|
|
ok otto@, jmc@
|
|
or equal PATH_MAX. Based on similar fix made in NetBSD.
ok miod@ millert@
|
|
jmc@ ok.
|
|
SO_SPLICE for zero-copy socket splicing.
ok jmc@
|
|
the \: roff escape is an optional line break.
|
|
ok jmc@
|
|
not %Y/%m/%d. Found while debugging geo/gpx-viewer.
ok millert@ jasper@
|
|
spotted by landry@
|
|
|
|
and sanity check arguments (these will be unnecessary when we switch
struct glob members from being type into to size_t in the future);
"looks ok" tedu@ feedback guenther@
|
|
|
|
Add a warning about using less than 6 Xs causing an error on some systems
|
|
trim an inaccurate comment about its future removal.
ok deraadt
|
|
|
|
replacing the Xs, it is now purely random.
Also replace a use of .Fn that should be .Xr.
OK jmc@
|
|
|
|
ok deraadt@ djm@
|
|
tested for a while by me.
ok otto@
|
|
tweaks from jmc, help from uwe, "We are going to have to trust you :-)" deraadt
|
|
|
|
ok deraadt
[passed upstream to the tz list as well]
|
|
|
|
tweak and ok jmc, tedu
|
|
tedu agreed with an idea, tested by Luis Useche and me; ok deraadt
|