summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-06Recognize the ALC292Brad Smith
2014-01-06Remove the redundant "file" column from the "mlinks" table.Ingo Schwarze
The contents can easily be reconstructed from sec, arch, name, form. Shrinks the database by another 3% in standard mode and 9% in -Q mode.
2014-01-06Drop Nd from the mpages table, it is still in the keys table.Ingo Schwarze
This shrinks the database in standard mode by 3%, in -Q mode by 9%, without loss of functionality.
2014-01-06tedu unused macro.Marc Espie
okay tedu@
2014-01-06Joerg Sonnenberger contributed copyrightable amounts of text toIngo Schwarze
some files. To make it clear that he also put his contributions under the ISC license, with his explicit permission, add his Copyright notice to the relevant files. No code change.
2014-01-06Mention tmpfsBrad Smith
2014-01-05regenBrad Smith
2014-01-05Add Realtek RTS5227Brad Smith
2014-01-05don't whine about octal numbers > 2^32. They're not portable, butMarc Espie
they work on all OpenBSD platforms. Shuts up warning noticed by naddy@
2014-01-05HIBERNATE_SELTABLE is not used anymore. Remove, and reclaim its stolenMike Larkin
page.
2014-01-05Fix one case where a non-literal is used as format string.Ingo Schwarze
Fix another case where a variable is formatted using the wrong type. Patch from Joerg Sonnenberger <joerg@NetBSD>.
2014-01-05Merge NetBSD rev. 1.4:Ingo Schwarze
Rename static function data() to getdata() to work around bugs in the NetBSD PPC64 toolchain. Original author of the patch: Christos Zoulas <christos@NetBSD>. Received via Joerg Sonnenberger <joerg@NetBSD>.
2014-01-05missing newline on error messageTheo de Raadt
2014-01-05Add an option -Q (quick) to mandocdb(8)Ingo Schwarze
for accelerated generation of reduced-size databases. Implement this by allowing the parsers to optionally abort the parse sequence after the NAME section. While here, garbage collect the unused void *arg attribute of struct mparse and mparse_alloc(). This reduces the processing time of mandocdb(8) on /usr/share/man by a factor of 2 and the database size by a factor of 4. However, it still takes 5 times the time and 6 times the space of makewhatis(8), so more work is clearly needed.
2014-01-05Don't use the first 64KB for anything, including tramps. Move tramps andMike Larkin
hibernate goo up after 64KB to avoid posible corruption by buggy BIOS SMM code. Diff also ensures the first 64KB doesn't get handed to UVM either. ok deraadt@, tested by many with no regressions reported
2014-01-05Hook installboot into the build.Joel Sing
Discussed with deraadt@
2014-01-05Add initial man page for installboot.Joel Sing
2014-01-05On some architectures you can get away with using an uninitialised mutex;Joel Sing
this is not the case on hppa (practically the only architecture where unlocked has a non-zero value). This one has been hiding since r1.223... Found the hard way by juanfra@
2014-01-05Cleanup some leftovers from previous changes.Miod Vallat
2014-01-05document -DFW_UPDATE/@option firmwareMarc Espie
2014-01-05have -DFW_UPDATE set @option firmware on downloaded firmwares.Marc Espie
- normal pkg_add -u should ignore them - pkg_delete will ask about deleting them okay landry@
2014-01-05comma previous;Jason McIntyre
2014-01-05garbage collect unused global variable retval,Ingo Schwarze
forgotten in rev. 1.36 when removing timed(8) support; proofed by sobrado@
2014-01-05some conversion specifiers are not required by POSIX;Ingo Schwarze
joint work and OK jmc@ sobrado@
2014-01-05date(1) can only exit(0) or exit(1), not exit(2), so make this .Ex -std;Ingo Schwarze
obviouly, this was forgotten in rev. 1.57 when removing timed(8) support. ok jmc@ sobrado@
2014-01-05Rip out the complete "reachable" checks, without replacement.Ingo Schwarze
It's a pity i spent time during t2k13 writing this; however, when an entire concept is busted, let us not look back. There is no such thing as an unreachable page. Even if you are crazy enough to put a page starting with ".Dt NAMEI 9" into a file man1/cat.1, we now make sure that it can be found by all of the following: Nm=namei Nm=cat sec=1 sec=9 It will always be displayed as: cat(1) - pathname lookup So you know that you have to type `man cat` to get at it. That obsoletes the concept of "unreachable manuals" for good.
2014-01-05Remove the obsolete file name column from the mpages table.Ingo Schwarze
This column wasn't helpful because one manpage can have multiple MLINKS. Use the file name column in the mlinks table, instead.
2014-01-05Remove the obsolete sec and arch columns from the mpages table.Ingo Schwarze
They were confusing because a manpage can have MLINKS in different sections and architectures.
2014-01-05Reimplement apropos -s NUM -S ARCH EXPR by internally converting it toIngo Schwarze
apropos \( EXPR \) -a 'sec~^NUM$' -a 'arch~^(ARCH|any)$' in preparation for removal of sec and arch from the mpage table. Almost no functional change except for the following bonus: This also makes sure that for cross-section and cross-arch MLINKs, all of the following work: apropos -s 1 encrypt apropos -s 8 encrypt apropos -s 1 makekey apropos -s 8 makekey Before this commit, they don't, neither for the old makewhatis(8)/apropos(1) combo nor for the new one. While here, print error messages about invalid regexps to stderr.
2014-01-05Like upgrade, use feed_random right after mounting filesystems. ThisTheo de Raadt
is less than ideal. We hope the kernel has good entropy already, because this is a reinstall?? Or maybe the ftp server startup has run to completion? Or if this is an autoinstall, that config has enough unique in it? This needs more work, but the existing late-entropy feed sequence is worse. discussed at length with rpe, who tested it
2014-01-05We can feed_random right after mounting the filesystems, hoping we pickTheo de Raadt
up the previous kernel's /var/db/host.random ok rpe
2014-01-05provide feed_random() and store_random(). The first is used by install orTheo de Raadt
upgrade to feed as much additional usable entropy (as early as possible) to the current bsd.rd install kernel. The latter is used late in the procedure to store entropy for the next boot (of a real kernel) based on an issue described by dtucker, must conversation with halex and rpe tested by rpe
2014-01-05syncTheo de Raadt
2014-01-05We need /dev/random on the install mediaTheo de Raadt
discussed with rpe and halex
2014-01-05Put section and architecture info into the keys table,Ingo Schwarze
in preparation for removing them from the mpages table, aiming for cleaner and more uniform interfaces. Database growth is below 4%, part of which will be reclaimed. As a bonus, this allows searches like: ./obj/apropos An=kettenis -a arch=ppc ./obj/apropos An=kettenis -a sec~[^4]
2014-01-04New implementation of complex search criteria using \(, \), -a becauseIngo Schwarze
the old implementation got lost in the Berkeley to SQLite switch. Note that this is not just feature creep, but required for upcoming database format cleanup and simplification. The following takes less than half a second on my Z61m ThinkPad: time ./obj/apropos An=kettenis -a \( Cd=vnet -o Xr=vbus \)
2014-01-04Fix of_cmap[] size. Makes the textmode cursor reappear on vgafb (i.e.Miod Vallat
non-radeon) systems.
2014-01-04accept [0-9]lua as a valid section name (netbsd only);Jason McIntyre
from wiz@netbsd
2014-01-04use standard types and formats for size_t like variables. ok dtuckerTed Unangst
2014-01-04to do: this is a fatal error, we want a decent error messageMarc Espie
2014-01-04Properly validate index value received from CDDB server.Tobias Stoeckmann
ok deraadt@, millert@
2014-01-04recognize @option firmwareMarc Espie
2014-01-04more forbidden elementsMarc Espie
2014-01-04oops, it's global to the set, no need to do it several timesMarc Espie
2014-01-04Add rnddata[] placeholders to make these boot blocks build again.Miod Vallat
2014-01-04mark @vendor as old keyword so that transitory packages can be handledMarc Espie
thru pkg_delete -q
2014-01-04syncTheo de Raadt
2014-01-04vendor->signerMarc Espie
shorten pubkey -> pub (naddy@) \\ -> \e (jmc@)
2014-01-03Use kern.securelevel to determine whether or not we are in singleTodd C. Miller
user mode now that init no longer raises securelevel during reboot. OK deraadt@
2014-01-03signify into the buildTed Unangst