Commit Graph

9708 Commits

Author SHA1 Message Date
martin
d3d55ddfdd Intialize dstname - the invariant combination with dstlen is too complex
for gcc to follow.
2014-08-15 13:20:29 +00:00
christos
3ad51082af merge tzcode2014f via patch 2014-08-15 11:04:07 +00:00
joerg
d213e5903a [] -> () 2014-08-13 15:41:21 +00:00
joerg
bd7693847a Spell LdAddr consistently 2014-08-13 15:19:22 +00:00
joerg
9074b7ff29 Use the lint path as workaround for Clang on 32bit PPC for now.
Document this hack.
2014-08-13 14:43:48 +00:00
joerg
edff4300ae powerpc64 uses the same sources as powerpc and needs the long double as
double-double sources.
2014-08-13 14:41:45 +00:00
matt
810b61bb1a MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU 2014-08-10 23:39:08 +00:00
joerg
76ef534724 If LINT code path uses memcpy, it should also include string.h. 2014-08-10 17:55:08 +00:00
joerg
604b984032 Add the not-yet-used IEEE quad support files. 2014-08-10 10:15:39 +00:00
matt
547b3a3b01 Changes to existing files to enable building AARCH64 userland.
evbarm64-el
This is clang only.  While gcc4.8 supports aarch64, no netbsd support has
been written for aarch64 with gcc4.8.
2014-08-10 05:56:36 +00:00
matt
beb9c6d1b5 Preliminary files for AARCH64 (64-bit ARM) support.
Enough for a distribution build.
2014-08-10 05:47:35 +00:00
apb
0b92f0fef9 Ue ${GZIP_N_FLAG} instead of -n when setting GZIPFLAGS or GZIP_FLAGS.
This will allow -nT instead of just -n to be passed to pigz.
2014-08-05 15:45:49 +00:00
riastradh
19aeab521f Rework minherit(2) man page into a table.
XXX Do we not guarantee page-granularity inheritance?  Cursory glance
at uvm suggests we do -- can we nix the caveats about regions vs
pages?
2014-08-05 15:01:03 +00:00
wiz
87561671c1 defintion -> definition 2014-08-03 19:14:24 +00:00
christos
be225fdda5 PR/49045: Tetsuya Isaki: remove remaining caddr_t in ptrace(2) 2014-07-28 08:10:23 +00:00
wiz
d882c3d502 Sort errors. Whitespace nits. 2014-07-25 08:47:42 +00:00
wiz
03f93851e3 Sort SEE ALSO. 2014-07-25 08:44:54 +00:00
dholland
d35912857e Bump libc minor version for new syscalls. 2014-07-25 08:31:06 +00:00
dholland
d0352e761c Add userlevel manifestations of posix_fallocate and fdiscard, in
unistd.h and libc, and add a man page.

Allow wiggle room in the man page for implementations of fallocate
that either (a) don't fully unwind on failure, leaving new blocks
allocated without changing the file size, or (b) create only in-memory
transient reservations that disappear when crashing or rebooting.

Also, add crossreference to fdiscard from ftruncate(2), and remove the
old BUGS entry from there that called for a generalized version that
allows discarding ranges of a file: that's what fdiscard is.
2014-07-25 08:30:47 +00:00
christos
6030f04a15 amend the new destroy function to take function pointers. 2014-07-20 20:17:21 +00:00
wiz
6ce80a189d Remove trailing whitespace. Sort SEE ALSO. Add comma in list. 2014-07-20 13:41:14 +00:00
christos
842ee049dd Our hdestroy implementation was non-conformant because it freed the key of
each entry. Add a new function hdestroy1 that allows the user to control
what gets freed. Pointed out by Pedro Giffuni at FreeBSD.
2014-07-20 13:34:17 +00:00
dholland
156ed6c7d3 fix usage 2014-07-19 19:26:47 +00:00
lneto
4ab4902eb2 lua: updated from 5.1 to 5.3 work3
* lua(1):
  - changed lua_Integer to intmax_t
  - updated distrib/sets/lists and etc/mtree
  - updated bsd.lua.mk
  - fixed bozohttpd (lua-bozo.c)
  - compatibilized bindings: gpio, sqlite
* lua(4):
  - removed floating-point and libc dependencies using '#ifndef _KERNEL'
  - fixed division by zero and exponentiation
  - libkern: added isalnum(), iscntrl(), isgraph(), isprint() and ispunct()
  - acpica: removed isprint() from acnetbsd.h
  - libc: moved strcspn.c, strpbrk.c and strspn.c to common
  - removed stub headers
  - compatibilized bindings: luapmf, luasystm
* reorganized luaconf.h
* updated doc/CHANGES and doc/RESPONSIBLE
2014-07-19 18:38:33 +00:00
wiz
0a3068e150 Use Nx. 2014-07-19 14:58:50 +00:00
roy
1ae594017c Document that our use of pthread_mutex_unlock(3) is async-signal-safe
and as such can be used in a phtread_atfork(3) child handler.
2014-07-19 14:53:22 +00:00
dholland
885875e18f Remove
Users should not depend on the memory sharing semantics of vfork() as
     other ways of speeding up the fork process may be developed in the
     future.

as we are not planning to deprecate vfork. Besides NetBSD's
compatibility policy means we wouldn't change it anyway but introduce
something new.

Add
     Portable applications should not depend on the memory sharing semantics
     of vfork() as implementations exist that implement vfork() as plain
     fork(2).

because this is or used to be a real hazard.

ok christos
2014-07-18 16:02:50 +00:00
dholland
b50dcf12b2 Clarify HISTORY and bump date. 2014-07-18 15:58:51 +00:00
dholland
bacb19df9d fix typo and minor usage issue 2014-07-18 15:56:44 +00:00
christos
fa7c13505e Document MAP_INHERIT_ZERO. 2014-07-18 12:39:17 +00:00
riastradh
f3a56da0a0 Hold arenas_mtx across (still unused) _malloc_pre/postfork (PR 47428). 2014-07-16 19:09:53 +00:00
christos
db6e70af12 basename_r and dirname_r are non-standard and different from what we define
here on FreeBSD. Their libgen.h exposes them unconditionally, so hide ours
for now.
2014-07-16 10:52:26 +00:00
pgoyette
4ba850aa8a Document the upper limit on size of props dictionary that was recently
imposed.
2014-07-15 18:24:44 +00:00
wiz
dade7144aa Clean up ERRORS (sort, merge). 2014-07-15 17:39:21 +00:00
christos
59925ff2ff Factor out the basename and dirname code into basename_r and dirname_r
which are static for now. Inspired by similar changes to android(bionic).
2014-07-14 20:44:45 +00:00
joerg
23958df553 Don't include atomic.c, we have aliases for it in src/common. 2014-07-14 07:55:26 +00:00
nakayama
63bc5e6959 Include sparc_v8 library into sparc64 32-bit compat libc library. 2014-07-12 19:21:48 +00:00
nakayama
847b247653 Use save instruction to set up a local stack frame.
This fixes a segmentation fault caused by bash 4.3 on sparc64
kernels with 32-bit userland, bash uses _setjmp/_longjmp heavyly
via sigsetjmp/siglongjmp since 4.3.

For 32-bit compat library which is compiled with -mcpu=ultrasparc
option (and define __sparc_v9__), use a similar code to 64-bit
library.
2014-07-12 19:11:57 +00:00
christos
4d3bc7269f mention sig == 0 2014-07-09 16:06:47 +00:00
christos
321c9aef65 don't depend on expandtc to open the database or not. 2014-06-26 20:14:32 +00:00
spz
dd745abb62 Fix our iconv version for the issues that apply to us from CVE-2014-3951
(which are the:
- Consistently pass around context information using a simple pointer.
  This fixes some dereferencing bugs in Chinese character set conversions.
- Fix Simplified Chinese character set conversions by switching around the
  fields of an internal struct so it corresponds with the way variables of
  this type are initialised.
part)
Patch taken from FreeBSD and mutilated to fit.
FreeBSD credits: Manuel Mausz (reporter), Tijl Coosemans (report handler)
2014-06-24 22:24:18 +00:00
riastradh
7fd5a93a52 Add `remove arc4random' to mythical libc major bump todo list. 2014-06-23 14:14:10 +00:00
shm
11ea949f80 PR/42032 fixed overrun in bm_exec(), free(3) clean ups 2014-06-23 10:43:25 +00:00
christos
f2d4db7cf6 use fparseln() instead of fgetln() for consistency (this was the last fgetln()
using parser in net/.
cVS: ----------------------------------------------------------------------
2014-06-19 15:09:07 +00:00
christos
08d13064c0 use fparseln() instead of abusing fgetln(), so that the last line that
might not have a terminating newline is processed.
2014-06-19 15:08:18 +00:00
christos
52e916d949 Fix incorrect example (what happens when len == 0?) 2014-06-19 14:27:50 +00:00
wiz
cdfd633d25 Add all functions to NAME section. End sentences with dots.
Bump date for previous.
2014-06-19 09:30:33 +00:00
msaitoh
5edf37f383 Fix "shadows a global declaration" compile error. 2014-06-19 05:31:15 +00:00
christos
1015249915 more man pages links 2014-06-18 17:50:55 +00:00
christos
017500be43 add mkostemp, mkostemps, mkstemps from FreeBSD. 2014-06-18 17:47:58 +00:00