summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-03-22If a man(7) NAME section contains macros, avoid truncated or emptyIngo Schwarze
entries for .Nd in mandocdb(8), instead use the macro content recursively. This improves indexing of more than 200 manuals in Xenocara, i.e. more than 15%, in particular GL and some Xkb.
2014-03-22<sys/agpio.h> is gone; this compiles fine without itPhilip Guenther
2014-03-22Second draft of my attempt to workaround the infamous R4000 end-of-page errata,Miod Vallat
affecting R4000 processors revision 2.x and below (found on most R4000 Indigo and a few R4000 Indy). Since this errata gets triggered by TLB misses when the code flow crosses a page boundary, this code attempts to identify code pages prone to trigger the errata, and force the next page to be mapped for at least as long as the current pc lies in the troublesome page, by creating wiring extra TLB entries. These entries get recycled in a lazy-but-aggressive-enough way, either because of context switches, or because of further tlb exceptions reaching trap(). The errata workaround code is only compiled on R4000-capable kernels (i.e. sgi GENERIC-IP22 and nothing else), and only enabled on affected processors (i.e. not on R4000 revision 3, or on R4400). There is still room for improvemnt in unlucky cases, but in this simple enough incarnation, this allows my R4000 2.2 Indigo to finally reliably boot multiuser, even though both /sbin/init and /bin/sh contain code pages which can trigger the errata.
2014-03-22Shuffle tlblo-related defines, to better show which bits are software only,Miod Vallat
and which bits end up in the actual tlb registers. On non-R8000 kernels, shrink the actual physical address bits to add a new software bit, PG_SP (for `special'), which will be used shortly. This halves the physical memory addressable by non-MIPS_PTE64 kernels, which should not be a problem anyway.
2014-03-21Rename db_inst_type() into classify_insn() and make that function availableMiod Vallat
outside of ddb. It will be used by regular kernel code shortly.
2014-03-21avoid repetitive code for asprintf error handlingIngo Schwarze
2014-03-21The files mandoc.c and mandoc.h contained both specialised low-levelIngo Schwarze
functions used for multiple languages (mdoc, man, roff), for example mandoc_escape(), mandoc_getarg(), mandoc_eos(), and generic auxiliary functions. Split the auxiliaries out into their own file and header. While here, do some #include cleanup.
2014-03-21Keep the `clamp memory to what pmap can address' logic unconditional, andMiod Vallat
use a <machine/pte.h> define to figure out what the pmap limit is.
2014-03-21Fix missing brackets: longitude/latitude status set to critical every timeandre
nmea_timeout() is triggered introduced in rev 1.37. ok sthen@
2014-03-21Rename the symbolic constants for the pmap-specific vm_pag pg_flags fromMiod Vallat
PV_xxx to PGF_xxx for consistency (these are not stored in pvlist entries anymore since years). The PG_ prefix can't be used here because of name conflicts with <machine/pte.h> names, and I'd rather not rename the pte constants. No functional change. But it makes my life easier.
2014-03-21Some knf, no functional changes.andre
ok sthen@
2014-03-21Allow for two more pmap-specific bits in vm_page pg_flags. DefineMiod Vallat
PG_PMAPMASK as all the possible pmap-specific bits (similar to the other PG_fooMASK) to make sure MI code does not need to be updated, the next time more bits are allocated to greedy pmaps. No functional change, soon to be used by the (greedy) mips64 pmap.
2014-03-21Disable MS-CHAPv1 (RFC 2433) support. Undocumented; Microsoft droppedChristian Weisgerber
support in 2007 (Windows Vista); requires MD4, which will be removed. ok sthen@
2014-03-21syncTheo de Raadt
2014-03-21Global lists of addresses are species near extinction, even carp doMartin Pieuchot
not like them! Since carp(4) interfaces do some magic tricks to find a compatible interface if you do not specify a `carpdev' argument, make them iterate over &ifnet instead of &in{,6}_ifaddr. ok benno@, mikeb@, florian@
2014-03-21Add nginx default log files to the rotation.Antoine Jacoutot
ok jung@ stephan@ tweaks and ok sthen@
2014-03-21zap trailing whitespace;Jason McIntyre
2014-03-21just document /var/unbound/, instead of worrying about subdirs; ok sthenJason McIntyre
2014-03-21make the STANDARDS note a little clearer, and use portable examples;Jason McIntyre
ok millert
2014-03-21fix "my $_" issues in preparation for perl 5.18Marc Espie
2014-03-21fix picky mode, my subject handler was not maintaining enough state.Marc Espie
problem introduced some time ago while improving the code :( okay millert@
2014-03-21rt_timer* spring cleanup.Martin Pieuchot
Rename and document rt_timer_count() into rt_timer_queue_count() to be consistent with the other functions. Remove unused argument from rt_timer_queue_destroy(), clean the definitions and finally use the same order in NAME and DESCRIPTION as requested by jmc@. ok henning@
2014-03-21Split the magic to add a connected route for every new IPv4 addressMartin Pieuchot
added to an interface into two functions: one for route to prefix and one for route to host. This magic has been added to work around the behavior of rtinit() and preserve the connected route to prefix when the first address of a subnet is removed. Since this "feature" has been present for point- to-point interfaces too for more than 10 years, this diff does not change anything in this regard, even if I'm not sure it makes sense. Tested by benno@
2014-03-21If a NA is received on a carp interface in BACKUP state and match oneMartin Pieuchot
of the carp addresses silently ignore it since it is certainly coming from the carp MASTER. ok sthen@
2014-03-21Use ftp -D.Antoine Jacoutot
2014-03-21Fix small regression when not using a full path to sets.Antoine Jacoutot
2014-03-21sncTheo de Raadt
2014-03-21Correct the (normally ignored) argument to SLIST_HEAD_INITIALIZER()Philip Guenther
2014-03-21Remove #ifdef lint block, since lint is gone. This #ifdef block was aLawrence Teo
local addition that has never been part of upstream. No binary change. feedback from guenther@
2014-03-21Install a /var/unbound/db directory, writable by the _unbound daemon,Stuart Henderson
and use it as the default location for the DNSSEC root key. Update default config for this location. With this, the only step required to enable DNSSEC validation is to uncomment these default config entries and restart: #module-config: "validator iterator" #auto-trust-anchor-file: "/var/unbound/db/root.key" There is no longer a requirement to run unbound-anchor manually to update the root key. The rc.d script will take care of updates at boot, and Unbound will manage the file itself at runtime. Test with "dig test.dnssec-or-not.net txt @127.0.0.1" or similar.
2014-03-20missed a turdTed Unangst
2014-03-20purge sum and sysvsum code. ok deraadt jmc lteo millertTed Unangst
a few initial leftovers spotted by naddy
2014-03-20Remove the (non-default) MD4 hash algorithm from S/Key.Christian Weisgerber
ok millert, man pages ok jmc@
2014-03-20remove insecure MD4 checksum algorithm; ok tedu@, man page ok jmc@Christian Weisgerber
"A collision attack published in 2007 can find collisions for full MD4 in less than two hash operations."
2014-03-20replace MD4 with MD5; ok tedu@Christian Weisgerber
2014-03-20FTP is so 20th century. Remove 'ftp' as a method to obtain installationKenneth R Westerback
sets. 'http' is the present. A bunch of related or triggered cleanup/consistenizing. Prodded by deraadt@, much feedback and testing by rpe@. ok rpe@
2014-03-20this util is marked xsi;Jason McIntyre
2014-03-20$delset, not $del; ok millertJason McIntyre
2014-03-20add USB_PRODUCT_ITUNER_USBLCD256x64 as UQ_BAD_HID so libusb can talk viaAaron Bieber
interrupt transfers OK sthen@
2014-03-20syncAaron Bieber
2014-03-20Add ITUNER USBLCD256x64Aaron Bieber
OK sthen@
2014-03-20Various fixes from Tiago Cunha tcunha _AT_ gmx _DOT_ com:Florian Obser
- const for file and tok - remove \n from err(3) - typo in error message - s/err/errx/ for functions that do not set errno - s/fprintf(stderr,...)/warnx/ Thanks! OK sthen, benno
2014-03-20Simplify a bit of code to make sure even -Wall can see the variablesKenneth R Westerback
are not used uninitialized. As a bonus, make variables the same type as the data they are trying to preserve.
2014-03-20Do not pull <sys/tree.h> unconditionally in <net/if.h>, only the addressMartin Pieuchot
tree and the 80211 nodes need it. ok henning@, mikeb@
2014-03-20Add back various #includes of err.h, unistd.h, ctype.h, ioctl.h toKenneth R Westerback
eliminate multiple 'implicit' declarations introduced by the previous over-zealous #include cleanup. Thanks to to tedu@ for pointing out how -Wall reveals all.
2014-03-20Add several devices we already have defined in usbdevs and are also known to beandre
UPSes. (forced commit due to previous empty commit message) ok mpi@ sthen@
2014-03-20*** empty log message ***andre
2014-03-20- add a comment pointing to http://wiki.nginx.org/Pitfalls, it has importantStuart Henderson
information for people writing nginx configuration. - remove commented-out "ssl_protocols SSLv3 TLSv1" line; nginx default is "SSLv3 TLSv1 TLSv1.1 TLSv1.2", so uncommenting this line removes desirable protocols ok robert@
2014-03-20revert rev. 1.115Sebastian Benoit
In case imcp_reflect() is called without a given source address do not try to find a matching address by iterating over a global list and always use the routing table. This breaks icmp echo replies (and maybe more) on machines with >1 ip "reverting is safer and make it clear that this function needs more love" ok florian@, mpi@ for the revert
2014-03-20Kill NFS_BOOT_GATEWAY, ok deraadt@Martin Pieuchot