jmc [Mon, 11 Aug 2014 08:21:55 +0000 (08:21 +0000)]
add a caveat about databases;
From: Matthew Weigel
ok gilles
ajacoutot [Mon, 11 Aug 2014 06:30:39 +0000 (06:30 +0000)]
Move a sentence to the corresponding option description.
from jmc@
miod [Mon, 11 Aug 2014 04:46:42 +0000 (04:46 +0000)]
Unchecked memory allocation and potential leak upon error in
ssl3_get_cert_verify().
ok guenther@ jsing@
miod [Mon, 11 Aug 2014 04:45:19 +0000 (04:45 +0000)]
Remove now-unused SSL2_STATE as well as ssl2-specific state machine values.
ok guenther@ jsing@
schwarze [Mon, 11 Aug 2014 04:18:18 +0000 (04:18 +0000)]
start catching up with recent code changes, but no new files yet
jsing [Mon, 11 Aug 2014 01:10:42 +0000 (01:10 +0000)]
Currently, ssl3_put_char_by_bytes(NULL, NULL) is just a long handed way
of writing "2". Add a define for the SSL3_CIPHER_VALUE_SIZE (rather than
using a less-readable hardcoded constant everywhere) and replace the
ssl3_put_char_by_bytes(NULL, NULL) calls with it.
ok bcook@ miod@
jsing [Mon, 11 Aug 2014 01:06:22 +0000 (01:06 +0000)]
Provide a ssl3_get_cipher_by_id() function that allows ciphers to be looked
up by their ID. For one, this avoids an ugly mess in ssl_sess.c, where the
cipher value is manually written into a buffer, just so the cipher can be
located using ssl3_get_cipher_by_char().
ok bcook@ miod@
bluhm [Sun, 10 Aug 2014 23:44:20 +0000 (23:44 +0000)]
Write the core file of a non-suid process into the current directory
even if sysctl kern.nosuidcoredump has been set to 2 or 3. This
allows a regular user to debug his programs again.
OK guenther@ deraadt@
bluhm [Sun, 10 Aug 2014 21:55:17 +0000 (21:55 +0000)]
There was a race in relayd that caused connections to hang. It
happend with non-persistent PUT connections that had a very short
body. If the whole body was read from the client before the
connection to the server was set up, the event callback was not
called. Do the regular checks after relay_connect() succeeded.
OK reyk@
zhuk [Sun, 10 Aug 2014 21:09:26 +0000 (21:09 +0000)]
Improve variables listing in x11/kde4 module description.
rpe [Sun, 10 Aug 2014 20:54:17 +0000 (20:54 +0000)]
[] -> [[]]
OK krw@
"well ok" halex@
jmc [Sun, 10 Aug 2014 17:15:18 +0000 (17:15 +0000)]
- add -p to SYNOPSIS
- the argument to -s is not optional
ok ajacoutot
tedu [Sun, 10 Aug 2014 16:36:13 +0000 (16:36 +0000)]
guenther wants a copyright
rpe [Sun, 10 Aug 2014 16:32:28 +0000 (16:32 +0000)]
Convert if foo; then bar; fi blocks to foo && bar but leave out enable_network()
because it shares code&style with /etc/netstart. No functional change.
with feedback and OK krw@ halex@
jsing [Sun, 10 Aug 2014 15:06:15 +0000 (15:06 +0000)]
Tweak cipher list comments and add missing cipher value comments.
rpe [Sun, 10 Aug 2014 14:59:22 +0000 (14:59 +0000)]
{ foo ; bar ; } -> { foo; bar; }
OK krw@
jsing [Sun, 10 Aug 2014 14:57:04 +0000 (14:57 +0000)]
Remove disabled (weakened export and non-ephemeral DH) cipher suites from
the cipher list. This reduces code size, saves data segment space and
prevents them from being turned back on at runtime by flipping a bit in
memory.
ok guenther@
jsing [Sun, 10 Aug 2014 14:42:55 +0000 (14:42 +0000)]
Since we no longer need to support SSLv2-style cipher lists, start
unravelling the maze of function pointers and callbacks by directly
calling ssl3_{get,put}_cipher_by_char() and removing the
ssl_{get,put}_cipher_by_char macros.
Prompted by similar changes in boringssl.
ok guenther.
mpi [Sun, 10 Aug 2014 13:32:14 +0000 (13:32 +0000)]
Ask for the descriptor size corresponding to the number of ports present
in the hub, not from some random value from the stack.
mpi [Sun, 10 Aug 2014 12:58:49 +0000 (12:58 +0000)]
Do not allocate space for the whole structure when we just want to store
a pointer, found by clang.
mpi [Sun, 10 Aug 2014 12:48:43 +0000 (12:48 +0000)]
sizeof() a pointer of the right struct to appease clang.
sf [Sun, 10 Aug 2014 12:28:09 +0000 (12:28 +0000)]
Note that qemu 1.7.2 has the VLAN bug fix, too
jasper [Sun, 10 Aug 2014 11:26:07 +0000 (11:26 +0000)]
zap trailing whitespace
jmc [Sun, 10 Aug 2014 11:23:02 +0000 (11:23 +0000)]
some Ev fixes;
mpi [Sun, 10 Aug 2014 11:21:49 +0000 (11:21 +0000)]
Merge xhci_device_setup() into xhci_pipe_init() there's no reason to
have a separate function anymore, it is just a wrapper around the "set
address" command.
mpi [Sun, 10 Aug 2014 11:18:57 +0000 (11:18 +0000)]
Since USB xfer pools are accessed in interrupt context, initialize them
with the correct ipl to prevent your CPU from locking against itself.
mpi [Sun, 10 Aug 2014 11:00:35 +0000 (11:00 +0000)]
Set and check for XFER_BUSY in the common methods instead of doing it
in every HC driver.
ratchov [Sun, 10 Aug 2014 10:25:35 +0000 (10:25 +0000)]
typo in debug message
ratchov [Sun, 10 Aug 2014 10:25:04 +0000 (10:25 +0000)]
initialize mmcpos, found by guenther
espie [Sun, 10 Aug 2014 10:10:21 +0000 (10:10 +0000)]
Document SUBST_*
espie [Sun, 10 Aug 2014 10:04:39 +0000 (10:04 +0000)]
comment what's going on
espie [Sun, 10 Aug 2014 10:03:46 +0000 (10:03 +0000)]
Ouch... fuck cvs
espie [Sun, 10 Aug 2014 10:01:03 +0000 (10:01 +0000)]
if pkg_create is run as non-root, restory correct group/owner to root/bin.
also, remove write permissions without explicit modes. Allows fake installs
to keep directories/files writable while producing correct package.
jsg [Sun, 10 Aug 2014 09:23:06 +0000 (09:23 +0000)]
fix kqueue read/write filters for msdosfs and fusefs
ok tedu@
matthieu [Sun, 10 Aug 2014 09:15:39 +0000 (09:15 +0000)]
Typo. ok deraadt@ jmc@
jsg [Sun, 10 Aug 2014 09:11:07 +0000 (09:11 +0000)]
debug level test for clock_gettime() calls should match
ok ratchov@
guenther [Sun, 10 Aug 2014 07:31:58 +0000 (07:31 +0000)]
AF_IMPLINK and AF_BLUETOOTH are gone, but add printing of SOCK_SEQPACKET
guenther [Sun, 10 Aug 2014 07:29:45 +0000 (07:29 +0000)]
Don't need to know how to format bluetooth socket info here
guenther [Sun, 10 Aug 2014 07:28:32 +0000 (07:28 +0000)]
No more bluetooth in netintr(), so delete NETISR_BT. Zap the declaration
for btintr(), as well as the also gone atintr() and clnlintr()
guenther [Sun, 10 Aug 2014 07:23:59 +0000 (07:23 +0000)]
AF_BLUETOOTH is gone. AF_LOCAL isn't involved pipe (and portals are gone).
guenther [Sun, 10 Aug 2014 07:19:08 +0000 (07:19 +0000)]
AF_IMPLINK and AF_BLUETOOTH are gone
guenther [Sun, 10 Aug 2014 05:09:31 +0000 (05:09 +0000)]
Only need <stdint.h> and not all of <inttypes.h> here
guenther [Sun, 10 Aug 2014 05:08:31 +0000 (05:08 +0000)]
Only need <stdint.h> and not all of <inttypes.h> here
guenther [Sun, 10 Aug 2014 05:06:38 +0000 (05:06 +0000)]
Only need <stdint.h> and not all of <inttypes.h> here
guenther [Sun, 10 Aug 2014 05:00:25 +0000 (05:00 +0000)]
Only need <stdint.h> and not all of <inttypes.h> here
guenther [Sun, 10 Aug 2014 04:57:33 +0000 (04:57 +0000)]
Only need <stdint.h> and not all of <inttypes.h> here
lteo [Sun, 10 Aug 2014 03:26:20 +0000 (03:26 +0000)]
Fix the length check for reinjected ICMP packets: sizeof(struct icmp) is
28 but an ICMP packet can be as small as 8 bytes (e.g. an ICMP echo
request packet with no payload), so check against ICMP_MINLEN instead.
Prior to this fix, divert(4) would erroneously discard valid ICMP
packets that are shorter than 20 bytes.
ICMPv6 is not affected, so this change applies to ICMP over IPv4 only.
ok florian@ henning@
guenther [Sun, 10 Aug 2014 03:25:39 +0000 (03:25 +0000)]
Format time_t with %lld after casting to long long
lteo [Sun, 10 Aug 2014 03:24:51 +0000 (03:24 +0000)]
Rename p_hdrlen to min_hdrlen to better reflect its purpose.
No object file change
ok florian@ henning@
guenther [Sun, 10 Aug 2014 02:49:24 +0000 (02:49 +0000)]
Delete duplicate conditional
diff from frantisek holop (minusf (at) obiit.org)
guenther [Sun, 10 Aug 2014 02:44:26 +0000 (02:44 +0000)]
Replace F_DUPFD followed by setting FD_CLOEXEC with just F_DUPFD_CLOEXEC
ok matthew@ millert@
guenther [Sun, 10 Aug 2014 02:41:41 +0000 (02:41 +0000)]
Add Xr to skey and stty
guenther [Sun, 10 Aug 2014 02:38:24 +0000 (02:38 +0000)]
Delete extern declarations for variables that don't exist (anymore?)
guenther [Sun, 10 Aug 2014 02:15:18 +0000 (02:15 +0000)]
Only need <stdint.h> and not all of <inttypes.h> here
guenther [Sun, 10 Aug 2014 02:09:35 +0000 (02:09 +0000)]
msts(4) appears to support TIOCSTSTAMP
From Maurice Janssen (maurice (at) z74.net)
guenther [Sun, 10 Aug 2014 00:21:49 +0000 (00:21 +0000)]
Add F_DUPFD_CLOEXEC handling
guenther [Sun, 10 Aug 2014 00:20:55 +0000 (00:20 +0000)]
Add newer errnos
guenther [Sat, 9 Aug 2014 22:44:15 +0000 (22:44 +0000)]
Switch from calloc() to reallocarray() where the zeroing isn't needed
guenther [Sat, 9 Aug 2014 22:42:13 +0000 (22:42 +0000)]
Use time_t for storing times
guenther [Sat, 9 Aug 2014 22:40:16 +0000 (22:40 +0000)]
Parse times with strtoll() instead of strtol()
guenther [Sat, 9 Aug 2014 22:39:08 +0000 (22:39 +0000)]
Regenerate to pick up time_t changes
guenther [Sat, 9 Aug 2014 22:37:29 +0000 (22:37 +0000)]
bfd-in2.h is generated from this; merge back a change that was made there
guenther [Sat, 9 Aug 2014 22:34:35 +0000 (22:34 +0000)]
Store timestamps in time_t
guenther [Sat, 9 Aug 2014 22:32:08 +0000 (22:32 +0000)]
bfd-in2.h is generated from this; merge back a change that was made there
halex [Sat, 9 Aug 2014 21:51:29 +0000 (21:51 +0000)]
After a cleanup by deraadt I noticed the four-space-indent had started
infesting the scripts. As we generally use a single tab for line
continuation indent in the scripts, let's reclaim 30 precious bytes!
ok rpe@ krw@
guenther [Sat, 9 Aug 2014 20:08:44 +0000 (20:08 +0000)]
Fix readelf --debug-dump=frames-interp output: once a register is given
a column, it needs to included in all rows, even after the register is
restored.
ok jsg@
jmc [Sat, 9 Aug 2014 16:39:25 +0000 (16:39 +0000)]
less chatty; ok ajacoutot
schwarze [Sat, 9 Aug 2014 14:24:49 +0000 (14:24 +0000)]
mmap(2) requires MAP_PRIVATE ^ MAP_SHARED for flags;
found by kristaps@ on Mac OS X
ajacoutot [Sat, 9 Aug 2014 12:46:51 +0000 (12:46 +0000)]
Extend comment.
ajacoutot [Sat, 9 Aug 2014 12:45:03 +0000 (12:45 +0000)]
Initial support for handling configuration files from packages
(aka @sample) -- `sysmerge -p`
Worked done at g2k14.
Committing early so we have plenty of time for testing.
with help from espie@
thanks to landry@ for feedback on initial testing
ajacoutot [Sat, 9 Aug 2014 12:34:05 +0000 (12:34 +0000)]
sysctl.conf is an example.
Tweak error output.
Mention that `-S' has no effect when sets aren't used.
mpi [Sat, 9 Aug 2014 10:32:36 +0000 (10:32 +0000)]
Add support for non-root hubs now that uhub(4) can deal with them. For
the moment only Super and High Speed devices are properly recognized.
Some TT love is required for Full and Low speed devices.
mpi [Sat, 9 Aug 2014 09:58:11 +0000 (09:58 +0000)]
Correctly recognize Super Speed devices, this is part of the work to
be able to use USB 3.0 devices behind an external hub.
This is a bit tricky because the SS status use a different power bit
that maps to the Low speed one. So no longer accept devices without
power bit and fallback to the parent hub's speed in case the status
does not report any particular speed.
Note that xhci(4) root hubs still set the traditionnal UPS_PORT_POWER
bit with the correct device speed.
mpi [Sat, 9 Aug 2014 09:48:32 +0000 (09:48 +0000)]
Handle super speed hub descriptors.
mpi [Sat, 9 Aug 2014 09:45:14 +0000 (09:45 +0000)]
Do not store the whole USB hub descriptor in the "struct usbd_hub"
to help integrating super speed hubs that use a different descriptor.
jmc [Sat, 9 Aug 2014 09:07:14 +0000 (09:07 +0000)]
some minor tweaks;
jmc [Sat, 9 Aug 2014 08:54:03 +0000 (08:54 +0000)]
sort "prefork", and remove a useless macro;
jmc [Sat, 9 Aug 2014 08:49:48 +0000 (08:49 +0000)]
basic cleanup;
reyk [Sat, 9 Aug 2014 07:35:45 +0000 (07:35 +0000)]
Allow to inclue the types section anywhere in the configuration file.
Found by chris@
OK doug@
nicm [Sat, 9 Aug 2014 07:33:37 +0000 (07:33 +0000)]
Remove support for the continuous reporting "any" mouse mode which never
really worked properly and is rarely used.
guenther [Sat, 9 Aug 2014 05:52:43 +0000 (05:52 +0000)]
Backport from 2.17: mark the _GLOBAL_OFFSET_TABLE_, _DYNAMIC, and
_PROCEDURE_LINKAGE_TABLE_ symbols as (at least) hidden.
guenther [Sat, 9 Aug 2014 04:59:02 +0000 (04:59 +0000)]
Backport from binutils-2.17 the correct i386/amd64 register->int assignments
for CFI. This changes the unwind information generated on amd64.
guenther [Sat, 9 Aug 2014 04:49:47 +0000 (04:49 +0000)]
We don't use the __openbsd_randomdata_{start,end} symbols, but rather
get that info via the PT_OPENBSD_RANDOM segment info, so kill the symbols
While here, delete the commented out lines for __DYNAMIC as the question
they ask is answered 'no'
ok matthew@ back in May
guenther [Sat, 9 Aug 2014 04:35:17 +0000 (04:35 +0000)]
Match format width of symbol visibility to the column header
This corrects the alignment of the columns of hidden symbols
guenther [Sat, 9 Aug 2014 03:29:35 +0000 (03:29 +0000)]
Only need <stdint.h> and not <inttypes.h> here
jmc [Fri, 8 Aug 2014 20:51:43 +0000 (20:51 +0000)]
update currency exchange rates;
jmc [Fri, 8 Aug 2014 20:50:28 +0000 (20:50 +0000)]
some basic fixes;
jmc [Fri, 8 Aug 2014 20:49:38 +0000 (20:49 +0000)]
zap trailing whitespace;
reyk [Fri, 8 Aug 2014 18:29:42 +0000 (18:29 +0000)]
When opening directories, re-match the location after the index file
has been appended. This allows to use a fastcgi target as the default
index, for example index.php.
OK florian@
reyk [Fri, 8 Aug 2014 18:26:50 +0000 (18:26 +0000)]
No events were added for DNS UDP so it stopped working after the first
request. Additionally, the DNS code tried to use an invalid timeout.
Fix from mm@freebsd.org
Reported by Johan Schuijt
schwarze [Fri, 8 Aug 2014 17:36:21 +0000 (17:36 +0000)]
Absurdly, the return value of sqlite3_column_text()
is "const unsigned char *", which causes warnings with GCC on Linux.
Explicitly cast to "const char *" to avoid this.
Issue noticed by kristaps@.
schwarze [Fri, 8 Aug 2014 17:17:42 +0000 (17:17 +0000)]
mansearch.h uses uint64_t, so it needs stdint.h; found on Linux
ajacoutot [Fri, 8 Aug 2014 17:04:55 +0000 (17:04 +0000)]
Drop some useless verbiage.
sysctl.conf is an example now.
jsg [Fri, 8 Aug 2014 16:41:16 +0000 (16:41 +0000)]
drm/radeon: fix typo in radeon_connector_is_dp12_capable()
From Alex Deucher
94dfc49785ea1acc1dd2c086ffd8d61ea3a5ee8f in ubuntu 3.8
af5d36539dfe043f1cf0f8b7334d6bb12cd14e75 in mainline linux
ajacoutot [Fri, 8 Aug 2014 16:38:25 +0000 (16:38 +0000)]
Tweak verbiage.
jsg [Fri, 8 Aug 2014 16:38:23 +0000 (16:38 +0000)]
drm/radeon/dp: fix lane/clock setup for dp 1.2 capable devices
From Alex Deucher
c9a1adc31f78a30f33c591b61171f02d13a5b1a7 in ubuntu 3.8
3b6d9fd23e015b5397c438fd3cd74147d2c805b6 in mainline linux
jsg [Fri, 8 Aug 2014 16:35:56 +0000 (16:35 +0000)]
drm/radeon/atom: fix dithering on certain panels
From Alex Deucher
9102ef0d290f01247918f5a519d8fa4a96eaf370 in ubuntu 3.8
642528355c694f5ed68f6bff9ff520326a249f99 in mainline linux
jsg [Fri, 8 Aug 2014 16:33:27 +0000 (16:33 +0000)]
drm/radeon: only apply hdmi bpc pll flags when encoder mode is hdmi
From Alex Deucher
85cdd5e933c0f9fe3262067e707eed565db46378 in ubuntu 3.8
7d5ab3009a8ca777174f6f469277b3922d56fd4b in mainline linux
schwarze [Fri, 8 Aug 2014 16:32:17 +0000 (16:32 +0000)]
some corrections and improvements with respect to prologue macros;
found while working on mandoc(1) messages
schwarze [Fri, 8 Aug 2014 16:25:15 +0000 (16:25 +0000)]
Remove redundant verbiage in the style of "a file is a file,
a line is a line, a column is a column"; suggested by jmc@