summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-12-28As pointed out by Dan Rosenberg our telnet client has the sameJonathan Gray
overflow when using encryption as the recent FreeBSD advisory. Use the same approach taken in FreeBSD to protect against malicious servers. ok miod@
2011-12-28only add the rdomain for hostname lookups, when we have a hostname to lookup.Peter Hessler
noticed by zepard at gmail OK henning@
2011-12-28The ctl, note, notepg, regs, and fpregs files have been removedPhilip Guenthe
2011-12-28Cleanup the metadata initialisation process - have sr_meta_init()Joel Sing
initialise both the volume and chunk metadata before the discipline specific sd_create() function is called. The sr_meta_init_complete() function is then called to complete the initialisation based on values provided by sd_create().
2011-12-28Avoid the use of an invalid disklabel by setting a DK_LABELVALID flagJoel Sing
if we correctly read and validated the disklabel. Always check that this flag is set before using the DUID from the disklabel. Discussed with deraadt@ ok krw@
2011-12-28sndiod(1) does not 'reload', so set rc_reload to NO.Antoine Jacoutot
ok ratchov@
2011-12-28An all-zero DUID is considered to be a blank DUID - ensure that we do notJoel Sing
generate one. ok krw@
2011-12-28The sparc64 installboot is for sparc64 only - remove all of the non-sparc64Joel Sing
related code. ok kettenis@
2011-12-28pthread_self() may be much cheaper and never more expensive than getthrid()Philip Guenthe
so prefer it for identifying the current thread
2011-12-28These utilities were already part of 1BSD, and some authors are known.Ingo Schwarze
All facts from the CSRG archive CD 1, also available from minnie.tuhs.org. Feedback and OK sobrado@, ok jmc@. Kirk McKusick writes: "Bill usually used "Bill Joy" when listing author information. Only occationally did he choose to use William Joy. So, I would recommend using Bill Joy." So i'm using that here even though some of the original files related to this commit do contain the form "William Joy".
2011-12-28Some parsing improvements from kristaps@:Ingo Schwarze
* Accept multiple lines in cat page NAME parsing. * Do not trim the description to 70 characters in the database. * Instead, limit the length of the description during output. * In man(7), accept \-\- as a Nm-Nd separator; occurs in 3p.
2011-12-27Don't let applications block, wait for, or handle SIGTHR, as thePhilip Guenthe
thread library uses it internally for cancellation.
2011-12-27On failure, pthread_kill() should return the errno, not -1Philip Guenthe
2011-12-27Instead of hand crafted code, use the macros TAILQ_FOREACH(_SAFE)Alexander Bluhm
and TAILQ_EMPTY for accessing the nd_defrouter list. No funtional change. ok stsp@
2011-12-27Q_BOUNCE is not used anymoreEric Faurot
ok gilles@
2011-12-27Instead of using a separate "bounce" queue, create the bounce envelopeEric Faurot
directly as an envelope of the bounced message, just like "regular" envelopes. ok gilles@
2011-12-27Allow $HOME as default-path in tmux.conf so the same config file can be usedStefan Sperling
on different machines regardless of where the user's home directory is. ok nicm
2011-12-27Add \033[s and \033[u to save and restore cursor position.Nicholas Marriott
2011-12-27Move some global variables/statics to locals, from Michael WNicholas Marriott
Bombardieri.
2011-12-27Extend history that can be captured to INT_MIN rather thanNicholas Marriott
SHRT_MIN. From Chris Johnsen.
2011-12-27Reset flags on every loop or it is displayed too often, from ChrisNicholas Marriott
Johnsen.
2011-12-27tweak previous;Jason McIntyre
2011-12-27Follow adduser(8) behaviour (as well as what the pkg tools and ourAntoine Jacoutot
installer do) and do not append the user to its primary group name in /etc/group. ok miod@
2011-12-26Add the missing ECX cpu flags from CPUID at 0x80000001.Christiano F. Haesbaert
This is all documented at: http://support.amd.com/us/Embedded_TechDocs/25481.pdf (page 20) http://www.intel.com/assets/pdf/appnote/241618.pdf (page 41) ok jsg@
2011-12-26The __bounded__ declaration on getcwd() has been corrected, so updatePhilip Guenthe
the expected test results to match and convert one to be a test of getwd()
2011-12-26Provide default set chunk state and set volume state functions whichJoel Sing
cover the no redundancy/no rebuild case. Use these for the AOE, crypto and RAID 0 disciplines.
2011-12-26Document whatis(1) -S and -s; leading, trailing, and double colonsIngo Schwarze
in the MANPATH; and the new whatis.index file. Include some synching to apropos(1) and to the usage() string. Use some feedback from jmc@.
2011-12-26Do not skip manuals shared across architectures when building databases.Ingo Schwarze
2011-12-26Copy from src/usr.bin/whatis, not changing the content yet.Ingo Schwarze
Since the code is moving from src/usr.bin/whatis/whatis.c to src/usr.bin/mandoc/apropos.c, the manual will move with it. The old copy will be removed after switching over. ok jmc@
2011-12-25Update the whatis.db database format.Ingo Schwarze
While here, reference apropos(1) from the description, inspired by the makewhatis(8) manual.
2011-12-25State default usage before listing arguments of a utility;Ingo Schwarze
from kristaps@, ok jmc@.
2011-12-25miod@ reported problems reproducing a 'pre-4K fix' disklabel. So in theKenneth R Westerback
interest of rope sales allow the 'X'pert to suppress the rounding of partition locations to bsize boundaries. Also mention that such rounding is being done, so as to not surprise the user. ok otto@ a while ago
2011-12-25Plug a memleak and constify some strings; from kristaps@.Ingo Schwarze
2011-12-25printf("msg")/return 1 -> err(1, "msg"), which will also show relevantKenneth R Westerback
errno string. Since we are err()'ing out, don't worry about closing MBR fd first.
2011-12-25Missing architecture on the .Dt line; found with mandocdb(8); ok jmc@.Ingo Schwarze
2011-12-25Accept "makewhatis" as an alias for "mandocdb".Ingo Schwarze
2011-12-25Use the traditional name "whatis.db" for the mandocdb(8) databases.Ingo Schwarze
Requested by deraadt@, ok kristaps@. CAUTION: If you run "sudo mandocdb" after this, the old apropos(1) and whatis(1) will not work any longer. To get temporary copies of the new ones, run: cd /usr/bin; rm -f apropos whatis; ln -s mandoc apropos; ln -s mandoc whatis
2011-12-25Initialise discipline function pointers with defaults and only overrideJoel Sing
those that are needed by a specific discipline.
2011-12-25Move chunk state debugging code to a more useful location.Joel Sing
2011-12-25For binary compatability of the databases across architectures,Ingo Schwarze
use pointers to arrays, not pointers to structs. It is now possible to create databases on sparc64 and use them on i386 and vice versa. Kristaps@ can't think of anything else that might be required, either. Put this in now such that we can move on.
2011-12-25Implement test mode (makewhatis -t), required for pkg_create(8).Ingo Schwarze
Always do all consistency checks; when any one fails, decide whether to print a message, or skip the file, or both, or none. While here, do some cleanup as well: * Bail out on conflicting options. * Do not crash with -a if there are plain files in the root dir. * Collect some related variables into structs. Feedback and OK kristaps@.
2011-12-25Fix the documented CAVEAT by forcing the TX gain to minus infinity whenMiod Vallat
the user asks to only keep the input source enabled, and remember this to keep reporting the previously configured volume values in mixerctl. While there, document the supported encodings and the supported mixer items in the manual page, and the fact that all output sources share the same volume (GX gain) setting.
2011-12-24Support leading, trailing and double colons in MANPATHIngo Schwarze
to prepend, append or insert the man.conf(5) default path; compatible with GNU manpath(1), implementation by kristaps@, heavily tweaked by me.
2011-12-24Default to a much smaller input gain on the MIC line, to improve recordingMiod Vallat
quality. While there, use a better gain table.
2011-12-24formatting errors, found using freebsd's "igor";Jason McIntyre
2011-12-24Fix so that when mouse-select-pane and mouse-select-window are bothNicholas Marriott
enabled, clicking on the status line does not change the current pane. From Romain Francoise.
2011-12-24-p requires an argument; from Stefan PetterssonJason McIntyre
ok krw
2011-12-24Remove the ability to ptrace via procfs, as no one is using it, so fixingPhilip Guenthe
and extending it to support rthreads would be a waste of time. Also, don't show rthreads in the process listing in procfs. Reassurances that compat_linux doesn't need this from ajacoutot@ ok kettenis@
2011-12-24i386 has MD TCB, so add the #define. Not sure how I overlookedPhilip Guenthe
this for so long, but fixes SEGV on errno access with librthread. Apologies to jeremy@, todd@, robert@ and others for taking so long to track this down
2011-12-24Need <machine/pcb.h> for TSEG_GSPhilip Guenthe