Commit Graph

9494 Commits

Author SHA1 Message Date
tnozaki
64a7d4fa9a 1. hide _CTYPE_PRIVATE section in ctype.h, move them to private header ctype_local.h.
2. do not use _CTYPE_NUM_CHARS macro to read data from LC_CTYPE(old BSDCTYPE style) database.
   because 1<<CHAR_BIT is MD, so i added MI macro _CTYPE_CACHE_SIZE(1<<8).
3. remove _NB_CACHED_RUNE macro, use _CTYPE_CACHE_SIZE instead.
2010-05-22 06:38:15 +00:00
christos
798c8ea20e PR/19069: SUENAGA Hiroki: Original fix was defective because on big endian
the expression is not truncated to 16 bits, thus sending to port 65536 makes
the == 0 test fail and the packet ends up being sent.
2010-05-13 18:19:18 +00:00
tnozaki
50eb6aadde cast isblank(3)'s argument to unsigned char. 2010-05-13 17:52:11 +00:00
wiz
6f43bcda13 Remove trailing whitespace and dot in Nd. 2010-05-09 14:02:10 +00:00
degroote
c4b8685918 Add missing license 2010-05-09 12:45:19 +00:00
wiz
95b209a8cf Sort options, standardize SYNOPSIS, slight rewordings. Use more markup. 2010-05-08 11:29:40 +00:00
degroote
ca38e323d1 Add support for pfs(8)
pfs(8) is a tool similar to ipfs(8) but for pf(4). It allows the admin to
dump internal configuration of pf, and restore at a latter point, after a
maintenance reboot for example, in a transparent way for user.

This work has been done mostly during my GSoC 2009

No objections on tech-net@
2010-05-07 17:41:57 +00:00
christos
8d5d5ded4d unhook old cron, hook new one. 2010-05-07 17:35:31 +00:00
wiz
e35956774d Sort option descriptions. 2010-05-05 22:11:19 +00:00
wiz
430d51d315 Accept -v in getopt(); sort flag cases. 2010-05-05 22:10:50 +00:00
joerg
aa73978631 Add verbose flag -v and make -q the default behavior. 2010-05-05 13:19:51 +00:00
pooka
cf3a71d4a7 Add rump_au-naturel, which instead of mounting a file system inside
the rump kernel just attaches to / in said rump kernel instance.
This is mostly useful in case wanting to see what nodes components
create (see Makefile).

not built without manual intervention
2010-04-29 22:42:48 +00:00
plunky
366a13e705 additionally query the "PnP Information" service record to discover
any USB Forum vendor-id and product-id values and store them in the
property list if found.
2010-04-28 06:18:07 +00:00
joerg
b9cf7d31ab Add the constant database reader (cdbr(3)) and writer ((cdbw(3)).
They implement a space efficent write-once database with fast access
path. Switch the services(5) database to use cdb. The size of the
database file decreases from 2.1MB disk space to 307KB. Access
performance is about the same if setservent(0) is used and about an
order of magnitude faster otherwise. services_mkdb defaults to the new
format, but can optionally create the old db(3) format as well for
statically linked legacy applications.
2010-04-25 00:54:44 +00:00
jruoho
73bd86de75 Define _PATH_POWER and use it. 2010-04-24 20:44:33 +00:00
dyoung
ca088e5210 Do not try in postinstall(8) to replicate the code in etc/mtree/Makefile
that assembles /etc/mtree/NetBSD.dist.  Instead, use the Makefile's
new target, emit_dist_file, to assemble the correct NetBSD.dist.

Previously, 'postinstall -m amd64 -s $SRC_TOP' would install a
NetBSD.dist that was missing /usr/lib/i386/ et cetera.
2010-04-23 19:21:08 +00:00
plunky
edefcdeffb no [longer?] need to define _KERNEL when including <net/route.h> 2010-04-23 15:30:30 +00:00
christos
e1c0dee238 workaround for MKPIE=yes until binutils-2.20.1 is imported. From Piotr Meyer 2010-04-23 02:10:01 +00:00
wiz
c43843983b Remove trailing whitespace, replace "Ar -i" with "Fl i". 2010-04-16 13:56:45 +00:00
jmcneill
2ad2163edc add examples for setting ipv6 default routes in ip-up/ip-down scripts 2010-04-16 13:47:50 +00:00
wiz
d692f84d06 Sort options in SYNOPSIS (flags without arguments first). 2010-04-11 21:34:18 +00:00
pooka
04c1597880 Add raw mode, which skips ASCII'ification and can be used if reading
structures from the kernel into debug program memory is desired.
2010-04-11 15:08:17 +00:00
pooka
c8360f5cc9 Instead of totally giving up, dump CTLTYPE_STRUCT as hex, much
like sysctl -x (but not fancy like -dosequis).
2010-04-11 08:30:17 +00:00
jruoho
5e7a0d0a3b A general update. Remove (hopefully the last) references to sendmail(8), etc. 2010-04-10 08:29:53 +00:00
joerg
4f69f7fc94 No trailing whitespace 2010-04-05 19:36:29 +00:00
pooka
326638b53f In case we create a file, reclaim the vnode, and lookup the file
without the directory timeout expiring, we get vattr_null as the
attributes for that file.  Ensure that we always report sane
attributes by getting them from the server if this is the case.
(also, sprinkle some const)

Fixes problem reported by dyoung.   But wait!  The bug's medallion
begins to glow!  The bug looks much better!  I crumble to dust.

There's probably another similar bug related to "lazy open".  It
will trigger if we reclaim a node before the response to the open
arrives.  Even the comments (typoless) know about this bug ...
But verifying it exists and fixing it will have to wait for another
day.
2010-04-01 02:34:09 +00:00
pooka
f53fd22c3c fix typo (at least it was in an error string instead of a comment) 2010-03-31 14:54:07 +00:00
pooka
be33b37b2e regen 2010-03-31 14:49:46 +00:00
pooka
5e15c7d5fc MAP_COPY is available only in _KERNEL .... uh, so don't use it here. 2010-03-31 14:49:02 +00:00
pooka
5fb5ff121c Add note saying that the manual page is autogenerated and all parts
may not apply to this particular server.

TODO: have three different texts, one for device backed file systems
(e.g. ffs), another for network backed (e.g. nfs), and a third for
fictional (e.g. kernfs)
2010-03-31 14:45:59 +00:00
pooka
e83b6a1151 generate 2010-03-31 14:33:37 +00:00
pooka
bde226973a Add kernfs server.
Don't build & install it by default, since it represents the state
of the rump virtual kernel and not the host kernel.  However, it's
useful for debugging kernfs.
2010-03-31 14:22:27 +00:00
cegger
0cffce294c make this build again after ieee1394 update 2010-03-29 10:49:34 +00:00
dholland
d4ca0466e8 Avoid SIGSEGV in forked child process for (some?) instant-disconnect clients. 2010-03-25 16:36:00 +00:00
jruoho
260563ef8c Note also here that this is a legacy daemon that is more or less deprecated. 2010-03-20 09:22:37 +00:00
jruoho
7e4def2e7d Add a note that APM was deprecated by the PC manufacturers in about 1996.
Mention the APM emulation layer of ACPI. In addition, some small fixes.
2010-03-20 07:59:44 +00:00
cnst
deaf16ef51 Remove aiboost(4) as obsolete and redundant since the introduction of aibs(4).
http://mail-index.netbsd.org/tech-kern/2010/03/06/msg007458.html

Reviewed by <pgoyette>, <cegger>, <jruoho>, <tech-kern>.
2010-03-19 04:04:27 +00:00
wiz
35d2900127 Quote question mark so it's correctly marked up.
Problem reported by Ryo HAYASAKA in PR 42963.
2010-03-12 09:36:15 +00:00
christos
0fa7bdbba6 PR/42943: Takashi Sogabe: pppd generates invalid netmask 2010-03-10 13:45:39 +00:00
wiz
8c68fa47ec Sort sections. Try to improve description of -t. 2010-03-09 10:54:01 +00:00
kiyohara
cecd9b8efc Remove white-spaces. 2010-03-09 02:01:51 +00:00
plunky
c683e41b5d use %zd for ssize_t argument 2010-03-08 21:48:42 +00:00
plunky
7937d424ef fix compilation errors 2010-03-08 21:19:29 +00:00
kiyohara
3e3acb56cf Add -t, -F, -P. 2010-03-08 18:35:51 +00:00
kiyohara
4670060018 Add option 'test mode'(-t).
Can test your Bluetooth module via com-port.
  This mode guess speed for bcsp(4) or btuart(4), if not respond.
2010-03-08 17:59:52 +00:00
kiyohara
45be6911c0 Add options 'no parity'(-P) and 'disable flow control'(-F).
Also default enable parity for bcsp.
2010-03-08 17:41:11 +00:00
pooka
50cfd7e754 add commented out nqmfs 2010-03-08 12:48:31 +00:00
pooka
c11c0f21f8 Not Quite MFS
Instead of copulating with newfs to produce a new FFS image into
memory, mmap() a given existing image and pass that as the backing
store.  If -s is given, mmap is done with MAP_SHARED and changes
are kept across mounts, else MAP_COPY (i.e. MAP_PRIVATE for us) is
done and changes are lost when the server exits.

Note: -s does not guarantee any kind of file system safety whatsoever
and in case of kill, crash, exit or other form of elusion,
everything will be, according to our theme, quite screwed.
2010-03-08 12:46:33 +00:00
plunky
6f9cc4f169 add some LOG_DEBUG 2010-03-07 10:58:40 +00:00
pooka
ed49ad5f70 Give usage() a chance.
XXX: UKFS_DEVICE_ARGVPROBE() interface
2010-03-03 17:37:01 +00:00