Commit Graph

225832 Commits

Author SHA1 Message Date
dholland
5cbf34865d Revise documentation of QUOTA and QUOTA2 options to make it clear that
these are FFS options. (QUOTA2 also works with mfs. AFAIK, traditional
quotas don't.)

Don't refer to QUOTA2 as "the new quotas format" as "new" is not a
good long-term identifier.

Also, don't xref half the quota utilities; there's no need to.
2014-03-23 00:48:08 +00:00
dholland
c1b7c6be35 Add note cautioning against bothering with WARNS=6 until gcc improves
(or -Wconversion is removed from WARNS=6) as it produces loads of false
positives. The most entertaining of these that I've seen this afternoon:

games/hack/hack.apply.c:143:22: error: conversion to 'unsigned char:1' from 'int' may alter its value [-Werror=conversion]
   flags.move = multi = 0;
                      ^
2014-03-23 00:17:40 +00:00
dholland
920b84d8b3 fix signedness issue 2014-03-23 00:07:15 +00:00
dholland
b34516b7a7 gratuitous (but not harmful) changes to pass gcc48's -Wconversion 2014-03-23 00:03:04 +00:00
dholland
747644908b Use ssize_t for read() results. Don't use int for lseek() results.
Call srandom() with time(), not getpid().
2014-03-22 23:47:03 +00:00
dholland
d6160edeb8 Use ssize_t for read() results. Don't use int for lseek() results. 2014-03-22 23:45:34 +00:00
dholland
5f3fafa77c Use uid_t to hold getuid() results, and don't check getuid for failure
as it isn't allowed to fail.
2014-03-22 23:42:48 +00:00
dholland
246baf44c7 use size_t instead of int for a length 2014-03-22 23:39:04 +00:00
dholland
4d631eb951 Use random(), not rand(). 2014-03-22 23:33:33 +00:00
dholland
ffe2e1f51c avoid unnecessary floating point ops 2014-03-22 23:31:28 +00:00
dholland
84ecadaa86 avoid signed left-shift 2014-03-22 23:23:55 +00:00
dholland
6955cd2022 Use CHAR_BIT, not 8. 2014-03-22 23:16:21 +00:00
dholland
1b8c34b59e don't declare ospeed; it's in <termcap.h> 2014-03-22 23:10:36 +00:00
dholland
1e7c0bc4d8 Make the list of place types an enumeration. Use unsigned values for
place numbers.
2014-03-22 22:58:56 +00:00
dholland
3216ca61cd use a more suitable type 2014-03-22 22:47:07 +00:00
dholland
66a360a4e6 use more suitable types 2014-03-22 22:45:05 +00:00
dholland
6b884adb36 woops, more of previous. 2014-03-22 22:33:35 +00:00
dholland
c1bee345de Make some things unsigned that should be (why would we need e.g. a
negative number of airports?) and remove some related bogus casts.
2014-03-22 22:24:21 +00:00
dholland
860c2027cb Don't cast the return value of malloc. 2014-03-22 22:09:14 +00:00
dholland
6f629695aa Minor tidyup. 2014-03-22 22:04:40 +00:00
tsutsui
7e5b560932 Remove obsolete ssir stuff which was used for pre-5.0 softintr(9).
No visible problem on X68030.
2014-03-22 21:49:18 +00:00
christos
52afc2f519 kill sprintf 2014-03-22 21:42:44 +00:00
martin
15eceb53d1 Replace the workque for status changes with an usb task queue (hint from
Nick Hudson) - simpler for this, and avoids some races.
2014-03-22 20:56:04 +00:00
martin
e5db261cf2 Avoid undefined behaviour (which causes traps on VAX). 2014-03-22 20:36:45 +00:00
dholland
337d73a6f4 tag decl() __noinline, as inlining it would defeat its purpose
(which is to not have interesting string literals appear in the
compiled binary)
2014-03-22 20:07:05 +00:00
tron
adbf0b7734 Remove (harmless) debug target committed by accident.
Pointed out by Matthew Green in private e-mail.
2014-03-22 19:52:21 +00:00
jakllsch
2c56941e16 For all i386 string assembly functions that don't overlap use END() so
that symbol size information is available.
2014-03-22 19:38:46 +00:00
jakllsch
6ac3c1f4d7 For all x86_64 string assembly functions that don't overlap (i.e. every
one except memset and bzero) use END() so that symbol size information
is available.
2014-03-22 19:16:34 +00:00
dholland
9628f4097a Revert part of previous -r1.21 and fix the errno-handling bug instead. 2014-03-22 19:05:30 +00:00
dholland
a94f7f4574 move extern decls to .h files 2014-03-22 18:58:57 +00:00
jakllsch
035a7c5fd0 drop trailing whitespace 2014-03-22 18:54:28 +00:00
tron
0bb5c0ea6c Fix build with "HAVE_GCC=48" and "USE_SSP=yes". 2014-03-22 17:57:47 +00:00
reinoud
7b9b4247ee Add constant for a reserved bit 31 for the L2C_AUXCTL register for use in
masks
2014-03-22 17:12:20 +00:00
tsutsui
7f18e221b3 Remove obsolete ssir stuff which was used for pre-5.0 softintr(9). 2014-03-22 16:52:07 +00:00
reinoud
4f5cd31658 Add defines for the PL310's L2C_PREFETCH_CTL and L2C_POWER_CTL registers as
per r3p2 spec.
2014-03-22 16:39:20 +00:00
prlw1
33609e8501 DIOCGDISKINFO support for vnd
Reviewed by apb@ and christos@
2014-03-22 16:08:51 +00:00
tsutsui
eac45b2062 Use common m68k/busaddrerr.s for bus error and address error handlers.
No binary changes on GENERIC.
(though the previous revision has not been tested on 040/060 yet)
2014-03-22 15:59:07 +00:00
matt
a1f21652d9 Make sure r1 is preserved _rtld_bind_start. 2014-03-22 15:13:10 +00:00
njoly
7c7fa700e5 Add a few xorg lint libraries. 2014-03-22 13:40:55 +00:00
wiz
6b491007ea New sentence, new line; slight wording improvements. 2014-03-22 11:35:03 +00:00
skrll
ddb1dc4a8e Bump date for previous 2014-03-22 11:25:54 +00:00
skrll
532f35877f Add mtsleep(9) and a description of how it, tsleep(9), and wakeup(9)
should all be replaced with condvar(9).

While here clear out the lock(9) reference(s) and the obsoleted example.

Based on misc/48671
2014-03-22 11:24:35 +00:00
hkenken
e2cf8b4e39 Fix SDHC clocks. 2014-03-22 09:46:33 +00:00
hkenken
5f3c2fa27e Add SPI driver.
i.MX51 have two eCSPI, and one CSPI.
2014-03-22 09:28:08 +00:00
maxv
2632b9d940 Fix a potential - but very unlikely - NULL pointer dereference.
(it does not introduce a new error code for open(), since
 pathbuf_copyin() is already there and can return ENOMEM)

Found by my code scanner.
2014-03-22 08:15:25 +00:00
skrll
05d6b677c6 Remove reference to simplelock 2014-03-22 07:49:06 +00:00
maxv
2898b430e9 'newrt' is not supposed to be NULL. Therefore, the NULL-check in the if()
is pointless; and even if 'newrt' were NULL, 'rt' would be dereferenced
later. This is not a bug.

CID 270855

ok christos@
2014-03-22 07:46:35 +00:00
maxv
d8a274dfb9 Small changes:
- rename elf_load_file() to elf_load_interp()
 - use the correct type for 'nused'
 - remove useless cases
 - reorder a kmem_alloc

ok christos@
2014-03-22 07:27:21 +00:00
hkenken
ec32498d61 * GPIO interrupts of i.MX5 are divided into two groups.
add IMX_GPIO_INTR_SPLIT option
* Support GPIO both edge trigger interrupt.
2014-03-22 05:19:18 +00:00
hkenken
47143f5cf3 add Watchdog Timer support for i.MX51. 2014-03-22 04:55:00 +00:00