Commit Graph

223177 Commits

Author SHA1 Message Date
lneto
b716fbc627 using luaL_register() in luapmf 2013-12-16 23:35:48 +00:00
bad
a88c18e5e2 Don't hold back, tell us how you really feel when dlopen() fails. 2013-12-16 23:27:33 +00:00
lneto
5588522013 changed lua_Number and lua_Integer to intmax_t in lua(4)
*
2013-12-16 23:25:56 +00:00
matt
e3a958c021 Back out change for bsd.lib.mk which skips objcopy -x for BE ARM.
Change OBJCOPYLIBFLAGS to keep $a/$d/$t symbols on BE ARM.
2013-12-16 21:34:16 +00:00
palle
418e019b05 Updates to pmap_bootstrap() for sun4v - parts from OpenBSD - OK martin@ 2013-12-16 20:17:34 +00:00
skrll
84c03d543e Provide ARM_APCS_FLAGS on arm and earm. 2013-12-16 19:06:41 +00:00
jakllsch
31df9552fd Use (new) mii_mpd_rev in struct mii_softc rather than providing our own
mii_revision in struct rgephy_softc.
2013-12-16 18:29:57 +00:00
mrg
c15bdfe60d apply __diagused where appropriate. 2013-12-16 15:49:40 +00:00
mrg
f67d132c4b avoid unused variables outside of diag code. 2013-12-16 15:49:25 +00:00
mrg
a2d73b560f use (void) when we don't care about the return value 2013-12-16 15:49:00 +00:00
mrg
9408126e02 apply __diagused where appropriate and remove useless variables 2013-12-16 15:48:29 +00:00
mrg
635e88e2a7 - remove unused variables
- use (void) when we don't care about the return value
- move variables inside their usage #if
2013-12-16 15:46:57 +00:00
mrg
d07fd9689b - remove unused variables
- use (void) when we don't care about the return value
2013-12-16 15:45:29 +00:00
mrg
8f515fa69b apply __diagused where appropriate. 2013-12-16 15:44:41 +00:00
pooka
f5bd9f4075 Translate return values for emulations, e.g. Linux. For ports without
__HAVE_MINIMAL_EMUL, we simply look up the values from p->p_emul->e_errno.
For ports which cannot afford to keep an extra pointer per emul structure
around, we hope there is __HAVE_SYSCALL_INTERN support and thread the
errno values through p_emuldata.  Notably, we cannot alter the syscall
method like most ports do with syscall_intern, since they do it via
p_mdproc, so MI code is not possible there.
2013-12-16 15:36:29 +00:00
skrll
3f73102cea Use #if defined in previous. 2013-12-16 12:08:14 +00:00
skrll
40f7ff546c Backout the ED/QH change removal in [eo]hci_device_request.
Reports of the KASSERT firing mean this needs more thought/testing.
2013-12-16 10:04:20 +00:00
htodd
3ebdd249d0 Fix build. 2013-12-16 01:51:19 +00:00
wiz
449f893950 New sentence, new line. 2013-12-16 00:59:37 +00:00
stacktic
55facafc5a nb_name_len does not increase size when nn_scope contains only a \0,
do the same on nb_name_encode to avoid a buffer overflow
2013-12-15 21:48:55 +00:00
stacktic
e9f2eda43c Make sure we keep enough space to encode the type 2013-12-15 21:45:07 +00:00
pooka
c4a2c1fa88 XXXgcc Wuninitialized kludge 2013-12-15 21:18:01 +00:00
pooka
e546a6c273 Allow overriding CTASSERT. This helps with building NetBSD sources with
compilers that don't support __COUNTER__ -- shifting the CTASSERTs
around to avoid __LINE__ conflicts is a hopeless struggle.
2013-12-15 21:15:41 +00:00
pgoyette
84f27a786b Mention the new kern.module.autotime variable. 2013-12-15 21:10:32 +00:00
pgoyette
2b1203b7ab Make the auto-unload timeout configurable via sysctl, and if the timeout
is set to zero, disable all auto-unloads (even those that were "scheduled"
previously).
2013-12-15 21:09:50 +00:00
mlelstv
9a7a6e815f Fix output for -A -f ... 2013-12-15 18:56:59 +00:00
jakllsch
2bc43492e1 Correct a KASSERT's logic (SET vs. GET). 2013-12-15 18:50:25 +00:00
joerg
69fd5d473d Move flags for ARM's APCS ABI into a common variable. Add some forces to
deal with limitations in the Clang <-> LLVM backend interaction to pick
the correct ABI and target assembler.
2013-12-15 18:08:37 +00:00
para
ed410bc93c mark variable usage, fix non DIAGNOSTIC non DEBUG build 2013-12-15 17:15:34 +00:00
mbalmer
3f37aa7ac8 lcr is only used when COM_16650 is defined; unbreak the build 2013-12-15 15:55:39 +00:00
skrll
0bc393adf1 Only attempt to set 64byte fifo for 16750 when COM_16750 is defined.
Hi kiyohara.

PR/48359 NetBSD/cobalt 6.99.25 GENERIC kernel freeze at initializing com0
2013-12-15 11:06:57 +00:00
spz
51d026c1a4 Coverity issues 996120 and 996121, Use after free
Use the M_CP_STROPT definition exclusive to servconf.c twice and
you have freed your original string.

servconf.h won copying authorized_keys_command and
authorized_keys_command_user in COPY_MATCH_STRING_OPTS in 1.107,
but servconf.c didn't drop its own, so it walks into this trap.
Remove the duplicate copies, and disarm the trap.

Note this is on a code path where authorized_keys_command and
authorized_keys_command_user don't actually get used except
for a debug dump of the config, and dump_cfg_string protects
itself against trying to print NULL pointers, so all
you get is sshd -T -C ... giving wrong results, which is rather
insignificant as far as security issues go.
2013-12-15 10:42:52 +00:00
skrll
76e8011a73 Now that usbd_new_device has been fixed there is no need to touch QHs/EDs
in [eo]hci_device_request.

KASSERT the address and maximum packet length just in case.
2013-12-15 10:25:23 +00:00
wiz
82c52eb924 sync usage with man page 2013-12-15 09:21:03 +00:00
wiz
73135dc321 Sort SYNOPSIS and option descriptions. Bump date for previous. 2013-12-15 09:20:48 +00:00
wiz
95452ff947 Sync usage and option descriptions with manpage. 2013-12-15 09:18:31 +00:00
wiz
4b6a96229a Standardize SYNOPSIS. Sort option descriptions and remove duplicates. 2013-12-15 09:18:14 +00:00
skrll
1fecb92877 Trailing whitespace 2013-12-15 09:14:09 +00:00
skrll
a85d34a9ea Trailing whitespace. 2013-12-15 09:13:47 +00:00
mlelstv
b3d56b5ecb New -A option. Add an output column with the address of the
kernel object (vnode or file) that can be matched with prstat(8) output.
2013-12-15 08:16:24 +00:00
christos
dbf7e7e879 Add -Wno-uninitialized with -Os so that we don't get spurious gcc warnings. 2013-12-15 07:52:53 +00:00
christos
a2e4e15f91 PR/48448: David A. Holland: Avoid coredump by checking return code of
localtime(3)
2013-12-15 06:41:18 +00:00
christos
6e404ef791 Add extra rpcgen flags. 2013-12-15 06:10:33 +00:00
christos
7f1aab93ea Put back the extra prototype for main(); some programs #define main to
something else, so we need the extra prototype.
2013-12-15 06:07:39 +00:00
pgoyette
f63e4f52f1 Regen 2013-12-15 04:24:53 +00:00
pgoyette
b11d18ff35 Add ASMedia ASM1042 xHCI USB3 controller 2013-12-15 04:21:52 +00:00
christos
26892b74da Add linted comments. 2013-12-15 03:45:07 +00:00
christos
a54bed1665 downgrade illegal bitfield from error to warning so we can ignore it. 2013-12-15 03:43:37 +00:00
christos
0213edf018 - remove support for pre-ansi output
- add -B (BSD) support for c++ output macros
- group functions to make output better looking
2013-12-15 00:40:17 +00:00
christos
6d47ec32bb centralize the rpcgen flags and set for BSD output 2013-12-15 00:28:45 +00:00