Age | Commit message (Collapse) | Author |
|
simply means ".". Also fix exit code and add warnings when an
invalid uri is encountered. OK otto@
|
|
|
|
Removing versioning information too.
OK deraadt@
|
|
and put it to use in userspace in lieu of the kern.boottime
sysctl.
Its absolute value is the time that has elapsed since the
system booted, i.e., the system uptime.
Use in top(1), w(1), and snmpd(8) eliminates a race with
settimeofday(2), adjtime(2), etc. inherent to deriving the
system uptime via the kern.boottime sysctl.
Product of a great deal of discussion/revision with jca@, tb@,
and guenther@.
ok tb@ jca@ guenther@ dlg@ mlarkin@ tom@
|
|
check that the negotiated algorithm matches the type in the
signature (only matters for RSA SHA1/SHA2 sigs). ok markus@
|
|
ok markus@
|
|
OK deraadt@
|
|
Diff from Lari Rasku <lari.rasku AT elisanet DOT fi>
ok florian@
|
|
|
|
led to unexpected output: compare 'jot -w $(printf %1020s)%d%' 1 1'
with 'jot -w $(printf %1019s)%d%' 1 1'.
found by & ok martijn
|
|
goto fmt_broken, do it explicitly. Makes following the code path through
the switch a bit easier.
Prompted by a request by martijn
|
|
Fixes output of e.g. 'jot -w %D 11 -5'.
ok martijn
|
|
regular digest code. This speeds up compilation considerably.
ok markus@
|
|
systems too.
adjust uptime.1 while here as pointed out by martijn@
ok tb@ jca@ martijn@
|
|
These scripts generate the enums required for the ex commands and vi
options.
Before these lists had to be maintained either by hand or someone had to
stumble upon these scripts and figure out how to use them. By enabling them
these headers are now always in sync based on the comments in the
corresponding source files, which are a lot harder to miss during an
update than an extra file.
Update the awk scripts to the new enum style introduced by bentley@ with
his update on options_def.h r1.7
Feedback Makefile semantics by espie@
Original diff and OK tb@
OK millert@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the name of the entry points for UMAC-128 before including umac.c.
Idea from FreeBSD.
ok dtucker@
|
|
Pointed out by kshe59 <at> zoho <dot> eu
OK millert@
|
|
pledge for a new execve image immediately upon start. Also introduces
"error" which makes violations return -1 ENOSYS instead of killing the
program ("error" may not be handed to a setuid/setgid program, which
may be missing/ignoring syscall return values and would continue with
inconsistant state)
Discussion with many
florian has used this to improve the strictness of a daemon
|
|
- When 'n' is used as a delimiter escaping 'n' will remain a newline
instead of becoming a 'n' character. This is how POSIX specifies how this
should work. Other implementations tested also do this wrong.
- '[' and maybe other characters are not special during the parsing of the
y command and don't need to be matched or treated special in any way.
- POSIX specifies that a backslash followed by anything other than the
delimiter, 'n', and another backslash, as well as repeating characters in
string1 are unspecified. Since the various implementations handle these
situations in opposing ways choose to error out on them to prevent people
falling into the pitfall of expecting identical behaviour on various
implementations.
Inspired by the sed.1 patch by kshe59 <at> zoho <dot> eu
Feedback and OK millert@
Manpage bits OK jmc@
|
|
from mazocomp
|
|
perhaps it is too verbose? Change each */Makefile to specifying exactly
what sources that program requires, compiling it seperate. Maybe we'll
iterate by sorting those into seperatable chunks, splitting up files
which contain common code + server/client specific code, or whatnot. But
this isn't one step, or we'd have done it a long time ago..
ok dtucker markus djm
|
|
- list long options with short, where they have an equivalent
- sync usage()
- minor tweaks
|
|
of the other options in this page;
|
|
message. Based in part on diff from lars.nooden at gmail, ok djm
|
|
from Jan Klemkow
ok nicm
|
|
grep -m num stops after a maximum of num matches are found.
We support -m0 to match GNU behaviour, but we do not allow negative
numbers.
Manpage help from jmc@, OK deraadt@.
|
|
that objects within it are identified as being in read-only space.
ok guenther
|
|
do for several years.
While here make corresponding error message for missing read and write file
consistent between commands/flag, and shrink the the code of the w flag of
the s command by making it use the same code as the w command.
Prompted by a larger diff by kshe59 <at> zoho <dot> eu
OK millert@
|
|
|
|
past the mmap(2)'d buffer. Otherwise, locate will read a single
byte past the end of the buffer. This is often harmless, but if
the length of the buffer is an even multiple of the page size,
locate will crash. OK tb@ espie@ deraadt@
|
|
provides retry on short-write file descriptors.
ok florian, previous versions seen by millert
|
|
|
|
ok djm
|
|
logging.
|
|
message containing only some of the useful information; merge these
|
|
s/with/width type-O fix while here.
From kshe59 <at> zoho <dot> eu
OK jmc@
|
|
Ilya Kaliman
|
|
|
|
okay millert@
|
|
|
|
bz#2803 reported by Maksim Derbasov; ok dtucker@
|
|
keywords with a checking wrapper around strtonum. This will prevent
and flag invalid and negative arguments to these keywords. ok djm@
|
|
warnings. ok djm@
|
|
Crash found by Sergey Bronnikov using afl-fuzz.
Based on a diff from and OK by espie@
|