Commit Graph

229210 Commits

Author SHA1 Message Date
matt
beb9c6d1b5 Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
manu
ac7134332d - Make sure non root users cannot access system namespace attributes
- honour namespace specification when listing attributes
- Also fix message memory leak introduced by previous commit
2014-08-10 03:22:33 +00:00
riz
abe84671d3 empty() wants a variable name, not a value. This should un-break
the arm an mips arch builds which were broken by the previous
commit.
2014-08-09 22:10:35 +00:00
manu
6a9d039fd1 getextattr: fix attribute length being reported to caller. If buffer
is too small, return ENORANGE.

Caught by glusterFS regression tests
2014-08-09 19:06:50 +00:00
joerg
82ff1017b0 Update and simplify build glue for libc++ r215289. 2014-08-09 19:06:49 +00:00
joerg
093030cde1 Import libc++ r215289. This brings a number of bug fixes as well as
further changes from the upcoming C++14 like string_view.
2014-08-09 19:03:43 +00:00
apb
d303f202fd rescue(8): Add /rescue/ekermit. [apb 20140809] 2014-08-09 18:44:07 +00:00
apb
c5a47a1b14 Add rescue/ekermit. 2014-08-09 18:32:34 +00:00
apb
42f4829fe7 Delete src/share/zoneinfo. The files that previously lived here
have moved to src/external/public-domain/tz/{dist,bin/zoneinfo}.
2014-08-09 15:22:40 +00:00
jmcneill
a2a477ee93 increase WPI_RBUF_COUNT 2014-08-09 15:07:06 +00:00
jmcneill
06726bf7a3 IPL_VM -> IPL_SCHED to avoid taking kernel lock 2014-08-09 13:34:10 +00:00
jmcneill
cb692512cb remove unused mutex and cv 2014-08-09 13:33:43 +00:00
jmcneill
95758279dd no need to call drm_fb_helper_set_config after genfb attaches, as the setmode callback is called by genfb_attach 2014-08-09 12:46:07 +00:00
bad
2a950d2831 Treat an undefined option as a warning instead of an error when undoing an
option.

Allows one to win with declarations like:
no options 	MSGBUFSIZE
options 	MSGBUFSIZE="128*1024"

Briefly discussed with cube@, lukem@ and martin@.
2014-08-09 12:40:14 +00:00
bad
f9f5065b39 Build ubsec(4) as a module on all arches where it was obivous how to do so.
That excludes powerpc because evppc OEA is missing definitions for
PPC_INTR_IMPL and PPC_PCI_MACHDEP_IMPL.
Adjust set lists.

Compile tested for most arches only.
2014-08-09 12:34:05 +00:00
apb
e52d064647 Mark gkermit files "obsolete", don't remove then from the set lists. 2014-08-09 11:33:53 +00:00
wiz
3975de5b9d Bump date for previous. New sentence, new line. Use more markup.
Remove superfluous Pp in list.
2014-08-09 10:41:05 +00:00
mlelstv
2d1e5095e8 add -S option to adjust the superblock for different sector sizes. While
the kernel ignores this information, userland tools rely on it.

This is needed when moving images between devices of different sector size.
2014-08-09 10:33:46 +00:00
ozaki-r
c07b99a1a9 Count packets in if_virt 2014-08-09 09:47:02 +00:00
ozaki-r
ab5a36e82a Count packets in if_shmem
ok @pooka
2014-08-09 09:43:49 +00:00
gson
20b11a7262 Remove the code to allow CTLTYPE_INT and CTLTYPE_QUAD to be read and
written as either 4 or 8 byte values regardless of the type, in
accordance with "Core statement on sysctl 32-bit/64-bit changes",
http://mail-index.netbsd.org/tech-kern/2014/03/26/msg016779.html.
2014-08-09 07:05:42 +00:00
gson
643acb6d0e Test that reading a CTLTYPE_INT sysctl variable into a buffer that is
too small returns ENOMEM, and that reading it into a buffer that is
large enough returns the expected sizeof(int) bytes of data.
2014-08-09 07:04:03 +00:00
rtr
8cf67cc6d5 split PRU_CONNECT2 & PRU_PURGEIF function out of pr_generic() usrreq
switches and put into separate functions

  - always KASSERT(solocked(so)) even if not implemented
    (for PRU_CONNECT2 only)

  - replace calls to pr_generic() with req = PRU_CONNECT2 with calls to
    pr_connect2()

  - replace calls to pr_generic() with req = PRU_PURGEIF with calls to
    pr_purgeif()

put common code from unp_connect2() (used by unp_connect() into
unp_connect1() and call out to it when needed

patch only briefly reviewed by rmind@
2014-08-09 05:33:00 +00:00
manu
4bef47b350 Send GETATTR to filesystem for removed but still-open files, as
it is the expected behavior (bug caught by glusterFS regression tests)
2014-08-09 03:17:11 +00:00
riastradh
e5c9e28826 Multiply by PAGE_SIZE, not PAGE_SHIFT! 2014-08-09 00:18:58 +00:00
joerg
a1757c5af0 Too many pointer sign issues right now to care, so make it non-fatal for
clang.
2014-08-08 23:56:57 +00:00
joerg
29e96a293c Don't dereference pointers without looking at the result. 2014-08-08 23:43:10 +00:00
joerg
ae42c65078 Make main() ISO C compliant. 2014-08-08 23:41:53 +00:00
apb
ff42712e08 Fix name in .Dt, and fix a typo. 2014-08-08 21:57:31 +00:00
wiz
3bc24b0a8b Add option list to SYNOPSIS. Sort option descriptions. Use Nm when
speaking of itself.
2014-08-08 21:46:36 +00:00
apb
daf5582ab4 Install man page for ekermit(1). 2014-08-08 21:41:46 +00:00
apb
1fd098d89f Add a simple man page for ekermit(1).
This is derived from the help output
and the web page http://www.kermitproject.org/ek.html
2014-08-08 21:38:45 +00:00
joerg
d617742404 Use __unreachable(). 2014-08-08 21:18:10 +00:00
joerg
20f5003f1e Fix misspelling of binary and as logical and. 2014-08-08 21:13:52 +00:00
joerg
91921defe8 Avoid non-UTF8 input. 2014-08-08 21:13:05 +00:00
riz
ede85da57f Clean up comments. No functional changes. 2014-08-08 20:59:35 +00:00
riz
6a3b8676d9 Most GPT fields are 64-bit quantities, so use 64-bit types to store.
Don't try to assign negative values to unsigned quantities.
Use strtouq(), not atoi(), to read 64-bit values.

Booting from an installed GPT-labelled disk still doesn't work,
but at least sysinst doesn't crash as soon as a GPT is created.
2014-08-08 20:24:27 +00:00
apb
d518b4f1d5 gkermit has been replaced by ekermit. 2014-08-08 20:20:42 +00:00
apb
84f75f96e7 Add ekermit.debug. 2014-08-08 19:54:14 +00:00
apb
ede978fd0a gkermit has been replaced by ekermit. 2014-08-08 19:50:45 +00:00
joerg
4513714096 Mark _rtt as dead 2014-08-08 19:45:48 +00:00
apb
6dd38064f5 Delete gnu/dist/gkermit, and the reachover Makefile in gnu/usr.bin/gkermit.
It is being replaced by the BSD-licenced ekermit, as proposed
on tech-userlevel on 7 Aug 2014.
2014-08-08 19:45:06 +00:00
joerg
0c788622cb Add __unreachable(), which can be used to mark dead branches when the
compiler can't tell side effects.
2014-08-08 19:43:49 +00:00
apb
3b7feb0ead Unhook gkermit from the build.
It is being replaced by the BSD-licenced ekermit, as proposed
on tech-userlevel on 7 Aug 2014.
2014-08-08 19:38:47 +00:00
apb
97d8576cce Add ekermit to the build.
It will replace gkermit, as proposed in tech-userlevel on 7 Aug 2014.
2014-08-08 19:34:35 +00:00
apb
de7534c9a7 Add reachover build infrastructure for ekermit. 2014-08-08 19:30:35 +00:00
apb
755f450934 Make ekermit compile on NetBSD:
* Add several #includes of standard headers in platform.h.
* #undef X_OK in platform.h.  It's defined in the standard <access.h>,
  but also used in the local "kermit.h" for a differentpurpose.
* Declare {struct k_data}.dbf as a function returning void, not int,
  to match the way it's used.
2014-08-08 19:29:34 +00:00
gson
4cfcf01b16 Fix comment: Error, Fatal, and Punt take any number of arguments, not two. 2014-08-08 19:20:39 +00:00
apb
a704a1616e Import ekermit-1.7 from
http://www.kermitproject.org/ftp/kermit/archives/ek17.tar

EK (Embedded Kermit, E-Kermit) is an implementation of the Kermit file
transfer protocol written in ANSI C and designed for embedding in
devices or firmware, use in realtime applications, or for construction
of DLLs and libraries.  A sample calling environment and i/o support are
provided for Unix.
2014-08-08 19:20:38 +00:00
gson
f3b28c737c Whitespace fix 2014-08-08 19:14:45 +00:00