Commit Graph

11173 Commits

Author SHA1 Message Date
christos
5863dc6ef1 Coverity CID 4159: Don't memset() needlessly. 2006-09-27 16:20:03 +00:00
plunky
0b73a6ec91 expose the bthcid API details so that external PIN clients do not
need the NetBSD source in order to compile
2006-09-26 19:18:19 +00:00
elad
5c38108d28 Change the PaX mprotect(2) restrictions' "global_protection" knob to
just "global" -- it's shorter and more readable. Update documentation.
2006-09-26 14:48:40 +00:00
lukem
fa373d4d88 Use NS_INT16SZ instead of INT16SZ 2006-09-26 05:59:18 +00:00
martin
77d6e4c5bd As suggested by Johan Veenhuizen in PR 32981, reword slightly to avoid
the impression return values would always be -1.
Approved by christos.
2006-09-25 08:55:33 +00:00
cherry
1ad9454efb Towards ia64 libc. Round #2 2006-09-23 17:39:34 +00:00
cherry
f264f80b8e Further ia64 libc compat bits 2006-09-23 17:38:03 +00:00
wiz
e5b6473963 Add article. Remove superfluous braces. 2006-09-23 15:29:09 +00:00
mishka
5c5e03838a lib/26532: Manual page for open(2) bit difficult to understand:
apply patch with small improvement - s/conditions/methods/
2006-09-23 14:17:16 +00:00
cherry
64f11261d1 ia64 libc MD stuff #1. Pushing in everything before my harddisk pops. 2006-09-22 17:59:47 +00:00
cherry
768b7d52a9 add ia64 libc MI bits. 2006-09-22 12:09:24 +00:00
thorpej
6cf1ffe998 Alter the protocol impemented by prop_kern to allow for bi-directional
plist-based messages and to eliminate looping previously required to
receive a plist from the kernel:

- prop_dictionary_copyin_ioctl() and prop_dictionary_copyout_ioctl()
  now take the cmd argument rather than the file open flag.  The
  read-ness or write-ness of an ioctl command is checked by these
  routines to ensure that information is being passed to/from the
  userland component properly.

- prop_dictionary_copyout_ioctl() now allocates the memory for the
  XML plist on behalf of the userland component by way of uvm_mmap().
  The XML plist is copied out to the newly-mapped anonymous region,
  and the pointer returned via the plistref.

- prop_dictionary_recv_ioctl() is responsible for munmap()'ing the
  region after parsing the XML plist into internal represenatation.

- A new prop_dictionary_sendrecv_ioctl() is added, allowing user space
  code to send a dictionary to the kernel and receive one back as a
  reply.


Update users of prop_kern for the API changes (Bluetooth).

This constitutes an ABI / protocol change -- but this will also be put
into NetBSD 4.0 so that the first proplib release will implement the new
scheme.
2006-09-22 04:20:23 +00:00
wiz
e95704c08f Note that newer gcc require -fno-reorder-blocks.
Various other improvements. Bump date.
Based on a patch by skrll.
2006-09-19 19:54:43 +00:00
tsutsui
6a8419e3ee Change type of `net' variable passed via va_list in
_{files,dns,yp}_getenetbyaddr() functions from unsigned long to uint32_t.
In rev 1.29, getnetbyaddr(3) was changed to take uint32_t `net' argument
and also passisng uint32_t `net' to nsdispatch(3) varargs, but
these callback functions were not changed accordingly.

Patch was provided by christos, and this fixes amd(8) coredumps on alpha
when /etc/nsswitch.conf has more than one sources for netgroups.
2006-09-18 17:15:39 +00:00
yamt
b1e75a8232 fix a typo pointed by efnbl06 at bn2.maus.net. 2006-09-16 08:29:08 +00:00
skrll
b0b0343b24 ANSIfy 2006-09-15 05:29:44 +00:00
cherry
3a0cfd5a72 add ia64 to the ugly IEEEFP hackaround 2006-09-15 00:01:24 +00:00
cherry
51b652e0e3 -DELFSIZE=64 for csu build 2006-09-14 23:55:54 +00:00
christos
fd58d46323 when re-opening the file only set SV_FIRST, don't clear accidentally SV_DB
because it leads to core-dumps.
2006-09-14 19:58:48 +00:00
dbj
b41feff50f fixes for installing into a case insensitive $DESTDIR
when files may have hard links to a a name that only differs by case
  - change install to unconditionally remove its temporary file
    when installing hard links with -r.  This avoids problems when
    built with posix rename(2) semantics and reinstalling an existing
    hard link.
  - rework hard link targets in bsd.man.mk and bsd.links.mk
    to use makefile constructs instead of shell constructs
  - always reinstall hard links that may have case conflicts, even
    when MKUPDATE=yes, this ensures that they get added to METALOG
  - remove man pages which were hard linked to themselves in libform
  - remove improper hard link command for existing man page in libkrb5
  - fix libl's makefile to include bsd.lib.mk at end
  - remove shell quoting in link target for test's [.1 man page
2006-09-11 22:24:09 +00:00
tnozaki
8316f5b826 correct typo in _DIAGASSERT() and some KNF.
pointed by uebayashi-san, thanks!
2006-09-11 13:06:33 +00:00
cherry
503611ba29 libc stubs added 2006-09-10 21:22:33 +00:00
manu
ba5b97f363 Fix ipsec-tools build after recent import 2006-09-09 17:52:01 +00:00
manu
bf904e9aa6 Migration of ipsec-tools to NetBSD cvs: the version is "cvs" now... 2006-09-09 16:23:13 +00:00
tnozaki
48d386f61a mapper_std iconv module and mkcsmapper(1) now can treat
plain-row-col charset and 4byte code(like GB18030) as SRC_ZONE.
2006-09-09 14:35:17 +00:00
skrll
296c01bb4f MD_DO_NOT_NEED_FALLTHRU for hppa 2006-09-08 19:18:26 +00:00
uebayasi
bd2328b737 Clarify POLLOUT and POLLWRNORM are equivalent. Bump date.
Reviewed By:	wiz
2006-09-08 09:43:51 +00:00
skrll
61b77d1855 MD_DO_NOT_NEED_FALLTHRU for ARM. 2006-09-08 07:29:19 +00:00
uebayasi
3ea2983121 Correct English; help with xtraeme. 2006-09-07 01:24:02 +00:00
wiz
9934420870 Only mark up one word, not the whole sentence. 2006-09-06 18:59:21 +00:00
liamjfoy
ecc29b2222 document net.inet.ip.maxflows. dump date. 2006-09-06 18:56:21 +00:00
rpaulo
2fb2ae3251 Import of TCP ECN algorithm for congestion control.
Both available for IPv4 and IPv6.
Basic implementation test results are available at
http://netbsd-soc.sourceforge.net/projects/ecn/testresults.html.

Work sponsored by the Google Summer of Code project 2006.
Special thanks to Kentaro Kurahone, Allen Briggs and Matt Thomas for their
help, comments and support during the project.
2006-09-05 00:29:35 +00:00
liamjfoy
36661dd3cb Update for carp(4). Bump date.
from openbsd
2006-09-04 23:16:22 +00:00
simonb
0f58c090bc Rename these functions to the __<name>14 names.
XXX: still need to be converted to use sigprocmask().
2006-09-04 01:08:11 +00:00
wiz
5b76ee5cd3 Mark up NULL; the character is nul, not null; sort SEE ALSO;
add RCS Id at top of file.
2006-09-02 23:49:02 +00:00
wiz
8d8d8f2ebd Slight wording improvement, sort SEE ALSO, remove trailing dot in SEE ALSO. 2006-09-02 23:43:47 +00:00
rpaulo
1399def216 Rename TEST/test.c to avoid problems when doing a cleandir on case-insensitive
file systems.
ok'ed christos.
2006-08-31 20:20:38 +00:00
christos
95db8cb009 .WAIT before libroken. 2006-08-30 17:23:36 +00:00
christos
ec0bdc9542 make this compilable as a tool. 2006-08-28 20:46:26 +00:00
christos
72c3baadfe Remove ad clause. Approved by board@ 2006-08-28 20:42:12 +00:00
plunky
81bd66d7f5 cause bt_devaddr() and bt_devname() to return error if the controller
being queried is not enabled, rather than returning a null address.
2006-08-28 08:24:39 +00:00
christos
044037dd26 - Added string was never added
- have t_goto put an error in the result.
2006-08-27 08:47:40 +00:00
christos
bd5f306da4 Show the error instead of just OOPS.
Don't return E2BIG for digit problems.
2006-08-27 08:28:38 +00:00
dsl
7fd4677bc0 fix xtos's pasto 2006-08-27 07:09:04 +00:00
christos
568f6f6f30 Only use __RCSID if we have it. 2006-08-26 23:17:43 +00:00
christos
d37c189a03 PR/34238: Aleksey Cheusov: man pages for wcsdup, wcscasecmp and wcsncasecmp
functions
2006-08-26 22:48:50 +00:00
christos
a248088000 Add copyright notices. 2006-08-26 22:45:52 +00:00
christos
8919424bdb No need to compile their own efun's. 2006-08-26 18:12:50 +00:00
christos
6e90deb9cb Efun source. 2006-08-26 18:11:45 +00:00
christos
e72710e561 Add efun(3) 2006-08-26 18:11:12 +00:00