summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-03-24tests for ${name#pat} and ${name%pat} issue.Federico G. Schwindt
millert@ ok'd a previous version.
2010-03-24fix the cases where ${name#pat} and ${name%pat} will generate an empty wordFederico G. Schwindt
when they shouldn't. originally from mksh but modified to handle the case when the expr is quoted as noticed by halex@. input from guenther@ and halex@, millert@ ok
2010-03-24options must be sorted.Joerg Goltermann
OK: henning@, claudio@
2010-03-24vdsk_scsi_cmd doesnt need to return now, so fix some of its scsi commandDavid Gwynne
emulation to not return values either. i think this is right, but cant test just yet. found by deraadt@
2010-03-24Document updating the display using the space-bar.lum
ok jmc@ otto@
2010-03-24Bring back PHYSLOAD_DEVICE for uvm_page_physload.Owain Ainsworth
ok kettenis@ beck@ (tentatively) and ariane@. deraadt asked for it to be commited now. original commit message: extend uvm_page_physload to have the ability to add "device" pages to the system. This is needed in the case where you need managed pages so you can handle faulting and pmap_page_protect() on said pages when you manage memory in such regions (i'm looking at you, graphics cards). these pages are flagged PG_DEV, and shall never be on the freelists, assert this. behaviour remains unchanged in the non-device case, specifically for all archs currently in the tree we panic if called after bootstrap. ok art@ kettenis@, beck@
2010-03-23syncTheo de Raadt
2010-03-23new TI 4-way PCIE-PCIE bridgeTheo de Raadt
2010-03-23Fix a crash in pfsync when running IPSEC.Pierre-Yves Ritschard
Found out the hard way by Laurent ``bucky'' Lavaud and myself. Input by claudio@, ok dlg@
2010-03-23syncTheo de Raadt
2010-03-23install mtree alwaysMarc Espie
okay deraadt@
2010-03-23some oddity in the process of getting fixedMarc Espie
2010-03-23Use CPUID leaf function 0x80000008 to fetch the physical address sizeMark Kettenis
supported by the processor and use it to calculate the mask used for manipulating the MTRR registers. If CPUID leaf function 0x80000008 isn't supported by the processor, default to the 36-bit mask we used before. Fixes issues on machines that don't have a 36-bit physical address space like Intel Atom and all 64-bit AMD CPUs. ok weingart@, deraadt@
2010-03-23fixes memory and FILE handle leaks. `acpidir' is allocated viaTheo de Raadt
asprintf(3) and `ifp' is opened via popen(3), but not closed. from zinovik
2010-03-23tweak previous; ok ottoJason McIntyre
2010-03-23oops - i obviously missed -r1.142;Jason McIntyre
2010-03-23Sync with show.c of route(8). OK michele@Claudio Jeker
2010-03-23Fix pointer usage with the renice and kill error message structure. Pointer ↵lum
was used without allocating memory. ok beck@ otto@
2010-03-23Add missing break, found while syncing with netstat/show.cClaudio Jeker
2010-03-23Set rtm_mpls on RTM_GET so that we get the correct options on mpls routes.Claudio Jeker
OK michele@
2010-03-23Print MPLS information in route -n get and do some cleanup in the show code.Claudio Jeker
OK michele@
2010-03-23avoid use of uninited var in max_partition_size(); ok krw@Otto Moerbeek
2010-03-23introducing 'R': interactive command to customize auto allocated labels,Otto Moerbeek
by growing or shrinking them as desired. can use some tweaks, but committing now to be able to work in-tree; ok krw@ lum@
2010-03-23adjust after -A / -O / -R / -T load removalHenning Brauer
2010-03-23remove -A, -O, -R and -T loadHenning Brauer
the partial loading of a ruleset (leaving ancors aside) is wrong and conflicts with the general idea of how pf works. last not least it breaks with the optimizer generating tables automagically. ok deraadt sthen krw manpage jmc
2010-03-23macppc seems to need a couple more casts before it will compile aKenneth R Westerback
kernel after the cardbus rectification. ok jsg@
2010-03-23Fix glob(3) to correctly return an error when its buffer space isNicholas Marriott
exhausted and GLOB_BRACE is given. globexp2() was ignoring errors returned from lower levels. While here, change globexp2() to return its return value normally rather putting it in a int pointer then always returning 0. ok otto
2010-03-23Add POSIX -A option to od and simplify a bit. From FreeBSD.Federico G. Schwindt
jmc@ and millert@ input and ok.
2010-03-23fix callback. This one isn't called that often actually.Marc Espie
noticed by ckuethe
2010-03-23struct pfioc_natlook has rdomain now.Stuart Henderson
2010-03-23Change the scsi_cmd function member of scsi_adapter from int toKenneth R Westerback
void. Use XS_NO_CCB error in the scsi command (xs) to report the NO_CCB condition. Eliminates all SUCCESSFULLY_QUEUED and COMPLETE confusion and untangles the midlayer from the adapter a bit more. Eyes and some fixes by miod@ There may be some compile issues on little used (i.e. I don't have any) drivers but the change is mechanical and thus easy to remedy. ok dlg@
2010-03-23dont maintain a list of vether devices inside the driver if they are neverDavid Gwynne
looked up. can vether get any smaller? ok deraadt@ claudio@
2010-03-22Detect Nuvoton W83795G.Mark Kettenis
ok deraadt@
2010-03-22Only try to break the line at an existing hyphenIngo Schwarze
when there actually IS a hyphen. Fixing an endless loop that broke the xenocara build.
2010-03-22Remove some cardbus defines and types which are identical toJonathan Gray
their pci counterparts, similar to recent changes in NetBSD. ok oga@ deraadt@ jasper@
2010-03-22tweak; ok espieJason McIntyre
2010-03-22Add missing text from license. Originally found in safte(4) in JulyPaul de Weerd
2005, this was copied around quite a bit. ok jmc@ deraadt@ dlg@ claudio@ grange@ marco@
2010-03-22fix rcs id, from bradJonathan Gray
2010-03-22Put back bnx(4) now that claudio@ has made the driver work on big endianMiod Vallat
systems with page size different than 4KB... 4 months ago.
2010-03-22On SGI IP35 systems, get SPD memory records from L1 and attach spdmem toMiod Vallat
decode them when available; tested on Fuel and Origin 350.
2010-03-22Split existing spdmem@i2c code into bus-agnostic spd record decoding code,Miod Vallat
and an i2c attachment. No functional change; ok jsg@ deraadt@
2010-03-22Enable PAGEFASTRECYCLE.Mark Kettenis
ok deraadt@, ariane@
2010-03-22add more gnum4 support: regexps do weird things with empty patterns (thisMarc Espie
is required for newer autoconf). fix the tokenizer for gnu extensions, allowing digits out of range is ridiculous. add POSIX2008 mkstemp and document it (also documenting that mktemp is safe, not posix...) tidy the manpage, do extra .Nm m4 -> .Nm. okay otto@, miod@, jmc@
2010-03-22clean up the ProgressMeter code, create a specific class if a TermMarc Espie
is around. start using stuff from termcap, specifically, cleareol, and move to hp. use the full line when we can, cram 100% if we can. (this should flicker much less on slow terminals). clean-up the install-and-progress bits to be in progressmeter, this removes some code. have pkg_create follow the same pattern as the others, with a state. This allows us to unify error messages a bit.
2010-03-22Various improvements, mainly regarding ERRORS.Ingo Schwarze
* Document EINVAL and EEXIST. * Neither mkstemp nor mkdtemp use lstat, but mktemp does. * Documenting ENOTDIR is useless, it is documented in lstat(2), mkdir(2) and open(2), and it's just one thing out of several that could go wrong. * Refer to lstat(2) instead of stat(2), which is actually used here. * State that two of these functions are standardized in the XPG. * Move the sentence about mkdtemp and mkstemps to the new STANDARDS section. * Get rid of the ugly ".So Li X Sc Ns s", just use "Xs" (suggested by jmc@). tweaks and ok jmc@ millert@
2010-03-22Even though this cannot happen in the diff -r case,Ingo Schwarze
even though diff(1) will exit(3) soon after this mkstemp(3) failure, even though this cannot really leak anything, close the file descriptor as soon as it is not used any more to make correctness of the code more obvious. patch from Igor Zinovik <zinovik dot igor at gmail dot com> on tech@ "looks nice" deraadt@
2010-03-22Dead functions, lint.Nicholas Marriott
2010-03-22Reset output functions too when changing client after attaching, toNicholas Marriott
avoid crash if a command in a sequence after new/attach causes output.
2010-03-22paste-buffer should be per pane, from C. Coutinho.Nicholas Marriott
2010-03-22Nuke unused variable.Nicholas Marriott