summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-11Track the last session for a client and add a flag to switch-client andNicholas Marriott
a key binding (L) to move a client back to its last session.
2010-12-11Fix rectangle copy to behave like emacs - the cursor is not part of theNicholas Marriott
selection on the right edge but on the left it is.
2010-12-11Oops, these functions return a const char *, so make the local variableNicholas Marriott
const as well.
2010-12-11Make the prompt history global for all clients which is much more useful ↵Nicholas Marriott
than per-client history.
2010-12-11Make SYNOPSIS sections and code having .nr nS enabledIngo Schwarze
behave as if the whole code were wrapped in .Bk/.Ek, i.e. keeping input lines together on output lines. This is compatible with new groff behaviour and deviates from historical groff. Tweaked version of a patch sent by kristaps@ on July 16, 2010. ok kristaps@ jmc@ sobrado@ millert@
2010-12-11rxi_flags was used uninitialized, and in some cases, received framesDamien Bergamini
were dropped.
2010-12-11Make it possible to mark an rc action as unsupported by setting theAntoine Jacoutot
corresponding variable to NO. e.g. rc_reload=NO This will save us the trouble of copying the same rc_reload() function (or others) all over the tree. ok robert@
2010-12-11update subst_vars list; ok ajacoutot@Martynas Venckus
2010-12-11Sanitise daemon_flags: remove multiple whitespaces from _rcflags.Antoine Jacoutot
requested by okan@, ok robert@
2010-12-11Do not overwrite the settings in the rc scripts itself, so use the sameRobert Nagy
method to handle _class, _user and _shell as we do for _flags. discussed with and ok ajacoutot@
2010-12-10Add support for setting _user _class and _shell for a specific daemon,Robert Nagy
and use su to start the daemons. By default if there is no class defined, daemon will be used. For a shell it defaults to /bin/sh.
2010-12-10Rephrase a confusing sentence.Nicholas Marriott
2010-12-10stating that -f may be used by users is wrong, since that wouldMartynas Venckus
just execute su in login emulation mode. from MERIGHI Marcus. ok millert@, otto@, jmc@
2010-12-10- don't use memory from the session we've already cleaned in theMartynas Venckus
loop. fixes "login foo" and "su -L foo". ok millert@, otto@
2010-12-10It is user/root not user.root for kerberos 5.Todd C. Miller
2010-12-10Try to make this a little less kerberos-centric and remove a BUGSTodd C. Miller
entry now that we have the -s option. OK jmc@
2010-12-10- plug an fd leakJasper Lievisse Adriaanse
help/ok chl@ nicm@
2010-12-10There's no need to flush the cache for the FPU state ever since we got ridMark Kettenis
of the non-equivalent aliases for it. ok miod@
2010-12-09Abort endless loops during roff macro and string expansion.Ingo Schwarze
For now, use the simplest conceivable approach, like groff does: Just a fixed, ugly input stack limit. Kristaps@ agrees.
2010-12-09.Bk/.Ek is required now to keep the output generated from each macroIgor Sobrado
input line together on one single output line. ok jmc@ and millert@, who also noticed the ugly break.
2010-12-09Allow quote macros (`Op', `Aq', `Bq', `Dq', `Pq', `Ql', `Qq', `Sq', andIngo Schwarze
`Brq') to have zero arguments without warning. This makes sense because the multi-line quote macros (`Oo/Oc' etc.) allow zero children anyway. Furthermore, the documentation doesn't state that they're required to have children. Reported by Alex Kozlov, patch from kristaps@.
2010-12-09Roff only interpolates \* strings when the leading backslash is not escaped.Ingo Schwarze
Kristaps@ agrees with the idea, even though he didn't review the final patch.
2010-12-09syncMiod Vallat
2010-12-09spacing, no functional change.Igor Sobrado
2010-12-09usage should fit on a 80-column displayIgor Sobrado
ok millert@
2010-12-09add -s to usageIgor Sobrado
2010-12-09Add support for "-s shell" to su(1). This can be used by the superuserTodd C. Miller
to run a different shell than what the password database contains. Based on a diff from robert@. OK robert@ deraadt@
2010-12-09scp.1: grammer fixJason McIntyre
scp.c: add -3 to usage()
2010-12-09The PF_KEY socket is like the routing socket. It must be polled all theClaudio Jeker
time to consume broadcasted messages or the socket gets full and own messages that are needed are lost. This fixes an infinit loop in pfkey_reply that happens when bgpd tcp md5sum is used on a system that also runs a larger IPsec setup. OK henning, lot of patience, debuging and testing by Thomas Boernert
2010-12-09When looking up an SA based on peer address, also check the portMartin Hedenfal
number. Without this, isakmpd deletes SAs from the same IP on an INITIAL-CONTACT message, possibly deleting unrelated NATed tunnels. Fixes PR 5562. Verified by Mikolaj Kucharski. ok mikeb@
2010-12-08add a new -3 option to scp: Copies between two remote hosts areMarkus Friedl
transferred through the local host. Without this option the data is copied directly between the two remote hosts. ok djm@ (bugzilla #1837)
2010-12-08Reset acb->xs to NULL before scsi_done if option DIAGNOSTIC. There seem to beMiod Vallat
one bad case of use-after-free after a hell lot of heavy I/O creeping in again in this driver. This doesn't fix it but will hopefully help me diagnose once it occurs again.
2010-12-08Fix compilation with option CBB_DEBUG; noticed by Dave Anderson on misc@Miod Vallat
2010-12-08In the built-in layouts, distribute the panes more evenly. Set theNicholas Marriott
default value of main-pane-width to 80, rather than 81. By Micah Cowan.
2010-12-08explain that IPQoS arguments are separated by whitespace; iirc requestedDamien Miller
by jmc@ a while back CVS ----------------------------------------------------------------------
2010-12-07The rdmsr_locked/wrmsr_locked functions were using "=A" as a constraint forTheo de Raadt
the 64-bit output/input. On i386, this means that the 64-bit value is in eax:edx, but on amd64 gcc this is not the case (might be a gcc bug, or might be intentionally different and annoying?). The consequence is that amd64 errata were not always being matched (and then "corrected" using the magic repair code). We need to compose/decompose the 64-bit value like the un-locked msr functions do. originally pointed out by ragge, ok kettenis jsg
2010-12-07Make the preload error distinct from the normal error.Dale Rahn
ok espie@
2010-12-07Make this compile again.Miod Vallat
2010-12-07remove useless #includeDamien Bergamini
2010-12-07B-Link (not D-Link!) BL-LW05-5RDamien Bergamini
2010-12-07remove a bunch of unused argumentsJonathan Gray
ok henning@
2010-12-07bring src/sys/arch/amd64/amd64/dkcsum.c r1.16 over to i386:David Gwynne
the boot loader passes a variable that identifies the disk its booting off made up of a bunch of fields like adapter, controller, disk, and partition offsets, plus a table of all the disks it can see which includes this id and a checksum. the kernel goes through and checksums the disks and then maps that back to the id associated with that disk, and then compares some of the fields in those ids against the boot disks id to figure out which disk its on. the problem is we overflow one of those fields (the disk id one). since the other fields are set to 0 by the boot loader, this doesnt really matter that much. however, since those fields are now significant because of the overflow, we should compare them too. this prevents sd16 being matched as the boot disk after sd0 on my system with 25 disks attached. ok krw@ weingart@ ithe boot loader passes a variable that identifies the disk its booting off made up of a bunch of fields like adapter, controller, disk, and partition offsets, plus a table of all the disks it can see which includes this id and a checksum. the kernel goes through and checksums the disks and then maps that back to the id associated with that disk, and then compares some of the fields in those ids against the boot disks id to figure out which disk its on. the problem is we overflow one of those fields (the disk id one). since the other fields are set to 0 by the boot loader, this doesnt really matter that much. however, since those fields are now significant because of the overflow, we should compare them too. this prevents sd16 being matched as the boot disk after sd0 on my system with 25 disks attached. requested by deraadt@ ok krw@ weingart@
2010-12-07the boot loader passes a variable that identifies the disk itsDavid Gwynne
booting off made up of a bunch of fields like adapter, controller, disk, and partition offsets, plus a table of all the disks it can see which includes this id and a checksum. the kernel goes through and checksums the disks and then maps that back to the id associated with that disk, and then compares some of the fields in those ids against the boot disks id to figure out which disk its on. the problem is we overflow one of those fields (the disk id one). since the other fields are set to 0 by the boot loader, this doesnt really matter that much. however, since those fields are now significant because of the overflow, we should compare them too. this prevents sd16 being matched as the boot disk after sd0 on my system with 25 disks attached. ok krw@ weingart@
2010-12-07Complete the merge of bsd.lv version 1.10.7:Ingo Schwarze
No more functional changes, just sync ordering, comments and white space.
2010-12-07Back out my .ft implementation for -Thtml.Ingo Schwarze
Kristaps says it is broken and cannot work, because HTML needs a block structure which .ft does not provide. Thus, let us just ignore .ft in HTML output.
2010-12-06Do not report the same problems multiple times,Ingo Schwarze
and do not bother checking the return values of calls that always return 1. From kristaps@.
2010-12-06add missing header needed by futimes()Charles Longeau
ok tobias@ xsa@ nicm@
2010-12-06- properly remove NENTS now after fixing the fallout.Jasper Lievisse Adriaanse
ok deraadt@
2010-12-06Add an option to alert (monitor) for silence (lack of activity) in aNicholas Marriott
window. From Thomas Adam.
2010-12-06add missing header needed by futimes()Charles Longeau
ok tobias@ nicm@