CVS: cvs.openbsd.org: src

2013-03-31 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2013/03/31 02:28:21

Modified files:
lib/libc/sys   : mprotect.2 

Log message:
Add ERRORS and STANDARDS sections; reorder and reword description to
clarify PROT_NONE vs PROT_* and what protections are actually sure to
be supprted.

ok jmc@, deraadt@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2013/03/31 02:32:43

Modified files:
sys/dev/pci/drm/i915: intel_sdvo.c 

Log message:
Let the DDC proxy functions call the high-level I2C functions instead
of calling the controller functions pointers directly.  The upcoming bit
banging implementation will not provide the (*ic_exec)() function.
Also return a proper (positive) error code if bus switching fails



CVS: cvs.openbsd.org: src

2013-03-31 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2013/03/31 02:34:27

Modified files:
lib/libc/sys   : accept.2 bind.2 chdir.2 clock_gettime.2 close.2 
 connect.2 dup.2 

Log message:
Updates to SYNOPSIS, ERRORS, and STANDARDS

ok jmc@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2013/03/31 02:35:46

Modified files:
lib/libc/sys   : fcntl.2 

Log message:
Updates to RETURN VALUES, ERRORS, and STANDARDS

ok jmc@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2013/03/31 02:37:00

Modified files:
lib/libc/sys   : fork.2 

Log message:
Document more difference between parent and child.
Updates to ERRORS, and STANDARDS

ok jmc@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Jason McIntyre
CVSROOT:/cvs
Module name:src
Changes by: j...@cvs.openbsd.org2013/03/31 03:51:04

Modified files:
sbin/restore   : restore.8 

Log message:
typo fix from rodent@netbsd;
ok otto



CVS: cvs.openbsd.org: src

2013-03-31 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2013/03/31 04:41:16

Modified files:
sys/dev: softraid_raid0.c softraid_raid6.c 
 softraid_raidp.c 

Log message:
Pull the initialisation of runtime values out into a separate init
function, rather than having it spread across create/assemble/alloc.
Also handle strip size errors appropriately, rather than failing silently.

ok krw@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2013/03/31 05:12:06

Modified files:
sys/dev: softraid.c softraid_concat.c softraid_raid0.c 
 softraid_raid1.c softraid_raid6.c 
 softraid_raidp.c 

Log message:
Provide default resource allocation and free functions. Convert all
disciplines except for AOE and CRYPTO, which require custom handlers.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Alexander Bluhm
CVSROOT:/cvs
Module name:src
Changes by: bl...@cvs.openbsd.org   2013/03/31 05:18:35

Modified files:
sys/netinet: in_pcb.c raw_ip.c udp_usrreq.c 
sys/netinet6   : raw_ip6.c 

Log message:
The call to in_pcballoc() in user request attach was handled in
three different ways.  Use the same code in udp_usrreq() and
rip_usrreq() and rip6_usrreq(). This also fixes a pcb and socket
leak in udp_usrreq() in case soreserve() fails.  Put an splsoftassert()
into in_pcballoc() for safety.
OK mpi@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2013/03/31 05:30:59

Modified files:
sys/dev: softraid.c 

Log message:
Fix compilation with debug.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2013/03/31 05:35:24

Modified files:
gnu/usr.bin/perl: Makefile.bsd-wrapper1 

Log message:
install the proper 5.16.3 perldelta file, spotted by espie@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2013/03/31 05:37:40

Modified files:
sys/dev: softraid.c softraid_aoe.c softraid_crypto.c 
 softraidvar.h 

Log message:
The return value of sd_free_resources() is never checked and all of the
implementations only ever returned zero. Change the return value from
int to void instead of pretending it might mean something.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2013/03/31 05:43:23

Modified files:
sys/dev/pci/drm/i915: dvo_ns2501.c i915_drv.h intel_i2c.c 

Log message:
Add bit banging support.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Stuart Henderson
CVSROOT:/cvs
Module name:src
Changes by: st...@cvs.openbsd.org   2013/03/31 06:04:29

Modified files:
gnu/usr.bin/perl: Makefile.bsd-wrapper1 

Log message:
fix feature(3p) manual, which was missing a generated table. spotted by espie@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2013/03/31 07:30:25

Modified files:
sys/conf   : files 
sys/dev/i2c: files.i2c 
sys/dev/pci/drm: files.drm 

Log message:
Unbreak the build on amd64 by making sure that inteldrm pulls in the generic
i2c bit-banging code.  Requires us to move around the i2c_bitbang define.
Also move the onewire_bitbang define to be close to i2c_bitbang since they
are similar.

ok jsing@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:src
Changes by: jas...@cvs.openbsd.org  2013/03/31 07:31:43

Modified files:
usr.sbin/pcidump: Makefile 

Log message:
build this on octeon too



CVS: cvs.openbsd.org: src

2013-03-31 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2013/03/31 07:31:44

Modified files:
sys/dev: softraid_concat.c softraid_raid1.c 

Log message:
More runtime value initialisation functions.



CVS: cvs.openbsd.org: www

2013-03-31 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:www
Changes by: sebas...@cvs.openbsd.org2013/03/31 07:49:33

Modified files:
.  : 53.html 

Log message:
2081 package for VAX for this release.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Brad Smith
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2013/03/31 07:58:02

Modified files:
usr.bin/pkg-config: pkg-config 

Log message:
m88k has shared libs now.

ok jasper@



CVS: cvs.openbsd.org: www

2013-03-31 Thread Sebastian Reitenbach
CVSROOT:/cvs
Module name:www
Changes by: sebas...@cvs.openbsd.org2013/03/31 08:03:22

Modified files:
.  : want.html 

Log message:
Don't need a notebook anymore. Got my hands on a Dell Latitude D630, but
it has a broken battery module, so ask for that instead.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Mark Kettenis
CVSROOT:/cvs
Module name:src
Changes by: kette...@cvs.openbsd.org2013/03/31 08:18:38

Modified files:
sys/dev/pci/drm/i915: intel_sdvo.c 

Log message:
Resort to I2C bit-banging on the SDVO port like Linux does.  Using GMBUS simply
doesn't work reliably.  On some machines you can talk to the SDVO chip, but
not to the DDC channel associated with it.  On others ou can't even reliably
communicate with the SDVO chip.

Might make all sorts of digital video ports (DVI, HDMI) work.  Some systems
need further changes to adjust timings in the I2C bit-banging code.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Gilles Chehade
CVSROOT:/cvs
Module name:src
Changes by: gil...@cvs.openbsd.org  2013/03/31 08:42:21

Modified files:
usr.sbin/smtpd : queue_fsqueue.c 

Log message:
ooops, forgot to lower the define after my very last test: it's 10% not 99%



CVS: cvs.openbsd.org: src

2013-03-31 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2013/03/31 09:44:53

Modified files:
sys/dev: softraid_aoe.c softraid_concat.c 
 softraid_crypto.c softraid_raid0.c 
 softraid_raid1.c softraid_raid6.c 
 softraid_raidp.c 

Log message:
Use consistent error handling when validating the number of chunks
provided.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Joel Sing
CVSROOT:/cvs
Module name:src
Changes by: js...@cvs.openbsd.org   2013/03/31 09:46:11

Modified files:
sys/dev: softraid.c 

Log message:
Use the discipline name instead of the product string when reporting the
attachment.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/03/31 09:53:59

Modified files:
distrib/sets/lists/man: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2013-03-31 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/03/31 10:41:45

Modified files:
usr.sbin/pcidump: Makefile 

Log message:
unbreak tree



CVS: cvs.openbsd.org: src

2013-03-31 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/03/31 11:03:25

Modified files:
sys/dev: ksyms.c 

Log message:
do not need machine/cpu.h directly



CVS: cvs.openbsd.org: src

2013-03-31 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/03/31 11:04:28

Modified files:
sys/arch/hppa/hppa: genassym.cf 

Log message:
NBPG and PGSHIFT are now available directly from cpp due to param.h



CVS: cvs.openbsd.org: src

2013-03-31 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/03/31 11:06:34

Modified files:
sys/uvm: uvm_glue.c 

Log message:
do not need machine/cpu.h directly



CVS: cvs.openbsd.org: src

2013-03-31 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/03/31 11:07:03

Modified files:
sys/arch/amd64/include: cpu.h pmap.h 
sys/arch/i386/include: cpu.h pmap.h 
sys/arch/sh/include: pmap.h 
sys/arch/sparc64/include: pmap.h pte.h 
sys/arch/hppa/include: cpu.h pmap.h 
sys/arch/alpha/include: pmap.h 

Log message:
try to avoid pulling in pte.h and other more crazy things.  Checked against
the things that libkvm needs.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Theo de Raadt
CVSROOT:/cvs
Module name:src
Changes by: dera...@cvs.openbsd.org 2013/03/31 13:08:25

Modified files:
distrib/sets/lists/man: mi 

Log message:
sync



CVS: cvs.openbsd.org: src

2013-03-31 Thread Brad Smith
CVSROOT:/cvs
Module name:src
Changes by: b...@cvs.openbsd.org2013/03/31 13:17:47

Modified files:
lib/libc/net   : getaddrinfo.3 

Log message:
getaddrinfo is now thread-safe.

ok eric@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2013/03/31 13:23:08

Modified files:
lib/libc/sys   : getpgrp.2 

Log message:
Add a couple commas, as suggested by jmc@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Eric Faurot
CVSROOT:/cvs
Module name:src
Changes by: e...@cvs.openbsd.org2013/03/31 13:42:10

Modified files:
lib/libc/asr   : asr.c res_send_async.c 

Log message:
Principle of least astonishment: implement nameserver retry/backoff as
in the former resolver.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Marc Espie
CVSROOT:/cvs
Module name:src
Changes by: es...@cvs.openbsd.org   2013/03/31 15:46:53

Modified files:
etc: Makefile 
Added files:
etc/skel   : dot.cvsrc 

Log message:
a default .cvsrc for skel.
okay deraadt@
some other people like that too.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2013/03/31 15:49:06

Modified files:
sys/sys: resource.h 

Log message:
Put parens about negative #define values.
Hide struct loadavg as non-standard.
sys/cdefs.h is already pulled in via sys/time.h, so don't do it again.

ok deraadt@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/03/31 15:52:02

Modified files:
gnu/usr.bin/binutils-2.17/bfd: elfxx-mips.c elfxx-mips.h 

Log message:
Replace the common_definition method in mips BFD backends with a routine
which correctly recognizes SHN_MIPS_ACOMMON and SHN_MIPS_SCOMMON as
common symbols; this allows them to correctly be aligned to their natural
alignment.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2013/03/31 16:11:26

Modified files:
lib/libc/sys   : fork.2 fsync.2 getitimer.2 getpeername.2 
 getpriority.2 getrusage.2 getsockname.2 

Log message:
More SYNOPSIS, ERRORS, and STANDARDS updates



CVS: cvs.openbsd.org: src

2013-03-31 Thread Kurt Miller
CVSROOT:/cvs
Module name:src
Changes by: k...@cvs.openbsd.org2013/03/31 16:43:53

Modified files:
lib/librthread : rthread_np.c 

Log message:
- Don't include guard pages in the stack size.
From Christian Schulte (cs at schulte.it)
- Use stack-sp instead of recalculating it. From guenther@
okay guenther@



CVS: cvs.openbsd.org: src

2013-03-31 Thread Miod Vallat
CVSROOT:/cvs
Module name:src
Changes by: m...@cvs.openbsd.org2013/03/31 17:29:46

Modified files:
regress/libexec/ld.so/subst/prog1: Makefile 

Log message:
Do not depend on the value of PATH to run.



CVS: cvs.openbsd.org: src

2013-03-31 Thread Philip Guenther
CVSROOT:/cvs
Module name:src
Changes by: guent...@cvs.openbsd.org2013/03/31 19:07:34

Modified files:
sys/kern   : kern_resource.c 

Log message:
Make setrlimit() return EINVAL if rlim_cur  rlim_max, per POSIX.
Use limfree() instead of decrementing the reference counter directly.

ok kettenis@