summaryrefslogtreecommitdiff
path: root/sbin
AgeCommit message (Collapse)Author
2010-04-06fix some more dodgy "-indent"; aucat.1 has some too, but i'll leave that forJason McIntyre
ratchov, to avoid messing up his current diff...
2010-04-06list offset should be "indent", not "-indent";Jason McIntyre
2010-04-05-indet is not a valid .Bl option, it should be -indent. But what mandoc(1)Theo de Raadt
did was spit that out on the next line of output, without warning, which is a bug in mandoc(1)...
2010-04-04Add some ipv6 hooks the isc code expects for dhcpv6.Jonathan Gray
ok krw@ ramdisks checked by deraadt@
2010-04-04In editor_add(), determine block & frag size base on the the actual fsOtto Moerbeek
size chosen by the user, and not the suggested size; move to bigger blocksize in two steps; ok krw@
2010-04-03scsi_all.h is needed before scsi_disk.h now. ok marcoNicholas Marriott
2010-04-03On the random MAC address also turn off the 'local administered' bit,Theo de Raadt
since it is our intent to deceive. Prompted by weerd. ok ckuethe
2010-04-02randomized mac addresses, avaliable via 'ifconfig $if lladdr random'.Theo de Raadt
Note that not all device drivers do the work of the SIOCSIFLLADDR ioctl correctly, but this is just more reason to get them fixed. ok beck kettenis
2010-04-02Use a dedicated variable to prevent attempting to open multipleStuart Henderson
ALTQ transactions when anchors are loaded. Fixes pfctl when using 'load anchor ... from' as seen by beck@ and Toni Mueller, which stopped working after r1.295 removed loadopt (which was overloaded to do this job as well as indicate command- line flags). ok henning@
2010-04-01WARNINGS -> CAVEATS, and a little neccessary cleanup;Jason McIntyre
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