summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ext2fs (follow)
Commit message (Expand)AuthorAgeFilesLines
* shuffle externs (and definitions) around to satisfy -fno-commonderaadt2021-01-272-43/+86
* Use correct size when zeroing out dinode.millert2019-12-171-2/+2
* Oops, forgot to commit this patch.kevlo2019-07-013-9/+9
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-5/+5
* Replace overlapping memcpy() with memmove() in getpathname().millert2019-02-061-3/+3
* Use unveil(2). These programs fit together in various strange ways,deraadt2018-09-241-1/+3
* Use user_from_uid(3) and group_from_gid(3) in a few more placesmillert2018-09-161-8/+5
* Do not check the array but its length; based on a netbsd commit by christos@;otto2017-08-262-4/+4
* Eliminate some gcc warnings about 'unused variables', mostly bykrw2016-12-161-1/+3
* Fix fsck'ing. ext2fs_dinode grew extra bits to support ext4krw2016-04-283-10/+15
* More "(<blah> *)0" -> NULL, avoiding any stdarg functions.krw2016-03-162-7/+7
* Do not do the early pledge, because hotroot() is a lie. fsck_extfsderaadt2015-11-251-5/+1
* Cannot pledge() in the hotroot casederaadt2015-11-231-3/+4
* Use pledge "disklabel" as needed. The theory here is these tools become morederaadt2015-11-231-1/+6
* corrects pledge code for fsck_ffs and fsck_ext2fssemarie2015-10-151-1/+6
* Since the fsck_* programs now only handle one filesystem, this createsderaadt2015-10-141-21/+28
* Only accept one filesystem/device as argument for checking. Few peoplederaadt2015-10-142-13/+12
* avoid divide by zero; from Michael McConvillederaadt2015-09-101-2/+6
* snprintf+write --> dprintfguenther2015-09-051-5/+4
* <stdlib.h> is included, so do not need to cast result fromderaadt2015-08-203-11/+9
* document "F" in interactive mode, like for fsck.8;jmc2015-07-271-2/+13
* When getopt processing flags, many should be flag=1 instead of flag++deraadt2015-02-071-5/+5
* remove #ifndef #define blocks trying to handle lack of BUFSIZderaadt2015-01-191-5/+1
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-1611-29/+32
* remove sys/file.h includes in favor of fcntl.h where needed.tedu2014-11-201-2/+1
* remove ugly return value castsderaadt2014-10-291-5/+3
* trivial use of reallocarrayderaadt2014-10-081-3/+3
* kill fs2hXX/h2fsXX macros with letohXX/htoleXXpelikan2014-07-137-173/+173
* new superblock header needs fixespelikan2014-07-131-2/+2
* Prevent division by zero on erroneous file systems.tobias2014-07-111-1/+4
* fix dacl->size_hi header changepelikan2014-07-111-3/+3
* Use consistent format specifiers (%lld) and casts (long long) whenkrw2014-05-241-6/+13
* Don't potentially use stack garbage for e2d_type. Initializekrw2014-05-241-1/+2
* Nuke pointless dev_bsize variable which is always set to 512, and justkrw2014-05-223-22/+19
* Nuke some trailing whitespace to shrink subsequent diffs.krw2014-05-213-6/+5
* As suggested by guenther@ and millert@, replace seek+[read|write] withkrw2014-05-201-15/+5
* Kirk was being waaaay too chummy with the compiler when he trustedguenther2013-11-221-4/+6
* big int_t/time_t fixes; ok deraadt@ krw@otto2013-04-251-2/+3
* pretty print bigger off_tderaadt2013-04-246-30/+39
* ext2fs has a 32-bit time fields. store a u_int32_t of the real time_t --deraadt2013-04-171-3/+3
* Remove a header file that is only supposed to be used by the kernel.deraadt2011-04-181-2/+1
* These utilities can currently only operate with a 32-bit block number range,deraadt2011-03-1211-58/+58
* Print the real device name followed by the disklabel UID in parenthesisjsing2010-08-121-2/+2
* dont let sys/ioctl.h imply that you get the ioctls in dkio.h. thisdlg2010-05-181-1/+2
* if ncg == 1, there's no alternate superblock; from NetBSD; ok deraadt@otto2010-03-081-1/+7
* remove references to docs we no longer install;jmc2010-01-101-6/+2
* do not leak memory, found by parfait, ok millert ottoderaadt2009-12-101-1/+3
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-19/+1
* use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgderaadt2007-09-021-2/+2
* convert to new .Dd format;jmc2007-05-311-2/+2