Commit Graph

245933 Commits

Author SHA1 Message Date
kre
aaa2e0eafa Note upgrade of tzdata to 2016i 2016-11-03 09:57:18 +00:00
kre
6bcfafb89f Merge tzdata2016i 2016-11-03 09:53:13 +00:00
kre
6dd37d0381 Import tzdata2016i from ftp://ftp.iana.org/tz/releases/tzdata2016i.tar.gz
Summary of changes in tzdata2016i (2016-11-01 23:19:52 -0700):

  Cyprus split into two time zones on 2016-10-30 (new zone is
  Asia/Famagusta and is UTC+3 year round).  Tonga reintroduces
  summer time on 2016-11-06 (assumed for now to be aligned with Fiji).
  This year's summer time switch (from +08 to +11) for Antarctica/Casey
  occurred 2016-10-22.

  Also (minor) adjustments to some historic data for Italy (most
  recent applies to time of day of switch out of summer time in period
  1967-1970 & 1972-1974, other changes relate to 1910's and 1940's.)
2016-11-03 09:52:33 +00:00
kamil
0c55761e36 Add new test traceme3 in t_ptrace
This test is modeled after traceme1 and traceme2 with the goal to test if
the child was terminated with a received signal passed with PT_CONTINUE.

Currently the three traceme tests verifies three possible status values from
waitpid(2) called by the parent:
 - WIFEXITED(status),
 - WIFSIGNALED(status),
 - WIFSTOPPED(status)
with associated macros:
 - WEXITSTATUS(status),
 - WTERMSIG(status),
 - WCOREDUMP(status),
 - WSTOPSIG(status).

In traceme3 has been assumed that Ctrl-C (SIGINT) does not emit core(5).

Sponsored by <The NetBSD Foundation>.
2016-11-03 08:48:53 +00:00
pgoyette
2cc02dd108 Really comment out if_43.c this time. (I need sleep and/or caffeine.) 2016-11-03 06:54:08 +00:00
pgoyette
67c9692b56 Use proper characgter to introduce comments! 2016-11-03 06:28:04 +00:00
pgoyette
f54cbfd20b if_43.o gets included from libcompat automatically, due to two calls
to compat_cvtcmd() in if.c.  Ideally, if.c would be modified to have
a pointer to a no-op compat_cvtcmd() and that pointer would get
replaced by compat_modcmd(MODULE_CMD_INIT, ...) code.  But for now,
just don't include it in the compat module at all.
2016-11-03 06:22:29 +00:00
riastradh
2903f566e2 Reorganize SRCS lists for libcompat, compat.kmod, sysv_ipc.kmod.
- Share lists between the libcompat and module makefiles.
- Include some omitted entries in compat.kmod:
  . if_43.c
  . kern_sa_60.c
  . kern_time_30.c
  . rndpseudo_50.c
  . rtsock_14.c
  . rtsock_50.c
  . rtsock_70.c
  . uipc_syscalls_40.c
  . uipc_syscalls_50.c
- Exclude a (harmless) spurious entry in sysv_ipc.kmod on LP64 systems:
  . kern_ipc_10.c

Should fix broken ifconfig on modular current kernels.

ok pgoyette
2016-11-03 04:26:58 +00:00
pgoyette
18cd37a864 Remove ptrace_do{,fp}regs - they are a duplicate of process_* routines
which are still in sys_ptrace_common.c.
2016-11-03 03:57:05 +00:00
pgoyette
15de9b6038 Module procfs needs ptrace_common for process_do{,fp}regs 2016-11-03 03:53:32 +00:00
riastradh
00d7b5f1e4 Sprinkle #ifdef _KERNEL_OPT. 2016-11-03 03:37:06 +00:00
christos
f47de02583 More detailed error messages for text relocations on ppc code. Tested by joerg@ 2016-11-03 01:22:59 +00:00
riastradh
ce8d993853 Avoid zero-size uao.
Apparently some GEM/TTM objects can be zero-size, as discovered by
Stefan Hertenberger:
https://mail-index.netbsd.org/current-users/2016/08/02/msg029891.html
2016-11-03 00:10:49 +00:00
kamil
830850eb4c Add new test-case "traceme2" in t_ptrace
This test is a clone of traceme2 with ptrace(2) calling PT_CONTINUE
with signal to be passed to the child: SIGINT. traceme1 sends no signals.

Sponsored by <The NetBSD Foundation>.
2016-11-02 22:18:04 +00:00
flxd
196134d5e3 Note tcu(4). 2016-11-02 17:19:53 +00:00
joerg
1d7b126130 Logical negation binds stronger than bitwise and, which doesn't seem to
be intended here.
2016-11-02 13:15:53 +00:00
kamil
46910e0e26 Add new test t_ptrace with traceme1
This test is a placeholder for further checks of the native ptrace(2)
function calls.

XXX: Is it safe to call ATF functions from a child? FreeBSD seems to
     construct dedicated asserts for them.

XXX: printf(3) calls from a child are not intercepted by atf-run(1)

Sponsored by <The NetBSD Foundation>.
2016-11-02 12:51:22 +00:00
ryo
cc1c85bff6 fix column alignment of "intrctl list [-c]" 2016-11-02 11:03:33 +00:00
msaitoh
927c094fa1 - Fix workaround which did dummy read BM_WUC register. This code was changed to
drop BM_WUC_HOST_WU_BIT of BM_PROT_GEN_CFG register in FreeBSD r228386. The
  code was added rev. 1.149, but the location was not the best.
  Now I219 doesn't hang quickly after "ifconfig up".
- wm_gmii_hv_{read/write}reg*(): USE PHY address 1 for some special registers.
- Add check code for an 82578 workaround. Not completed yet(check only).
- wm_release_hw_control(): Remove extra line. No any effect.
2016-11-02 10:14:04 +00:00
msaitoh
31ec994666 Set mii_mpd_{oui,model,rev}. 2016-11-02 10:11:32 +00:00
msaitoh
8fd2b67f97 Set mii_mpd_{oui,model,rev}. 2016-11-02 07:01:54 +00:00
ozaki-r
ede76fae4b Add missing pserialize_read_exit 2016-11-02 03:43:27 +00:00
pgoyette
bf821edee1 Typo - "a requests" --> "a request" 2016-11-02 03:21:38 +00:00
jnemeth
26440e41e3 Correct misplaced break; from FreeBSD.
Approved By: christos
2016-11-02 03:15:07 +00:00
pgoyette
dab9e94e16 Missed these, too, during the regen. No functional changes, just
committing to keep the "generated from" comments in sync.
2016-11-02 03:14:19 +00:00
pgoyette
d9c2f2d6ab Belatedly bump the kernel version for recent modularization changes for
ptrace(2).
2016-11-02 03:06:19 +00:00
christos
5651a1bdca update bind 2016-11-02 00:40:27 +00:00
pgoyette
d2c5fd3368 Protect against buffer overflow. 2016-11-02 00:39:56 +00:00
pgoyette
d365923e93 Forgot these two generated files... 2016-11-02 00:32:59 +00:00
pgoyette
032607b8f0 Regenerate files for modularization of ptrace(2) 2016-11-02 00:14:11 +00:00
pgoyette
a396e9b233 Update sets lists for new ptrace{,_common} modules 2016-11-02 00:12:41 +00:00
pgoyette
a60b99094c * Split sys/kern/sys_process.c into three parts:
1 - ptrace(2) syscall for native emulation
        2 - common ptrace(2) syscall code (shared with compat_netbsd32)
        3 - support routines that are shared with PROCFS and/or KTRACE

* Add module glue for #1 and #2.  Both modules will be built-in to the
  kernel if "options PTRACE" is included in the config file (this is
  the default, defined in sys/conf/std).

* Mark the ptrace(2) syscall as modular in syscalls.master (generated
  files will be committed shortly).

* Conditionalize all remaining portions of PTRACE code on a new kernel
  option PTRACE_HOOKS.

XXX Instead of PROCFS depending on 'options PTRACE', we should probably
    just add a procfs attribute to the sys/kern/sys_process.c file's
    entry in files.kern, and add PROCFS to the "#if defineds" for
    process_domem().  It's really confusing to have two different ways
    of requiring this file.
2016-11-02 00:11:59 +00:00
pgoyette
1adbabf156 Update dependencies for COMPAT_LINUX32 to include COMPAT_NETBSD32
Without this, an attempt to build a kernel with COMPAT_LINUX32 but without
COMPAT_NETBSD32 will fail during the execution of genassym, and the error
messages are not very helpful.

With this change, config(1) will automatically (and silently) select/add
COMPAT_NETBSD32 to the configuration.  It might be better if config(1)
were to issue an appropriate diagnostic, but that is a change for some
future day.
2016-11-01 22:54:33 +00:00
christos
a53893bf63 rebuild if the version file changes, so binaries report the right version. 2016-11-01 21:56:11 +00:00
christos
dfa9f336ab merge conflicts 2016-11-01 21:55:51 +00:00
christos
c4bb1d45a2 bind-9.10.4-P4
4489.  [security]      It was possible to trigger assertions when processing
                       a response. (CVE-2016-8864) [RT #43465]
2016-11-01 20:45:40 +00:00
christos
1b213f3d03 fix libiberty_g.a 2016-11-01 19:21:17 +00:00
jdolecek
7d01329449 note wapbl truncate fix 2016-11-01 18:57:56 +00:00
jdolecek
8ed63d94b4 remove dup line 2016-11-01 16:15:51 +00:00
christos
3d63ec494e need an = 2016-11-01 15:58:41 +00:00
wiz
f899b3dcea Bump date for previous. 2016-11-01 15:30:47 +00:00
jdolecek
3a357b71a7 reduce admin queue size to save memory; it's only ever used during
attach/detach and for nvmectl(8), so there is actually no point having it big
2016-11-01 14:46:31 +00:00
skrll
0d033f4194 Obsolete gcc files 2016-11-01 14:45:25 +00:00
jdolecek
a2a95605bd pass maxphys from device rather then assuming MAXPHYS; it's clipped in ld(4)
if bigger then MAXPHYS

multiply the queue size by number of queues for ld(4) sc_maxqueuecnt, so
that ld_diskstart() would try to use full capacity, instead of throttling
to one queue worth of commands
2016-11-01 14:39:38 +00:00
jdolecek
b5e5261cdf tighter queue control - according to spec actual cap on number of commands
in flight is actually one less then queue size, head == tail means empty
queue
2016-11-01 14:24:35 +00:00
skrll
00c98aaf30 enable xorg-server 1.18 for evbarm 2016-11-01 14:21:30 +00:00
christos
84f3f387af bump binutils libraries 2016-11-01 14:04:48 +00:00
christos
24c043b8d9 bump both (belatedly) 2016-11-01 14:02:15 +00:00
christos
ed77187f53 Add NODEBUGLIB, perhaps LIBISPRIVATE is better here? 2016-11-01 14:02:01 +00:00
christos
3dbb75efa9 add NODEBUGLIB 2016-11-01 14:01:25 +00:00