summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-10-03New option -D to daemonize spamd-setup for early bootup use. This avoidsTheo de Raadt
spamd-setup hanging if there are various (network?) issues and the system not proceeding to multiuser so that this can be debugged. We do not use & for startup in /etc/rc because this makes the spamd-setup a child of the rc scripts after bootup (that is gross) Problem reported in PR 5864, change discussed with beck, ok millert
2008-10-03do not give an example of how to chmod files: we can presume the userJason McIntyre
knows that. removes an ambiguity in the permission of authorized_keys; ok deraadt
2008-10-03correct comment; a part of PR4184Theo de Raadt
2008-10-03Repair long group handling; Alf Schlichting, PR 4164Theo de Raadt
2008-10-03Remove shared-network from the sample config, people who needStuart Henderson
that should expect to read the manual anyway and it's caused some confusion in the past. Add example entries for fixed-address and pxeboot. ok krw@
2008-10-03Use correct function signature when calling the write_host_header hook.Marc Balmer
from Josh Elsasser <josh@elsasser.org>, thanks.
2008-10-03Mask crcval in the right place, avoiding segfault during saveStuart Henderson
on 64-bit arch. (The save format is not portable, however). Looks right to deraadt@.
2008-10-03Make sigwait() work correctly. In particular, it'll work when thePhilip Guenthe
signal is already pending in the calling thread or the main thread and there's no longer a race condition where the signal could be diverted but sigwait() would still block. There were some off-by-one errors too. (The checking of the main thread's pending list is just until a pending list for the process can be added to struct process. For now, such signals end up as pending on the main thread.) oks tedu@ and art@
2008-10-03Return ENOTTY for unknown ioctl's.Brad Smith
2008-10-03Return ENOTTY for unknown ioctl's.Brad Smith
2008-10-03Merge xe_ether_ioctl() into xe_ioctl() which was just a handler forBrad Smith
SIOCSIFADDR, now this looks like every other driver. Also return ENOTTY for unknown ioctl's. Reduces i386 GENERIC by 112 bytes.
2008-10-03Remove a few small ifdef/ifndef OpenBSD sections which contained someBrad Smith
NetBSD code.
2008-10-03KNF.Brad Smith
2008-10-02get rid of some unneeded $Id stuffTheo de Raadt
2008-10-02the license on this is PD; david leonard says soTheo de Raadt
2008-10-02Fix PR #5942: preserve errno across fd flag updates, so that successfulTheo de Raadt
calls to close(), closefrom(), and dup2() don't change it. ok tedu@, deraadt@, kurt@, millert@, art@, marco@ (miscommit: originally by guenther@)
2008-10-02the license on this is PD; david leonard says soTheo de Raadt
2008-10-02Repair "set reconnect random 0" from PR 5368. This bug report was ignoredTheo de Raadt
since Feb 2007, even though it had a patch. How did this happen??
2008-10-02zap trailing whitespace;Jason McIntyre
2008-10-02First step towards cleaning up the Ethernet driver ioctl handling.Brad Smith
Move calling ether_ioctl() from the top of the ioctl function, which at the moment does absolutely nothing, to the default switch case. Thus allowing drivers to define their own ioctl handlers and then falling back on ether_ioctl(). The only functional change this results in at the moment is having all Ethernet drivers returning the proper errno of ENOTTY instead of EINVAL/ENXIO when encountering unknown ioctl's. Shrinks the i386 kernels by.. RAMDISK - 1024 bytes RAMDISKB - 1120 bytes RAMDISKC - 832 bytes Tested by martin@/jsing@/todd@/brad@ Build tested on almost all archs by todd@/brad@ ok jsing@
2008-10-02syncTheo de Raadt
2008-10-02Fix mmap() error checking to be correct 64-bit addresses. ConsistentlyKurt Miller
use _dl_mmap_error() to check for mmap() errors. Adjust datatypes of some local vars for 64-bit safety. okay millert@ drahn@
2008-10-02Since we don't install libbfd anymore, don't install bfd.info.Mark Kettenis
requested by jmc@
2008-10-02spelling; Dieter RauschenbergerTheo de Raadt
2008-10-02according to the alsa driver for these devices, the hardware providesJacob Meuser
256 buffer descriptors, and the 256th descriptor is flakey. this driver uses one descriptor for each block of the buffer, so we need to make sure buffer size / block size < 256, or we will run out of usable descriptors. lets me play youtube videos via gnash on my auvia equipped machine. ok ratchov@
2008-10-02Remove useless setsid() and setpgrp() calls and add -b option toTodd C. Miller
run huntd in the background like a true daemon. OK deraadt@
2008-10-02simplify and clarify login_getstyle; ok deraadt@Todd C. Miller
2008-10-02backout Tadpole specific non-dma workaround commited in 1.287, since itTheo de Raadt
appears the machine Mark got had a disk which failed very soon after that ok kettenis
2008-10-02Add the IBM 4810 SCC to the list of supported devices.Marc Balmer
2008-10-02Add the IBM 4810 ("SurePOS 300 Series") SCC to support the four additionalMarc Balmer
serial ports.
2008-10-02use calloc() instead of malloc() and bzero()Theo de Raadt
2008-10-02sync.Marc Balmer
2008-10-02Add IDs for the IBM 4810 BSP (Base System Peripherals) and SCC (SimpleMarc Balmer
Communications Controller) found on IBM SurePOS 300 series.
2008-10-02When redirect is used with sticky-address and a matching pass rule usesJoel Sing
reply-to, the sticky-address in the source tracking pool is overwritten with the reply-to address, resulting in new connections being incorrectly redirected to the reply-to host (instead of the sticky-address host). Prevent this by passing a NULL source node reference to pf_map_addr() when looking up the reply-to host, thus preventing the NAT source node from being overwritten. ok mcbride@ henning@
2008-10-02A closed, disconnected, or otherwise failed socket is still a socketTheo de Raadt
and should return stat information instead of EINVAL from deep in the guts of tcp_usrreq. While there, put some more information into struct stat, inspired by FreeBSD. EINVAL problem reported in PR 5943
2008-10-02Convert an unchecked strdup to xstrdup. OK deraadt@Todd C. Miller
2008-10-02Fix PF state key mismatches that occur when callers of icmp6_reflect()Joel Sing
recycle mbufs. Based on an initial diff by henning@, also tested by todd@. ok henning@
2008-10-02in priv_settime(), we must not adjust the 'next' timestamps on their forHenning Brauer
the offset since we use monotime for these for some time now, and monotime is not affected by system time changes (like, duh, that was the reason for the change). PR5927
2008-10-02correct path for isakmpd/local.pub; from Matthew DempskyJason McIntyre
2008-10-02document state-defaults optionHenning Brauer
2008-10-02implement "set state-defaults X", where X is a list of state options asHenning Brauer
permitted keep state(X). applies to all rules which do not have keep state explicitely. e. g. "set state-defaults pflow, no-sync" ok phessler deraadt
2008-10-02Hook up fnmatch and glob regress.Todd C. Miller
2008-10-02syncTheo de Raadt
2008-10-02Monitor various named files for changes (root.hint and the standard zones).Stuart Henderson
Closes PR 5625 ok ajacoutot@, jakob@
2008-10-01Regress driver for fnmatch(3). Needs more tests.Todd C. Miller
2008-10-01Regress driver for glob(3). Needs more tests.Todd C. Miller
2008-10-01POSIX character class support for fnmatch(3) and glob(3). OK deraadt@Todd C. Miller
2008-10-01If a neighbor solictation isn't from the unspecified address, make sureClaudio Jeker
that the source address matches one of the interfaces address prefixes. From NetBSD, tested by todd@ and naddy@
2008-10-01Revert last commit. It didn't really help and we fixed X11 instead.Mark Kettenis
ok miod@
2008-10-01Mention how lockspool is expected to be used.Todd C. Miller