Commit Graph

4836 Commits

Author SHA1 Message Date
martin 3028e483e4 Convert to new 2 clause license 2008-04-29 06:53:00 +00:00
martin ce099b4099 Remove clause 3 and 4 from TNF licenses 2008-04-28 20:22:51 +00:00
tsutsui c007028e0b Enable gcc optimization on m68000 (sun2) again with minimum hacks.
gcc -O0 generates a bit fat binaries.
2008-04-27 03:06:46 +00:00
dyoung 52440afe4e Don't cast memset(3) to void. Remove a needless cast to struct
in6_addr *.
2008-04-24 05:29:40 +00:00
dyoung 35eb8b696a Copy a const string to a temporary buffer instead of using __UNCONST().
Cosmetic: get rid of superflous curly braces and cast to (void *).
2008-04-22 17:18:11 +00:00
dyoung d5063688b1 Delete some gratuitous casts, s/(char *)//. 2008-04-22 00:14:20 +00:00
christos ab3d20195f PR/28627: Andreas Gustafsson: Try 5 times to calibrate before failing. Should
fix issues with CPU's that don't produce consistent timing output due to code
morphing or power-savings.
2008-04-21 15:23:35 +00:00
dyoung 197afa999c Change int to bool in a couple of places. 2008-04-21 05:33:55 +00:00
dyoung babbbc034d s/(caddr_t)// 2008-04-21 02:10:45 +00:00
dyoung 246781acda Change bzero calls to memset calls. 2008-04-21 02:08:09 +00:00
ad 76f153e120 sync() a couple of times to benefit diagnosis of sloppy kernel code that
crashes during boot to multiuser.
2008-04-20 23:40:31 +00:00
dyoung f7545c1509 Straggler from last: call fewer protocol family-specific initialization
routines from main(), since the protocol-family modules are taking
care of it.
2008-04-15 22:26:58 +00:00
dyoung 499909306a Use static initializers to setup ISO and IPv6 addresses, instead
of calling protocol family-specific routines from main().
2008-04-15 22:24:37 +00:00
dyoung 8de26a0c60 Cosmetic: write strcmp() == 0 instead of !strcmp(). 2008-04-15 22:14:07 +00:00
dyoung adc446d581 Cosmetic: delete dead code. 2008-04-14 15:57:15 +00:00
dyoung 18685458ac Cosmetic: use NULL instead of 0 for pointers. Shorten staircase. 2008-04-11 01:14:28 +00:00
dyoung 457345432a Cosmetic: compare socket address family with AF_UNSPEC instead of
0.
2008-04-11 00:56:11 +00:00
dyoung aeb69f8d9e Cosmeticc: there's no use casting a uint16_t to a u_short, so don't
do that.  Change indentation for readability.
2008-04-11 00:55:41 +00:00
christos fb30984e82 un-bitrot #if 0 testing code. 2008-03-18 15:38:57 +00:00
lukem 54d1cc9562 Remove unused file. 2008-03-16 23:41:25 +00:00
lukem 481ad7b03a errexit() now provides the trailing \n (since fsck_ffs assumed that
from a conversion from err(3)), so "make it so".
2008-03-16 23:17:55 +00:00
lukem 84f13c769e sync from fsck_ffs/dir.c 1.21:
lost+found directories are mode -1700
2008-03-16 22:32:14 +00:00
wiz 1d5c92c6f8 Various improvements (mdoc, wording, punctuation). 2008-03-16 11:07:23 +00:00
xtraeme c3a503482a Xref cac(4). 2008-03-16 10:01:32 +00:00
aymeric fc91709981 The hpcsh kernel does for sure USE_MBR. Make disklabel use it too on hpcsh.
With this, it is possible to bootstrap a MBR partitioned CF card without
partitioning and disklabelling it first on another platform.
2008-03-11 08:18:22 +00:00
tnn bc465dcf63 mbr_dsn is unsigned, print it as such. 2008-03-09 14:57:10 +00:00
reinoud cff0e3f587 Fix small documentation bug as reported in PR#38192 :
FFS  -> FFSv1
UFS2 -> FFSv2
2008-03-08 19:26:46 +00:00
christos cc8760f4cb fix example (from anon ymous) 2008-03-03 19:11:45 +00:00
xtraeme 133f451fc4 Typo in previous. 2008-03-03 16:13:34 +00:00
xtraeme 89550ec143 Improve usage() and manpage commands/args. 2008-03-03 16:10:48 +00:00
xtraeme e54494308e - Fix total user specified and free disk size based on the RAID level.
- Adapt for BIOC_SVOL_RAID01 and BIOC_SVOL_RAID10 levels.
2008-03-03 14:55:39 +00:00
jmmv 9e8fd365e9 Add the ability to specify load-time properties for modules. This adds
three new flags to the new modload utility: -b, -i and -s, which are used
to pass boolean, integer and string parameters respectively.
2008-03-02 11:20:59 +00:00
xtraeme fd6e8571e1 On RAID 1 volumes and when bv_stripe_size is 0 make it print 'N/A', like:
$ sudo bioctl arcmsr0 show volumes
Volume Status       Size         Device/Label    Level Stripe
=============================================================
     0 Building     234G  sd0 ARC-1210-VOL#00   RAID 1    N/A  97.40% done
     1 Offline      234G  sd1 ARC-1210-VOL#01   RAID 1    N/A
$

Make it prettier the output of "bioctl foo0 show [volumes]" too.
2008-03-01 16:08:41 +00:00
xtraeme 2e0c631507 bio_setstate_consistency: zero out the struct before anything else,
and fix argv argument for strtoul().
2008-02-29 14:33:02 +00:00
christos dd771215eb PR/38094: Robert Millan: support "BIOS Boot" partition type in gpt(8) 2008-02-24 18:38:10 +00:00
christos 358764c860 Catch signals and exit with the proper error code like all the other fsck
programs.
2008-02-24 00:59:03 +00:00
reed baa9962260 Fix typo. 2008-02-24 00:34:51 +00:00
christos 742b48d55e Make sure that the exit values are always sane, and use symbolic instead
of magic constants. Reviewed by go@
2008-02-23 21:41:47 +00:00
christos 1fe4bceb66 Say what our exit values mean (this is not correct right now, because not
all fsck programs have been fixed but it will be soon).
2008-02-23 20:38:53 +00:00
elad 52cf460a76 Following input from Matthew Mondor, some Veriexec documentation changes:
- Document the signatures file format in a veriexec(5) man-page,
  - Document the strict levels and a general Veriexec intro in veriexec(8)
    instead of security(8).

Okay blymn@.
2008-02-18 10:37:19 +00:00
matt aacb8057fd lfs_sb_cksum returns a uint32_t, not a u_long 2008-02-16 17:58:43 +00:00
matt 6a2c9c06cc Fix some inconsisent/conflicting definitions and missing parameters 2008-02-16 17:58:01 +00:00
matt f664ab11b6 Change incorrect usage of CFLAGS to CPPFLAGS 2008-02-16 17:56:36 +00:00
matt 04686d0e18 yyerror returns void, not int 2008-02-16 17:56:11 +00:00
dyoung c4923ea4ad Document -l, -Q, -R, and -S. 2008-02-16 02:00:37 +00:00
elad d6faea9863 Allow no signatures file to be specified for the "load" command, and use
the default one in such cases.

Update command usage and documentation to reflect the above.
2008-02-15 15:33:56 +00:00
rillig ee53edd89b Print the second parameter in the error messages, since the first is
ignored anyway.

ok'ed by jmmv@.

NB: I didn't add a regression test for this because of lack of knowledge,
as the existing tests don't seem to follow the regress/README file.
2008-02-13 14:24:12 +00:00
rillig a4cbf0b5a3 The first non-optional parameter is ignored by this program.
ok'ed by jmmv@.
2008-02-13 14:21:57 +00:00
dyoung a34525837f Do not #include <sys/device.h> from userland. 2008-02-11 20:29:15 +00:00
elad 8f8e9e057c Xref security(8) from veriexec(4), veriexec(9), veriexecctl(8), and
veriexecgen(8).

Suggested by Matthew Mondor.
2008-02-10 19:32:23 +00:00