Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-29 | do not need sys/disk.h | Theo de Raadt | |
2014-06-26 | Create temporary file with mkstemp and unlink if rename operation fails. | Tobias Stoeckmann | |
ok deraadt@, henning@ | |||
2014-06-25 | Make stricter decisions when handling translation specifications. | Mike Belopuhov | |
In particular, disallow specifications containing addresses of different address families when rule doesn't specify one, for example "pass out nat-to { ::1 1.1.1.1 }" will now produce an error instead of silently picking one of the addresses. sthen and deraadt agree | |||
2014-06-24 | remove the noaccesstime synonym for noatime which was previously added for ↵ | Daniel Dickman | |
BSD/OS compatibility. ok deraadt@, miod@i, millert@ | |||
2014-06-23 | first attempt at documenting NOINET6 by default and eui64 turning it on again | Henning Brauer | |
2014-06-23 | make "ifconfig <if> inet6 eui64" reset the NOINET6 flag | Henning Brauer | |
(unconditionally), so a link-local will be assigned if there isn't one yet. ok krw benno todd sthen | |||
2014-06-23 | The second level of the CTL_NET sysctl is a PF_*, not an AF_* | Philip Guenther | |
inconsistent usage in route(8) noted by Gregor Best (gbe (at) ring0.de) | |||
2014-06-18 | Always keep length of cluster chain up to date, otherwise the drop of | Tobias Stoeckmann | |
superfluous clusters can lead to out of boundary access. ok krw@ | |||
2014-06-16 | Merge NetBSD commit: | Tobias Stoeckmann | |
Move to 2 clause license, approved by Wolfgang Solfrank. ok deraadt@, krw@ | |||
2014-06-14 | Avoid infinite loop if cluster chain is a cyclic list. | Tobias Stoeckmann | |
Inspired by Android's commit b6ee08aadb580341a4d80943741b80de16a88b5d, but fixing the actually offending cluster, not a random one. ok krw@ | |||
2014-06-14 | Fix memory leaks in bootblock handling. | Tobias Stoeckmann | |
ok krw@ | |||
2014-06-14 | Fix regression of 1.16: write fsinfo, not block into FSInfo region. | Tobias Stoeckmann | |
ok krw@ | |||
2014-06-14 | Fix regression of 1.20 by properly incrementing pointer. | Tobias Stoeckmann | |
2014-06-13 | Type cleanup: | Christian Weisgerber | |
* Move all off_t variables that don't look like file sizes to int64_t. * Switch blockswritten to int64_t, so it won't wrap at 2TB. * Same for blocksthisvol (from deraadt@). * Switch xferrate (from tedu@) and blocksperfile from long to uint64_t. * Since blocksperfile can be set with -B, move numarg() from long to long long and don't mark small integer constant arguments as long. ok deraadt@, tedu@ | |||
2014-06-10 | Fix off by one when writing FAT for FAT12 filesystems. | Tobias Stoeckmann | |
ok deraadt@ | |||
2014-06-09 | Fix possible out of boundary access if filesystem is full or corrupt. | Tobias Stoeckmann | |
Merged from Android (commit id 59ae828834dc177c74775cf36cafda4da9927bd9). ok deraadt@ | |||
2014-06-03 | Handle the event parameter of libevent callback function as a bit | YASUOKA Masahiko | |
mask. Also remove redundant imsg_event_add calls. Fixes come from usr.sbin/ospfd/control.c ok reyk | |||
2014-05-31 | Oops. We're reporting DEV_BSIZE values in error messages, so call | Kenneth R Westerback | |
them 'blocks' not 'sectors'. | |||
2014-05-31 | Cast daddr_t variable (blkno) to (long long) when printing with %lld. | Kenneth R Westerback | |
2014-05-31 | add -S to usage(); | Jason McIntyre | |
2014-05-30 | Add option -S to have dump(8) only estimate backup size and number of tapes | Stephan A. Rickauer | |
required (from NetBSD). ok beck@, krw@ and sthen@ | |||
2014-05-30 | warnings warnings everywhere | Ted Unangst | |
2014-05-30 | WARNING: Encrypted vnd is insecure. | Ted Unangst | |
Migrate your data to softraid before 5.7. | |||
2014-05-29 | fsck should use the same values in checking as newfs does in creating | Kenneth R Westerback | |
a filesystem. fs_nspf and its derivitives like fs_spc are DEV_BSIZE values, not actual hardware disk sector values. Adjust initializations accordingly. Tweak header and man page comments to make the DEV_BSIZE'ness more obvious for future spelunkers. No-op for DEV_BSIZE (a.k.a. 512-byte) sector devices but should help checking filesystems on, e.g., 4k-byte sector devices. ok jmc@ on the man page tweaks. | |||
2014-05-27 | Where trying to pread() a single disk sector, the i/o must be for the | Kenneth R Westerback | |
actual disk sector size and not DEV_BSIZE. The sector size must be obtained via the disklabel. Larger i/o's must be multiple sectors, so when retrying with a smaller size shrink the attempt by one sector and not DEV_BSIZE. Of course if your d_secsize is DEV_BSIZE, this will all be a no-op. This does not make non-512-byte sectors work, but puts in place the logic to get and use the disklabel info. Which makes the next diffs bite sized and focused. ok guenther@ | |||
2014-05-24 | Nuke last of the illusionary 'dev_bsize' and 'dev_bshift' variables in | Kenneth R Westerback | |
favour of DEV_BSIZE. No-op on 512-byte sector devices. | |||
2014-05-24 | Break annoyingly long line that keeps popping up in diffs. | Kenneth R Westerback | |
2014-05-24 | Use consistent format specifiers (%lld) and casts (long long) when | Kenneth R Westerback | |
printing out block numbers and sector numbers. Make output verbiage consistent. -Wall happier. Original diff and ok chl@ | |||
2014-05-24 | Don't potentially use stack garbage for e2d_type. Initialize | Kenneth R Westerback | |
newent.e2d_type to EXT2_FT_UNKNOWN, a.k.a. 0. Spotted by -Wall. | |||
2014-05-23 | Make DEBUG a bit easier to use by calling setlogmask(LOG_UPTO(LOG_DEBUG)) | Kenneth R Westerback | |
when it is set, and the current setlogmask(LOG_UPTO(LOG_INFO)) when it is not set. | |||
2014-05-23 | A #define to rename another #define which is then used only once introduces | Kenneth R Westerback | |
more obscurity than clarity. Nuke DHCPD_LOG_FACILITY and just use LOG_DAEMON in openlog() call. | |||
2014-05-22 | Nuke pointless dev_bsize variable which is always set to 512, and just | Kenneth R Westerback | |
use DEV_BSIZE. Replace lseek+read with pread(). | |||
2014-05-22 | Nuke pointless dev_bsize variable which is always set to 512, and just | Kenneth R Westerback | |
use DEV_BSIZE. Write sizes need to be secsize and not DEV_BSIZE, just like reads. Equivalent to changes made in fsck_ffs. | |||
2014-05-22 | Nuke some trailing whitespace to shrink subsequent diffs. | Kenneth R Westerback | |
2014-05-21 | Nuke some trailing whitespace to shrink subsequent diffs. | Kenneth R Westerback | |
2014-05-21 | Nuke some trailing whitespace to shrink subsequent diffs. | Kenneth R Westerback | |
2014-05-21 | Nuke some trailing whitespace and break some long lines to shrink | Kenneth R Westerback | |
subsequent diffs. | |||
2014-05-21 | Nuke some trailing whitespace to shrink subsequent diffs. | Kenneth R Westerback | |
2014-05-21 | Fix 'fdisk -u', a.k.a. MBR_pcopy(), on sparc64 and possibly others. | Kenneth R Westerback | |
gcc's built-in/in-lined memcpy() can't copy elements of a struct dos_partiton array from inside the __packed struct dos_mbr into an 'unpacked' local variable. But copying the whole array works fine. Be consistant and use the same idiom in both places the partition table is parsed. Leave the landisk workaround/hack in place until it can be confirmed it is no longer needed. ok martynas@ after many alternatives crashed and burned. | |||
2014-05-21 | Use errc/warnc to simplify code. | Philip Guenther | |
ok jca@ krw@ | |||
2014-05-20 | As suggested by guenther@ and millert@, replace seek+[read|write] with | Kenneth R Westerback | |
p[read|write]. Makes the code much clearer by eliminating extra error checking and verbiage. No intentional functional change. Tweaks by and ok guenther@ | |||
2014-05-19 | Nuke some trailing whitespace that snuck in. | Kenneth R Westerback | |
2014-05-19 | No point in trying to update the -L file on loss of link if no -L has | Kenneth R Westerback | |
been specified. Eliminates spurious "Couldn't write ''" log messages. Spotted while looking into Roman Gorelov's logs on another problem. | |||
2014-05-18 | Don't add a lease to the leases TAILQ more than once. It tends to | Kenneth R Westerback | |
make writing out the leases file go into an infinite loop until /var is full. Reported by Roman Gorelov via bugs@ Fix tested & ok stsp@ uwe@ | |||
2014-05-17 | When parsing a numerical value for the TOS bits, make sure that it | Alexander Bluhm | |
is in a valid range. OK henning@ | |||
2014-05-16 | Zero out grp before re-using it (new ones are already cleared by | Todd C. Miller | |
calloc). We only reuse grp when there is an unresolvable host. Fixes a bug where if a host in a netgroup is unresolvable then entire netgroup is ignore. OK krw@ | |||
2014-05-15 | - typo in comment | Charles Longeau | |
- memset() is not needed after a calloc() - add missing DBG_ENTER; - use SEEK_SET instead of 0 in an lseek() call ok krw@ | |||
2014-05-13 | We don't need no stinkin' 'extern long dev_bsize;'. At least not since | Kenneth R Westerback | |
fsck_ffs stopped providing it. | |||
2014-05-13 | pass SA initiator not the exchange initator to sa_address(); ok mikeb@ | Markus Friedl | |
2014-05-13 | Nuke another pointless dev_bsize variable always set to 512 and use | Kenneth R Westerback | |
DEV_BSIZE. David Vasek says it still works the same on 4K-byte-sector device. i.e. prints one value incorrectly. For which a fix should be following soon. |