Commit Graph

239839 Commits

Author SHA1 Message Date
christos 3f38d7cad6 Move blacklistd later now that it depends on libpthread (From Rin Okuyama) 2015-12-31 20:11:32 +00:00
mrg c662775e21 WELCOME 2016! 2015-12-31 15:23:07 +00:00
ryo 66f8646dd2 use armv7_generic_space 2015-12-31 12:14:01 +00:00
ryo 1fc390a6bc add support iMX6 uSDHC
- some UHS-I/SDR104 card are not stable
- eMMC doesn't work yet
2015-12-31 11:53:18 +00:00
dholland bb7bd59051 Fix REL_CHECK error output; it had "expected" and "obtained" swapped.
While here, improve the general legibility of the printout. Not
actually relevant to PR 50574, but anyone looking at that should be
aware of this change.
2015-12-31 10:56:13 +00:00
dholland 4f3e8539c0 When computing relative months, use mktime() directly and don't call
our Convert(). And check it for failure. This fixes three sets of
problems:

  (1) depending on the passed-in value of Timezone it might
      disassemble the time in one timezone and reassemble it in
      another, causing mysterious offsets of a few hours;

  (2) with the previous set of changes to this file, Convert() fails
      if it ends up normalizing a date, so e.g. going three months
      forward from March 31 would fail;

  (3) previously if Convert() failed we passed -1 on to DSTcorrect(),
      which made a mess.

PR 50574.
2015-12-31 10:52:06 +00:00
dholland 2213a9c409 Always use localtime_r; I don't think any of this code is tripping
itself up, but it's still good practice for library functions to not
trash static libc state. Might be relevant to PR 50574.
2015-12-31 10:31:07 +00:00
wiz d8834a4a1d tmux 2.1 is out. 2015-12-31 10:21:02 +00:00
dholland 6970e57cc6 When evaluated on a Sunday, "next Sunday" means 7 days in the future,
not 14. When evaluated on a Monday, it apparently means 13 days in the
future. There's not exactly a spec for parsedate.y, so conform to the
implementation.

PR 50574.

XXX: to me at least this is an odd notion of "next Sunday", but whatever...
2015-12-31 10:18:00 +00:00
dholland 9775679d6b Fix the "Tuesday midnight" test to match what parsedate.y does; in
particular it doesn't add a week if evaluating that on Wednesday.

Whether that's right is an open question, but there's not exactly a
spec for parsedate.y and there's no point having the test fail one
day in seven.

PR 50574.
2015-12-31 10:10:15 +00:00
dholland 4c7b8eec63 Reformat grammar part according to my standards for yacc grammars. 2015-12-31 09:12:57 +00:00
mrg 0841a79ea3 bump the version; we have real fixes now. 2015-12-31 04:58:43 +00:00
mrg 614a8b6713 redo the fix for rev 1.26 - instead of getting a new string wrong,
just delay the free until the parent has finished using them.
also, free query as well.

fixes PR#50374.
2015-12-31 04:39:16 +00:00
marty 2de605cb9d XU4 gpio - get rid of annoying printf 2015-12-31 03:50:34 +00:00
dholland 9dc9693718 Avoid leaking a file handle on error opening the next file. From
David Binderman in PR 50577.
2015-12-31 01:16:47 +00:00
christos b357ba3056 We don't have RLIMIT_SWAP 2015-12-30 22:26:26 +00:00
christos 585297dcfb more robust ulimit test that works with most variants of bourne shells. 2015-12-30 22:24:44 +00:00
christos 6833b0c7c2 Print symbolically why the process exited. 2015-12-30 22:23:38 +00:00
christos d182ef4fb3 Work around ksh bug 2015-12-30 22:23:02 +00:00
christos 2732a80b37 Add rnd ops. 2015-12-30 18:15:38 +00:00
christos 2c673a1b78 typo 2015-12-30 17:57:20 +00:00
wiz b02bef0817 Fix xrefs. 2015-12-30 16:51:31 +00:00
plunky ea8091c08e point to more information about clock_id 2015-12-30 16:47:24 +00:00
christos 13a9d5601a Add a mutex to prevent races during initialization code from multiple threads.
Found in named.
2015-12-30 16:42:48 +00:00
jdc aa22af27ce Restrict the check for fully specified interrupts to machines with psycho
controllers only, and adjust comments to note this.

See also the mail thread starting at:
  http://mail-index.NetBSD.org/port-sparc64/2015/12/03/msg002488.html
2015-12-30 09:16:17 +00:00
marty 9c676a63b6 XU4 i2c, gpio & pinctrl changes
modify exynos_gpio.c to support the new pinctrl model.
set up the new pinctrl model in exynos_pinctrl.c

Flesh out exynos_i2c.c and set it up to use the new pinctrl model.  NOTE:
exynos_i2c.c is still incomplete.  I need to figure out what to set the
prescaler and scaler to.
2015-12-30 04:30:27 +00:00
marty 737457c0d3 FDT pinctrl
Add a pinctrl bus to FDT.  This works against exynos, but someone(tm) needs
to think about whether it is general enough or too specific to exynos.
2015-12-30 04:23:39 +00:00
alnsn 40bda2ee5c Replace the nsaveds() function with #define NSAVEDS 3. No functional change.
Patch from Michael McConville.
2015-12-29 21:49:58 +00:00
christos 841722be1c Add printf/scanf man pages from FreeBSD 2015-12-29 17:55:23 +00:00
christos bdfbb33b02 Add printf_l/scanf_l man pages, sort 2015-12-29 17:54:43 +00:00
christos 420437aa3e Add sqrtl 2015-12-29 16:57:35 +00:00
christos 6e40dbef26 fix lint and debug sets 2015-12-29 16:55:39 +00:00
christos f9db75489b - add more informational messages
- handle case where last argument is an option not a device (set -l)
2015-12-29 16:45:04 +00:00
christos d075aff38a disable code that does not work for sun2/coldfire 2015-12-29 16:02:37 +00:00
christos ed74e51b8a Holiday food satiation. 2015-12-29 14:51:38 +00:00
pgoyette e04dc48269 Now that the table of auto-loadable syscalls is per-emulation, make sure
that the rump-kernel has its own list.  Otherwise, missing syscalls won't
trigger a module auto-load.

This commit finishes the work to get tests/lib/librumphijack/t_tcpip
nfs_autoload test case working again after 16 months of failures!  (see
PR bin/49153).
2015-12-29 10:22:05 +00:00
pgoyette 8125537222 Since we're expecting to autoload modules here, make sure that the
kernel (or rump-server) has autoload enabled.

This should finish fixing PR bin/49153

XXX The test still does not run successfully, due to another bug that
XXX was recently introduced.  This second bug is being worked on.
2015-12-29 07:17:19 +00:00
pgoyette f6b47a4477 Add missing $NetBSD$ tag, and copy License/Copyright from mountd.c
OK christos@
2015-12-29 04:30:43 +00:00
mrg 84411b5891 rewrite the redirection url generation code to use bozoasprintf(). 2015-12-29 04:30:33 +00:00
mrg c2e98309d5 - convert most asprintf() calls to bozoasprintf().
- don't call getpwuid(0) if we don't need to, or fail it it fails,
  and remove the 'username' member of bozohttpd_t since it is not
  used outside of bozo_setup().
2015-12-29 04:21:46 +00:00
christos eae3ba3928 fix inverted condition... 2015-12-29 01:58:26 +00:00
khorben 532807571a Correct the example for the port range syntax 2015-12-28 19:32:22 +00:00
ryo e92ba46909 fix typo. use pmask for SDHC_PRESENT_STATE. 2015-12-28 16:47:11 +00:00
martin f8bb018f00 Add missing eol-escape 2015-12-28 11:03:36 +00:00
mrg 881b8188de rename bozo_err/bozo_warn/bozo_asprintf to bozoerr/etc.
new rule is that function that mirror libc-style functions get no underscore.
2015-12-28 07:37:59 +00:00
christos 7275494c77 - Don't look for tests in the local directory, we might be running this from
somewhere else.
- Clear MAKEFLAGS so that make(1) behaves as it is supposed to.
2015-12-27 22:26:19 +00:00
christos b41dd0142f We don't need to declare clock_gettime if we don't have it and we don't need
to __RENAME if we are not NetBSD.
2015-12-27 21:42:09 +00:00
christos 585cc407b7 Override roundup. 2015-12-27 21:40:21 +00:00
christos da5e76ddef don't re-define __assert. 2015-12-27 21:39:34 +00:00
christos 81dbb529d3 add nbtool_config.h 2015-12-27 21:39:01 +00:00