Commit Graph

243806 Commits

Author SHA1 Message Date
ozaki-r
eef1e5e6e7 Reduce scopes of variables 2016-07-20 03:38:09 +00:00
ozaki-r
133f516a49 Get rid of unnecessary satosin 2016-07-20 03:36:51 +00:00
shm
31d615acc3 CID 603440: ensure that closing socket exists 2016-07-19 21:25:38 +00:00
maxv
5769e840ca This loop makes no sense at all. 2016-07-19 18:54:45 +00:00
christos
53697fe783 make the check work with widths other than 4, Felix Deichmann 2016-07-19 18:27:27 +00:00
maya
ef4ada88df CFATTACH_DECL -> CFATTACH_DECL_NEW
struct device * -> device_t
2016-07-19 17:04:25 +00:00
maya
bd2a0d0ca6 Don't reference older CFATTACH_DECL 2016-07-19 17:01:04 +00:00
christos
ec0d275be2 PR/50849: Felix Deichmann: Relax TC option ROM header check for ROM widths < 4 2016-07-19 16:58:05 +00:00
maya
28b30b97a1 Remove unused bits
(mostly because _IPL_NSOFT is not defined)
2016-07-19 16:39:54 +00:00
maya
67b719e39e Change cpu_intr prototype to new one, to avoid conflicts.
Make the function resemble typical cpu_intr code.
2016-07-19 13:58:09 +00:00
maya
294885819e Don't use old style definition 2016-07-19 13:50:02 +00:00
maya
c7f49c0a67 We need to include param.h before device.h, as it uses uint64_t 2016-07-19 13:48:51 +00:00
shm
d3c94bcc3a Fix race condition in deliver(), fix resource leak. 2016-07-19 13:11:38 +00:00
shm
1202090c01 Do not send encoding header for compressed formats. 2016-07-19 09:27:40 +00:00
kre
8f8fef4dea + PTO please turn over 2016-07-19 09:10:16 +00:00
msaitoh
207265e875 Print number of attach error regardless of AB_QUIET and AB_SILENT. 2016-07-19 07:44:03 +00:00
pgoyette
db571e7ec7 Add a couple definitions of PTO
PR misc/51342
2016-07-19 07:06:32 +00:00
pgoyette
7c20c5d3bb Fix regression introduced in tests/net/bpf and tests/net/bpfilter
The rump code needs to call devsw_attach() in order to assign a dev_major
for bpf;  it then uses this to create rumps /dev/bpf node.  Unfortunately,
this leaves the devsw attached, so when the bpf module tries to initialize
itself, it gets an EEXIST error and fails.

So, once rump has figured what the dev_major should be, call devsw_detach()
to remove the devsw.  Then, when the module initialization code calls
devsw_attach() it will succeed.
2016-07-19 02:47:45 +00:00
pgoyette
b480c5f769 Add the pgoyette-localcount branch 2016-07-19 02:04:06 +00:00
taca
a0e1068441 BIND 9.10.4-P2 has released. 2016-07-19 01:04:09 +00:00
christos
216c089b2e add missing attribute. 2016-07-18 22:51:38 +00:00
maya
6d7eeb5b57 ret is only used in debug cases, mark as __unused. 2016-07-18 22:24:15 +00:00
maya
605a5134f3 Include mips/cpuregs.h for MIPS_PHYS_TO_KSEG1 2016-07-18 22:17:09 +00:00
maya
2cdb8600b4 Remove unused variables 2016-07-18 22:13:22 +00:00
maya
55444510e0 Don't use old-style definitions.
Appeases GCC.
2016-07-18 22:07:38 +00:00
maya
7fc0e5755e Include sys/device.h for cfdata_t 2016-07-18 22:05:53 +00:00
maya
a87b681f14 Adapt to change: struct cfdata * -> cfdata_t 2016-07-18 21:54:12 +00:00
pgoyette
f62b0250ed Insert missing 'break;' statements.
CID 1364142
2016-07-18 21:09:05 +00:00
pgoyette
d76562fa13 Rearrange code to avoid testing an error value that has not been set.
Also, for the built-in case, rather than re-inserting our devsw and
then ignoring the EEXIST error, don't bother re-inserting.

CID 1364140
2016-07-18 21:07:30 +00:00
pgoyette
e615742559 Rearrange so that error check is only done after error has been set.
CID 1364141
2016-07-18 21:03:01 +00:00
palle
6dae8467bf sun4v: handle device interrupts properly - both legacy (sysino) and cookies 2016-07-18 19:51:06 +00:00
maya
88c2982e9a Adapt to recent MIPS changes
need mips/locore.h for cpu_identify
2016-07-18 19:50:11 +00:00
palle
fffaa3504b sun4v: reset cbus debug back to zero 2016-07-18 19:32:44 +00:00
christos
9b35adc85c adapt to changed api 2016-07-18 18:46:07 +00:00
christos
439326df13 need sys/stat.h for umask. 2016-07-18 18:45:56 +00:00
christos
bc1b97558b new acpica 2016-07-18 17:26:58 +00:00
christos
72abab0cc9 merge conflicts. 2016-07-18 17:26:12 +00:00
christos
ae01e9dc22 27 May 2016. Summary of changes for version 20160527:
This release is available at https://acpica.org/downloads


1) ACPICA kernel-resident subsystem:

Temporarily reverted the new arbitrary bit length/alignment support in
AcpiHwRead/AcpiHwWrite for the Generic Address Structure. There have been
a number of regressions with the new code that need to be fully resolved
and tested before this support can be finally integrated into ACPICA.
Apologies for any inconveniences these issues may have caused.

The ACPI message macros are not configurable (ACPI_MSG_ERROR,
ACPI_MSG_EXCEPTION, ACPI_MSG_WARNING, ACPI_MSG_INFO, ACPI_MSG_BIOS_ERROR,
and ACPI_MSG_BIOS_WARNING). Lv Zheng.

Fixed a couple of GCC warnings associated with the use of the -Wcast-qual
option. Adds a new return macro, return_STR. Junk-uk Kim.

Example Code and Data Size: These are the sizes for the OS-independent
acpica.lib produced by the Microsoft Visual C++ 9.0 32-bit compiler. The
debug version of the code includes the debug output trace mechanism and
has a much larger code and data size.

  Current Release:
    Non-Debug Version: 136.8K Code, 51.6K Data, 188.4K Total
    Debug Version:     201.5K Code, 82.2K Data, 283.7K Total
  Previous Release:
    Non-Debug Version: 137.4K Code, 52.6K Data, 190.0K Total
    Debug Version:     200.9K Code, 82.2K Data, 283.1K Total
2016-07-18 17:23:24 +00:00
christos
2fbb92f482 CID 1349675: Null pointer dereference 2016-07-18 17:04:29 +00:00
christos
ca1437e523 CID 1349674 Null pointer dereference 2016-07-18 17:02:44 +00:00
christos
f10d3d31fa CID 1349652: Set umask before mkstemp 2016-07-18 16:58:04 +00:00
christos
cde7fc85ec CID 1288934: Use after free. 2016-07-18 16:56:04 +00:00
christos
4d8445a4a7 Not designed for PIE 2016-07-18 12:17:39 +00:00
skrll
db2fe8a3e5 Various improvement from t-hash (and a bit from me).
- Flesh out the abort routine
- Avoid using EVENT_DATA
- Miscellaneous debug
- Comment improvement
2016-07-17 20:13:19 +00:00
christos
f03e9ee2c9 remove ctf lint library 2016-07-17 19:44:56 +00:00
skrll
6fb0d64f9e Fixup some Loongson code after recent changes to pmap and PAGE_SIZE 2016-07-17 16:44:39 +00:00
abhinav
ee829d24f5 Use deroff() from mandoc(3) to directly parse the Nd macro rather
than parsing it by hand.

With the latest mandoc(3), the .Nd macro was getting parsed twice. This fixes
that problem and cleans up the code as well.

ok christos@
2016-07-17 15:56:14 +00:00
skrll
3b2c691c07 Use anonymous union for ptm_ceiling and old __pthread_spin_t field to
maintain backward compatibility and fix hppa build.  hppa has an non-
integer type __pthread_spin_t
2016-07-17 13:49:43 +00:00
skrll
2533f55817 Update instruction numbers in comments 2016-07-17 12:56:12 +00:00
abhinav
19584ea1f8 Fix extraction of section number and machine architecture from man pages.
With the latest API, mdoc_validate()/man_validate() needs to be called before
reading the roff_man.meta field, otherwise it is NULL.

Also, if a man page doesn't specify machine architecture, don't default to '?'
, let it be stored as null in the db. Otherwise, the output of apropos(1) shows
the names of the results as \?/<title>
2016-07-17 12:18:12 +00:00