Commit Graph

223507 Commits

Author SHA1 Message Date
tsutsui
681c174ae4 Remove unused code (from OpenBSD/luna88k). Some KNF. 2014-01-03 02:03:12 +00:00
rkujawa
d8300310a1 Rework handling of Commodore Gayle chip. Avoid ugly struct casts, introduce
proper bus_space accesses and some abstraction layer. All drivers that utilised
Gayle also had to be refactored.

I tried not to break anything more, but this clearly needs more testing...
2014-01-03 00:33:06 +00:00
sjg
7a951eee59 Treat '~' as a meta char requiring a shell.
Patch from Steve McIntyre 93sam at debian.org

Reviewed by: christos
2014-01-03 00:02:01 +00:00
christos
a012ad3d35 PR/4891: Wiz: readlink moved from xopen to base at issue 5. 2014-01-02 23:33:50 +00:00
tho
95dca9d5ae Add myself 2014-01-02 22:22:18 +00:00
joerg
30b2999ac3 Update warning flags to reflect the fixes. Restrict GCC flags to GCC. 2014-01-02 21:38:38 +00:00
joerg
f4afb4e801 Don't pass in a format string, but flags for using %f / %g and the
desired precision. Allows format string verification to work correctly.
2014-01-02 21:37:00 +00:00
joerg
1a12c81543 Add format string attribute for better detection. 2014-01-02 21:35:50 +00:00
joerg
f7fd78b752 Avoid pointer operations on the format string. 2014-01-02 21:35:19 +00:00
christos
a8aa636f1e don't lose the RPC error from CLNT_CALL. 2014-01-02 20:12:23 +00:00
tsutsui
d0e171ad99 Misc cleanup. Mostly from OpenBSD/luna88k.
- fix isprint() macro
- hight -> height
- remove an unused function
- adjust tabs/spaces
- constify the bitmap font
- consistently use #define<space>
- use #if 0/#endif to disable code block
- u_long -> uint32_t, u_short -> uint16_t
- some KNF
2014-01-02 20:02:00 +00:00
tsutsui
67183ad6ce Replace broken (by SCCS) ISO-2022-JP comments with UTF-8.
Recovered and decoded by isaki@.
2014-01-02 19:50:03 +00:00
christos
15db747847 disable ctf handling for the shuttle .c -> '' rule since we don't create
an object file to work on.
2014-01-02 19:25:08 +00:00
christos
23f2ffe8d5 add gnu attributes to the known sections 2014-01-02 19:20:35 +00:00
christos
024e870a52 Add more gnu sections 2014-01-02 19:15:07 +00:00
joerg
9b97293f31 Fix const use. 2014-01-02 19:00:39 +00:00
pooka
97e7a6dce3 need atomic.h, from uwe 2014-01-02 18:52:04 +00:00
tsutsui
4efa8769d7 Add bound check of a controller number in scrun().
Noticed by miod@openbsd.
2014-01-02 18:45:24 +00:00
pooka
acb676442c Allow kernels compiled with INET+INET6 to be booted as IPv4-only or IPv6-only. 2014-01-02 18:29:01 +00:00
joerg
8531f75b5e Use separate variables for the format strings to get working format
string checking with both GCC and Clang.
2014-01-02 18:26:03 +00:00
tho
6effffb038 Fix a few "share" flags
. Add missing "share" flag on usr/share/examples/npf files.
. Drop "share" for directories in examples/{libsaslc,npf,tmux}. This is how it
  is done for other directories in usr/share.

This fixes checkflist with MKSHARE=no.

ok christos@.
2014-01-02 18:04:28 +00:00
tho
b69297ca8f Do not install files in usr/share/ when MKSHARE=no
ok christos@
2014-01-02 17:57:58 +00:00
tsutsui
273c5b9bba Change the SCSI select timeout from 2ms to 250ms as kernel spc(4) driver does.
Noticed by miod@openbsd.
2014-01-02 17:43:32 +00:00
tho
f2050dfc52 Drop superflous "picinstall" flag on "obsolete" items
Reported by apb@, thanks!
2014-01-02 16:46:40 +00:00
skrll
197d83126f Protect access of urb->hcpriv by adapting the following change from the
Raspberry PI dwc_otg driver.

38753ce72d

dwc_otg: prevent OOPSes during device disconnects

The dwc_otg_urb_enqueue function is thread-unsafe. In particular the
access of urb->hcpriv, usb_hcd_link_urb_to_ep, dwc_otg_urb->qtd and
friends does not occur within a critical section and so if a device
was unplugged during activity there was a high chance that the
usbcore hub_thread would try to disable the endpoint with partially-
formed entries in the URB queue. This would result in BUG() or null
pointer dereferences.

Fix so that access of urb->hcpriv, enqueuing to the hardware and
adding to usbcore endpoint URB lists is contained within a single
critical section.
2014-01-02 15:54:10 +00:00
wiz
d54156f8be grep -2.16 out. 2014-01-02 13:07:42 +00:00
tho
8c14c7a552 Mark all _pic.a archive files with the 'picinstall' flag.
This fixes checkflist with MKPICINSTALL=no.

ok christos@.
2014-01-02 12:54:36 +00:00
mrg
8af74a22fc sort the contributor list, and update the defines list to include lua. 2014-01-02 08:47:38 +00:00
mrg
6810043c20 update for 20140102. 2014-01-02 08:30:22 +00:00
mrg
44293cacb5 update version, date and copyright. 2014-01-02 08:22:59 +00:00
mrg
d1b43391bd - update CHANGES with recent changes
- update version to 20140102
- update copyrights
- use getcwd() over getwd()
- fix lean build (don't include lua)
2014-01-02 08:21:38 +00:00
christos
47379f4665 rename libtool.m4 m4 2014-01-02 04:03:16 +00:00
tsutsui
96fe424ce9 Remove initialization of unused t_softc in struct tty (to make pullup easier). 2014-01-02 03:32:35 +00:00
matt
ab1f27dd20 Define kernel_pmap_store as a pmap followed by ALPHA_MAXPROCS pmap_asn_info.
kernel_pmap_ptr now points to the pmap in kernel_pmap_store.
2014-01-01 22:35:54 +00:00
christos
a791c1b86a remove commented out -fno-reorder-functions 2014-01-01 22:07:54 +00:00
christos
f211905aff Use a custom ldscript so that we can keep boot_start at 0. 2014-01-01 22:06:13 +00:00
christos
eb2d28f6ce Provide a boot ldscript that puts the text.unlikely section after the text
section so that boot_start gets placed first. We also set the entry and the
start address, although we still override them from the command line.
This is a copy of elf_i386.xbn
2014-01-01 22:05:48 +00:00
christos
f69b3e7990 fd == 0 is a valid descriptor! 2014-01-01 19:52:58 +00:00
christos
bc1be752a1 whitespace fixes 2014-01-01 19:50:44 +00:00
christos
316fbf0f9f There was a case where \n did not increase plinno 2014-01-01 19:06:45 +00:00
dsl
be74e0a9c9 Change the type of the 'cookie' that holds the state of the core dump file
from 'void *' to the actual type 'struct coredump_iostate *'.
In most of the code the contents of the structure are still unknown.
This just stops the wrong type of pointer being passed to the 'void *'
parameter.
I hope I've found everything, amd64 GENERIC and i386 GENERIC & ALL compile.
2014-01-01 18:57:15 +00:00
christos
87802d4338 clarify further. 2014-01-01 18:29:39 +00:00
christos
724ab0808b explain the previous fix. 2014-01-01 16:55:28 +00:00
pgoyette
0e7bb6c6cc Re-sort, and update md.evbppc for new crypto modules 2014-01-01 16:27:10 +00:00
matt
d2a0d9efc4 Fix PMAP_SIZEOF() to deal with that the pmap has 0 pmap_asn_info now.
Addresses PR/48488.
2014-01-01 16:09:04 +00:00
pgoyette
573613f06b Add new modules for opencrypto 2014-01-01 16:06:35 +00:00
pgoyette
2dd4f4d91a Modularize the opencrypto components and link to the build 2014-01-01 16:06:00 +00:00
pgoyette
06537b934f Add new crypto algorithm modules to sets list 2014-01-01 15:22:33 +00:00
pgoyette
f45c6e8a3c Create modules for software crypto components. 2014-01-01 15:18:57 +00:00
tsutsui
51c2df58e8 Enable file-system CD9660 to make cd(4) actually usable. 2014-01-01 08:41:52 +00:00