Age | Commit message (Collapse) | Author |
|
|
|
|
|
current seek offset rather than what fstat() reported the original
file's length was. This fixes things like "cp /dev/ksyms /tmp" so
that we don't truncate the file to 0 bytes after copying all of the
data.
ok tedu, millert
|
|
|
|
In the end, this turned out to be surprisingly simple;
of course, getting identical output will be quite hard,
so there is no way to quickly set up unit tests.
|
|
that don't use hibernate
requested by and ok deraadt@
|
|
|
|
|
|
fix --version-info -> -version-info
|
|
|
|
|
|
(rev. 205728, 224511 and 225839)
- add hid_get_report_id(3) to get id of a descriptor.
- crank the major in shlib_version 3.0 -> 4.0
ok deraadt@, mpi@
|
|
|
|
|
|
|
|
When reading disk size/geometry from disklabel, clamp disk size to
the maximum number of cylinders that fit into UINT32_MAX sectors.
Don't just use the bottom 32 bits of the DL_GETDSIZE(). Warn that
truncation has been done.
|
|
otherwise I get bogus bug-reports from nitwits
|
|
rlimit, then a write that would take it over the limit should be
clamped, making it a partial write.
ok beck@
|
|
used by the hibernate code.
ok deraadt@
|
|
|
|
|
|
|
|
|
|
one run out of inetd.
the libexec tftp-proxy had the same problems as the libexec tftpd, in that
it didnt scale as well as we needed. it also had a bunch of interesting
races with states and addresses on sockets.
manpage is coming.
ok deraadt@ sthen@ henning@ matthew@
|
|
ok otto@
|
|
Brad, jasper and naddy helped with test builds, fixing ports, etc.
|
|
normal rules for controlling this interface through apmd still apply.
ok deraadt@
|
|
|
|
character after the '\0'; ok guenther@
|
|
Instead of having no limit for some arrays, limit them to the number of
acceptable options.
pointed out by miod@
|
|
ok theo
|
|
capablity by using help text as regular prompt for 'size' and
'offset'. Try to detect and handle more overflow/underflow conditions
in getuint() and ensure returned value is always within requested
bounds. Handle zero-length partitions by treating them as UNUSED.
tested & ok halex@
|
|
will be needed shortly for hibernate.
ok deraadt@
|
|
running away if the setsockopt call fails, as may happen if a peer bounces
at the wrong time.
OK claudio@ after tweaks to an earlier version which was OK phessler@.
|
|
|
|
|
|
Add restrict qualifiers.
|
|
we want there.
|
|
can be suspended and/or decrement pr->ps_singlecount if necessary.
With that added, the call the other direction needs to use its own
flag (EXIT_THREAD_NOCHECK) to avoid looping.
problem diagnosed from a hang naddy@ hit; ok kettenis@
|
|
to standard ldconfig search dirs...
Of course, ld complains because it doesn't have them in its standard
search dir. BUT there's an option -rpath-link designed just for that
(look up needed objects during compile and trust the end result to
find them).
So use that for ldconfig directories... so that xcb can link without
needing to go have a look at the NEEDED list, but without encoding
standard rpaths in the resulting binary...
Also, put all the junk that needs -Wl together so we can add one single
-Wl,-rpath,foo,-rpath-link,foo2 thingy...
|
|
|
|
|
|
|
|
Also, cast to long to make printf formatting portable
with help from matthew; ok deraadt@
|
|
add a new value to mean "leave client running but don't attach" to fix
problems with using some commands in a command sequence. Most of the
work by Thomas Adam, problem reported by "jspenguin" on SF bug 3535531.
|
|
put into the header, pointed out by naddy.
|
|
- remove the /envelopes subdirectory, envelopes are at the same level than
the message file
- kill PATH_ENVELOPES define
but keep the:
- reduce the number of buckets from 0xfff to 0xff, this avoid performances
of the queue to decrease when we start having tons of buckets
ok eric@ gilles@
|
|
"sure" espie@
|
|
while here, do some minor outflags cleanup
|
|
* do not add an excessive blank line before the block
* in literal mode, start a new line after the tag
getting this to work requires some general (print_man_node) fixes:
* in literal mode, break the output line at the end of each
input line, not just after those input lines ending in text
* but don't break it when there was no output on the line
* and adjust the margins after the .HP tag
these general fixes require an adjustment to -Tascii .TP rendering:
* set up NOBREAK mode before the body, not after the head
finally, based on all this, implement -Tman .Bl -hang in terms of .HP
|