summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2010-03-29Improve the way we handle spoofed paritions for Resize. Now any autoOtto Moerbeek
allocated can be treated. We still check if no non-native partition overlaps the openbsd area, to avoid surprised. ok krw@ lum@
2010-03-27remainer->remainder; from miodJason McIntyre
2010-03-27various improvements from Anders Langworthy, with some tweaksJason McIntyre
from krw and myself; ok deraadt krw
2010-03-27`b' and `c' arguments to mknod are not optional; from LEVAI DanielJason McIntyre
c_sh.c part from sobrado; ok millert guenther
2010-03-26dispense with some wacky escape sequences;Jason McIntyre
2010-03-25be more strict in check_option().Kevin Steves
ISC dhclient had a buffer overflow: http://www.kb.cert.org/vuls/id/410676 and while our dhclient is not vulnerable to that, it got us looking at how the subnet mask option is handled. this limits specific ip address options to length 4 in conformance with RFC 2132. discussion started by william@ and with input from krw@ ok krw@
2010-03-25s/parititon/partition/ in error messageStuart Henderson
2010-03-23tweak previous; ok ottoJason McIntyre
2010-03-23oops - i obviously missed -r1.142;Jason McIntyre
2010-03-23Add missing break, found while syncing with netstat/show.cClaudio Jeker
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-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-22Following diff fixes memory leak. `debug' is allocated via asprintf(3) so weTheo de Raadt
need to free it with free(3). from zinovik
2010-03-22report why getgrouplist() failed and for which user, helps with debugging;Otto Moerbeek
ok deraadt@
2010-03-22introduce HAS_MBR and let make define it for the right machines;Otto Moerbeek
requested by miod@; ok miod@ krw@
2010-03-21compute an estimate of how much memory is needed to fsck_ffs the fsOtto Moerbeek
we're about to create and warn the user if this is larger than either physmem or MAXDSIZ; ok deraadt@ krw@ thib@
2010-03-21document -b and -f get their defaults from the disklabel; ok jmc@Otto Moerbeek
2010-03-20for big (>500G) partitions, move to bigger bocks and fragments in theOtto Moerbeek
label. newfs wil pick that up, and create a filesystems for which you actually have a chanche to run fsck successfuly and before your hair falls out; ok krw@ beck@ deraadt@
2010-03-20wee tweak;Jason McIntyre
2010-03-20Make FFS2 the default format for file systems larger than INT_MAXKenneth R Westerback
512-byte blocks. Better than just blowing up. Tweak man page to document this and clarify various things. Inspired by problems noted during an install by Harald Dunkel. Suggestions and man page corrections from otto@ and jmc@ ok beck@
2010-03-18loongson needs fdisk in -DSEEALSOOtto Moerbeek
2010-03-18Fix rdr-to printing in pfctl -sr when reply-to is in use.Stuart Henderson
Found by Marcus Muelbuesch. ok henning@
2010-03-14Specify when newfs_ext2fs was introduced into OpenBSD.Antoine Jacoutot
ok otto@ jmc@
2010-03-14.Pd -> .PqJason McIntyre
2010-03-08if ncg == 1, there's no alternate superblock; from NetBSD; ok deraadt@Otto Moerbeek
2010-03-07Minimalistic driver for the ImpactSR (Mardigras) video option found on olderMiod Vallat
Octane systems, as well as some Onyxes. With special permission to change a systemwide .h file and add a manpage from deraadt@ Magic numbers and operation sequencing borrowed from Linux; tested on Octane + ESI. ok deraadt@
2010-03-04Add wsdisplay type for SGI VPro (aka Odyssey)Joel Sing
ok miod@
2010-03-04don't crash on invalid phase 2 IDs; from hshoexer; ok sthen@Markus Friedl
2010-03-03Add description of -p and remove reference to fstab processing.Otto Moerbeek
Prompted by J.C. Robers; ok jmc@
2010-02-28Minimal frame buffer driver for the SiS 315 found on Lemote Fuloong systems.Miod Vallat
Currently unable to change video modes or provide any form of acceleration, so you are stuck in a 640x400x8 mode, but at least people scared of serial consoles will get a chance to use their Fuloongs now. Tested by otto@ (early developments) and jasper@ (final version)
2010-02-27Remove the paragraph about "sysctl debug" as suggested by kettenis@.Ingo Schwarze
It misled users to think they could use it, and it didn't really provide any useful information. Instead, note that some sysctl variables depend on options(4). OK jmc@
2010-02-21Actually use the gints addrinfo setup for gateway lookup, instead of usingTheo de Raadt
the global one (which has a useless AI_CANONNAME and thus is slower) found by martin.pelikan
2010-02-18Hook newfs_ext2fs to the build, ok miod@ jasper@Otto Moerbeek
2010-02-18- add -q to synopsisJason McIntyre
- add the mnemonic from newfs -q
2010-02-18Add -q flag for compatiblity with newfs as requested by miod@Otto Moerbeek
2010-02-17loongson has mbr as well; ok miod@ (but he made me promise to makeOtto Moerbeek
a -DHAVE_MBR diff after release)
2010-02-17local ext2fs_bswap.c instead of groping in the sys/ufs/ext2fs treeOtto Moerbeek
2010-02-17handle -t for when being called by newfsOtto Moerbeek
2010-02-16clean this page up;Jason McIntyre
2010-02-16fix OpenBSD rcs tags, prompted by Tim van der MolenOtto Moerbeek
2010-02-16default verbosity to 4Otto Moerbeek
2010-02-16man page with tweaks from miod; ok miod@Otto Moerbeek
2010-02-16Port of newfs_ext2fs from NetBSD. not hooked to the build yet.Otto Moerbeek
ok miod@
2010-01-30Build on loongson, and sort platform list.Miod Vallat
2010-01-18Convert pf debug logging to using log()/addlog(), a single standardisedRyan Thomas McBride
definition of DPFPRINTF(), and log priorities from syslog.h. Old debug levels will still work for now, but will eventually be phased out. discussed with henning, ok dlg
2010-01-14Document hw.ncpufound and HW_NCPUFOUND.Philip Guenthe
Document the interpretation of the third and fourth levels of KERN_FILE2. Document that KERN_FILE and KERN_PROC are deprecated in favor of KERN_FILE2 and KERN_PROC2. ok and tweaks jmc@
2010-01-13netmask sockaddrs for the default route may set sa_len to 0 to indicateClaudio Jeker
a all zero mask. So check for this condition as well since else we read garbage that comes after the netmask sockaddr (which is the IFP normaly). Found by todd@, OK dlg@
2010-01-13Move tokens before productions into more consistant placesTheo de Raadt
ok mcbride