Commit Graph

1723 Commits

Author SHA1 Message Date
ad 851c98e8ed +splsoftbio(9) 2007-12-05 04:53:19 +00:00
pooka fe819e7531 puffs_req man is dead 2007-12-04 21:26:27 +00:00
bouyer 382d13b49a Install the linker scripts on amd64, which allows to link x86 32bit objects
using the native ld(1). This helps building pkgsrc/sysutils/xentools3-hvm
on amd64; is also allows to build the x86 boot blocks with the
native toolchain.
2007-12-02 18:10:20 +00:00
elad 6887492c26 Make securelevel a "secmodel" of its own.
While it's true that it's part of the traditional 4.4BSD security model,
there may come a time where a different "primary" security model used for
fine-grained privileges (ie., splitting root's responsibilities to various
privileges that can be assigned) may want to still have a securelevel
setting.

Idea from Daniel Carosone:

  http://mail-index.netbsd.org/tech-security/2006/08/25/0001.html

The location of the removed files, for reference, was:

  src/secmodel/bsd44/secmodel_bsd44_securelevel.c
  src/secmodel/bsd44/securelevel.h
2007-11-21 22:49:05 +00:00
pooka b21e075586 Short description of putter(9) 2007-11-21 18:40:58 +00:00
pooka b7737261b0 pud (userspace char/block drivers) build goo 2007-11-20 18:54:31 +00:00
ad 95182011ed Enable posix_memalign(). 2007-11-19 14:48:41 +00:00
yamt 563b4c7f95 add newfs_ext2fs.debug 2007-11-18 22:45:02 +00:00
jmmv 0908676b55 Add the debug versions of all atf tools. 2007-11-14 21:51:16 +00:00
ad d3cd7e49e7 Remove pccons. 2007-11-14 17:58:50 +00:00
he 0f71cb6df3 Mark libatf_p.a with profile. Fixes sun2 build. 2007-11-13 22:46:01 +00:00
ad b668a9a05f Add _lwp_ctl() system call: provides a bidirectional, per-LWP communication
area between processes and the kernel.
2007-11-12 23:11:58 +00:00
pooka 9ac65ee1fe * split the putter header into a kernel version and a userland version
+ install latter to /usr/include/dev/putter
* remove last dependencies to puffs from putter, it's completely
  independent now
2007-11-12 16:39:32 +00:00
jmmv dd2f8250cc Add the bsd.test.mk file
This file simplifies the build of test programs, either written in C++
or in sh.  It hides the internals of atf, e.g. by silently linking
against -latf or calling atf-compile.

It also takes care of installing an Atffile for each new test directory.
2007-11-12 15:05:15 +00:00
jmmv 9d5a9c0d86 Add the atf tools
This adds reachover Makefiles to build and install the atf tools.
Some are public, thus installed in /usr/bin, and others are internal
and therefore installed in /usr/libexec.
2007-11-12 15:00:00 +00:00
jmmv 096ebe7672 Add the libatf library
This adds reachover Makefiles to build the libatf library and enables it in
the parent Makefile.

Things to review in this change:

* Add proper version numbers in the shlib_version files.

* Is libatf properly listed in lib/Makefile?  It theoretically needs
  libstdc++, but the resulting binary library is not linked against it.
2007-11-12 14:56:24 +00:00
yamt 110566cad5 install kmem.h for pstat. 2007-11-10 07:41:51 +00:00
plunky e5a7441d16 Add a new utility 'btkey' for managment of Bluetooth Link Keys stored
in the NetBSD key cache (/var/db/bthcid.keys) and Bluetooth controller
memory.
2007-11-09 21:18:22 +00:00
ad 1569e06e16 Install callback.h for kmem grovellers. 2007-11-06 23:39:25 +00:00
tls b21c402a7b Remove MKPRIVATELIB from BIND libraries; move library reachover
directories and Makefiles from src/usr.sbin/bind to src/lib; make
BIND libraries build shared.  Saves about 1MB-1.5MB per installed
executable, about 5MB for a base+etc minimal installation of NetBSD.
2007-11-04 23:28:16 +00:00
christos a2dd15b5a4 add bitops.h 2007-11-02 21:26:55 +00:00
minskim fdb3f2ed81 The man page for rcs2log(1) is not installed when MKCVS=no. 2007-10-20 15:47:27 +00:00
njoly a4213fb81e Add httpd.debug 2007-10-19 13:11:23 +00:00
yamt 21ac91dd00 sync with kernel after the merge of yamt-x86pmap branch. 2007-10-18 15:30:43 +00:00
garbled 81d85de62e Part 1 of pmppc removal as a port. (the machine is still supported, but
now under the evbppc port)
Note, have not touched the set lists yet, as I would like to preserve the
manpages.
2007-10-17 22:59:26 +00:00
pooka 430c2395ef - uvn_attach.9
+ ubc_uiomove.9
2007-10-15 14:00:49 +00:00
hannken 3856acafe2 Update the file system copy-on-write handler.
- Instead of hooking the handler on the specdev of a mounted file system
  hook directly on the `struct mount'.

- Rename from `vn_cow_*' to `fscow_*' and move to `kern/vfs_trans.c'.  Use
  `mount_*specific' instead of clobbering `struct mount' or `struct specinfo'.

- Replace the hand-made reader/writer lock with a krwlock.

- Keep `vn_cow_*' functions and mark as obsolete.

- Welcome to NetBSD 4.99.32 - `struct specinfo' changed size.

Reviewed by: Jason Thorpe <thorpej@netbsd.org>
2007-10-07 13:38:53 +00:00
dyoung 60149b1ce8 Work in progress: use a raw socket for GRE in IP encapsulation
instead of adding/subtracting our own IPv4 header.

There are many benefits:  gre(4) needn't grok the outer encapsulation
header any longer, so this simplifies the gre(4) code.  The IP
stack needn't grok GRE, so it is simplified, too.  gre(4) will
benefit from optimizations in the socket code.  Eventually, gre(4)
will gain an IPv6 encapsulation with very few new lines of code.

There is a small performance loss.  A 133 MHz, 486-class AMD Elan
sinks/sources a TCP stream over GRE with about 93% the throughput
of the old code.  TCP throughput on a 266 MHz, 586-class AMD Geode
is about 96% the throughput of the old code.  A 175-MHz ADM5120
(MIPS) only sinks a TCP stream over GRE at about 90% of the old
code; I am still investigating that.

I produced stripped-down versions of sosend() and soreceive() for
gre(4) to use.  They are guaranteed not to block, so they can be
called from a software interrupt and from a socket upcall,
respectively.

A kernel thread is no longer necessary for socket transmit/receive,
but I didn't get around to removing it, yet.

Thanks to Matt Thomas for suggesting the use of stripped-down socket
code and software interrupts, and to Andrew Doran for advice and
answers concerning software interrupts, threads, and performance.
2007-10-05 03:28:12 +00:00
kiyohara 83276945d6 Add bcsp.h 2007-09-30 13:10:52 +00:00
lukem e9aa053c09 Add raise_default_signal(3) -- raise the default signal handler.
Can be used by applications that have their own SIGINT (et al)
handlers and want to exit in a manner that correctly
signals to the parent that the process was terminated by a signal.
See http://www.cons.org/cracauer/sigint.html for more info.
Discussed on tech-userlevel@.
2007-09-25 01:13:54 +00:00
wiz 804d4ddaaf Document aprint*_dev and aprint*_ifnet. Requested by joerg@ 2007-09-24 20:44:23 +00:00
agc 903cd8368b Sync with reality - add <sys/gcq.h> 2007-09-23 21:27:34 +00:00
rmind 2cecf9bbe9 Implementation of POSIX message queues.
Reviewed by: <ad>, <tech-kern>
2007-09-07 18:56:02 +00:00
drochner 9d8b5fa74e Add C99 complex support, for double and float.
Most complex function implementations are from the "c9x-complex" library,
originating from the "cephes" math library, see
http://www.netlib.org/cephes/, from Stephen L. Moshier, incorporated and
redistributed with the NetBSD license by permission of the author.

Error behaviour and other boundary conditions (branch cuts)
need to be looked at.

For namespace sanity, I've done the rename/weak alias procedure to
most of the exported functions which are also used internally.
Didn't do so for sin/cos(f) yet because assembler implementations use
them directly, and renaming functions shared between the main libm
and the machine specific "overlay" might raise binary compatibility
issues.
2007-08-20 16:01:28 +00:00
pavel c0f560c80e struct plistref does not reference other proplib data types, so split it
in its own header file to be included by dkio.h. Fixes breakage due to
pollution from proplib.h in programs which include ioctl.h. Tested and OK
by dogcow@.
2007-08-17 11:05:03 +00:00
kiyohara 8e7888075a Replace to Matthew Orgass's slhci(4).
http://mail-index.netbsd.org/tech-kern/2007/06/26/0001.html

And import gcq.
http://mail-index.netbsd.org/tech-kern/2007/06/18/0020.html
2007-08-16 03:09:01 +00:00
kiyohara b095a2da1f Replace to Matthew Orgass's slhci(4).
http://mail-index.netbsd.org/tech-kern/2007/06/26/0001.html
  gcq is Generic Circular Queues.  Used by slhci.
2007-08-15 16:43:10 +00:00
he fd961c4429 Add a new socket option for unix domain sockets: LOCAL_PEEREID, to make
it possible to get the pid, euid and egid of the process at the remote
end at the time it did bind() or connect().

Add a new libc function, getpeereid() to easily get at the euid and egid.
As a consequence, bump libc's minor number.

Document the LOCAL_PEEREID socket option in unix(4).

Based on contribution by Arne H. Juul, minor modifications by myself.
2007-08-09 15:23:01 +00:00
pooka c5653da5a1 install bsd.klinks.mk 2007-08-05 21:50:32 +00:00
yamt 5621cabda9 add cpuctl.debug. 2007-08-05 12:46:02 +00:00
ad 18af8ee9bd Add cpuctl(8). For now this is not much more than a toy for debugging and
benchmarking that allows taking CPUs online/offline.
2007-08-04 11:02:56 +00:00
taca aefef5cb2c Add lint library for libarchive(3). 2007-07-30 06:58:18 +00:00
joerg 577a8c7029 Add build glue for libarchive and update the various sets. 2007-07-29 17:06:00 +00:00
nonaka d1d5985b69 Added apmvar.h 2007-07-29 14:32:18 +00:00
dsieger 93f4326679 Remove obsolete content about cpu_switchto() from ctxsw(9) and rename
it to mi_switch(9).

Suggested by yamt@
2007-07-21 08:51:31 +00:00
yamt c83659bb5a add audit-packages.debug. 2007-07-20 12:45:46 +00:00
yamt cf50c51162 add kpause.9. 2007-07-18 12:19:44 +00:00
joerg e4fc1154a4 Add native mremap system call based on the UVM implementation for
Linux compat. Add code to enforce alignment of the new location.
Special thanks to wizd for helping with the man page.
2007-07-17 17:42:07 +00:00
he f4056dae28 Add back in now-obsolete man pages or "aliases" and mark them as
obsolete, so as to better support an UPDATE build.
This concerns SCHED_LOCK(9), SCHED_UNLOCK(9), shed_lock_idle(9),
shed_unlock_idle(9), and scheduler(9).
2007-07-15 18:03:11 +00:00
jnemeth d9a445af4f add back setrunqueue.9 and mark it, nextrunqueue.9, and remrunqueue.9 obsolete 2007-07-15 08:33:50 +00:00
dsieger 82d31a4a20 Remove obsolete SCHED_LOCK(9), which is gone.
ok by <ad>
2007-07-14 22:09:57 +00:00
dsieger 5c52ed78e9 Move scheduler(9) to sched_4bsd(9) and sync its contents with reality. Also
add a reference to McKusick et. al., which still contains the best in-depth
description of the 4.4BSD scheduler.
2007-07-14 21:54:30 +00:00
dsieger 10dc2af304 Remove obsolete setrunqueue(9) manpage.
ok by <ad>.
2007-07-14 20:39:33 +00:00
dsieger 4f02ad43b0 Add initial manpage for the "new" scheduler API.
Note: More content will follow, to this manpage as well as the NetBSD
Internals book.

Ok by <ad>
2007-07-14 20:23:12 +00:00
ad 8751253925 Update mlinks for callout/kthread changes. 2007-07-14 11:39:01 +00:00
ad 52d4ecbef8 kcont was removed. 2007-07-14 10:52:14 +00:00
njoly 5e14b40722 Add amd64 specific debug files.
Fix build.sh release for amd64 with MKDEBUG=yes
2007-07-04 13:23:11 +00:00
yamt 511f2bb7af add svhlabel.debug. 2007-07-04 02:04:26 +00:00
yamt da0717150b add yield(9). 2007-07-03 12:16:51 +00:00
yamt c793425299 sort 2007-07-03 12:15:31 +00:00
pooka 060d8639e3 add estrndup() 2007-07-01 21:41:16 +00:00
xtraeme 08d5afa292 Imported envsys 2, a brief description of the new features:
(Part 4: documentation and configuration files)

* Support for detachable sensors.
* Cleaned up the API for simplicity and efficiency.
* Ability to send capacity/critical/warning events to powerd(8).
* Adapted all the code to the new locking order.
* Compatibility with the old envsys API: the ENVSYS_GTREINFO
  and ENVSYS_GTREDATA ioctl(2)s are supported.
* Added support for a 'dictionary based communication channel' between
  sysmon_power(9) and powerd(8), that means there is no 32 bytes event
  size restriction anymore.
* Binary compatibility with old envstat(8) and powerd(8) via COMPAT_40.
* All drivers with the n^2 gtredata bug were fixed, PR kern/36226.

Tested by:

blymn: smsc(4).
bouyer: ipmi(4), mfi(4).
kefren: ug(4).
njoly: viaenv(4), adt7463.c.
riz: owtemp(4).
xtraeme: acpiacad(4), acpibat(4), acpitz(4), aiboost(4), it(4), lm(4).
2007-07-01 07:55:51 +00:00
rumble 6912898dc8 Add read-only support for SGI's Extent File System.
Reviewed by pooka@.
2007-06-29 23:30:16 +00:00
rumble d8487906df Fix typo. 2007-06-26 22:45:36 +00:00
christos 2ddadd346c add tcpdrop 2007-06-25 23:38:57 +00:00
yamt 616f645161 add newgrp.debug. 2007-06-23 05:25:29 +00:00
rmind 5fd6c5db8f - Add aio_fsync(3) manual page. Reviewed and improved by <wiz>.
- Also, fix the accident duplicate of aio_suspend(3) entry.
2007-06-17 12:47:40 +00:00
uwe af961e8aed Bring back static and lint ssp libs and mark them obsolete. 2007-06-01 22:54:52 +00:00
tls c43359c28a libssp is gone. 2007-05-30 16:23:22 +00:00
christos 94b0103837 add ssp/strings.h 2007-05-23 23:41:51 +00:00
christos b2bff1d872 add new man pages. 2007-05-23 14:46:06 +00:00
yamt 297c65017f obsolete mi_switch.9 and cpu_switch.9 MLINKS. pointed by Blair Sadewitz. 2007-05-18 05:09:08 +00:00
yamt df0f9a881d obsolete:
ctxsw
	cpu_exit
add:
	cpu_switchto
	cpu_idle
2007-05-17 15:21:00 +00:00
yamt 59fdf737d5 add bioctl.debug. 2007-05-07 11:17:13 +00:00
pooka 0024c42774 add puffs_framebuf.[03] 2007-05-05 16:11:23 +00:00
rmind ed3e2de27c Add aio_cancel(3), aio_error(3), aio_read(3), aio_return(3), aio_suspend(3),
aio_write(3) and lio_listio(3) man-pages for asynchronous I/O.
Taken from FreeBSD with modifications for NetBSD implementation.

wizd, please! :)
2007-05-04 22:37:33 +00:00
dyoung 8b646d9bb9 Remove obsolete files netinet/in_route.[ch]. 2007-05-02 22:39:03 +00:00
bouyer 982bad256f Add bio(4) and associated bioctl(8) from OpenBSD, a driver control block
device controllers, and more specifically raid controllers.
Add a new sensor type, ENVSYS_DRIVE, to report drive status. From OpenBSD.
Add bio and sysmon support to mfi(4). This allow userland to query
status for drives and logical volumes attached to a mfi(4) controller. While
there fix some debug printfs in mfi so they compile.
Add bio(4) to amd64 and i386 GENERIC.
2007-05-01 17:18:52 +00:00
rmind 67d703cf25 Import of POSIX Asynchronous I/O.
Seems to be quite stable. Some work still left to do.

Please note, that syscalls are not yet MP-safe, because
of the file and vnode subsystems.

Reviewed by: <tech-kern>, <ad>
2007-04-30 14:44:28 +00:00
pooka f0498d6b10 add puffs_ops.[03] 2007-04-16 19:17:29 +00:00
ad 10c8708a61 + x86/sysarch.h 2007-04-16 19:16:36 +00:00
scw 5764a76889 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
tnozaki fd2dd8ec0d add new encoding support to iconv(3):
- RISCOS-LATIN1
	- DEC-MCS
	- DEC-HANYU(libDECHanyu)
2007-04-01 18:52:28 +00:00
pooka 4d66dc22ec puffs_cred.{0,3} 2007-03-22 17:41:30 +00:00
ad 3eeb069c1f + sys/simplelock.h 2007-03-12 16:34:08 +00:00
isaki 3a58b5c6d0 Stop installing <machine/intr.h> on x68k.
Suggested by simonb@ and tsutsui@.
2007-03-11 06:16:02 +00:00
dbj 1d564c7487 add apmlabel.debug, dkscan_bsdlabel.debug, mount_hfs.debug and btuartd.debug 2007-03-10 00:53:44 +00:00
tsutsui c13e98e3d4 Stop installing <machine/intr.h> on ews4800mips. Suggested by simonb. 2007-03-08 15:39:42 +00:00
dillo 56c3e41252 Complete rename of hfsp to hfs, requested by thorpej. 2007-03-06 11:28:44 +00:00
dillo 9274a5c0f1 Integrate apmlabel and HFS+ file system. 2007-03-05 23:18:01 +00:00
tsutsui f6b24c6d1c Stop installing <machine/intr.h> on hp300. Suggested by simonb. 2007-03-04 09:57:43 +00:00
tsutsui 7105072ba9 Stop installing <machine/intr.h> on news68k. Suggested by simonb. 2007-03-04 08:51:19 +00:00
xtraeme 0ee4765917 Add /usr/include/fuse_opt.h 2007-02-28 16:23:22 +00:00
garbled a330515740 Add /usr/include/prep/nvram.h 2007-02-26 23:57:19 +00:00
yamt a2a4c5824b add syncobj.h. 2007-02-26 10:55:36 +00:00
yamt 652511e445 sort. 2007-02-26 10:53:10 +00:00
pooka bda4b28048 Add a couple of librefuse files I managed to miss initially.
from <seb> and Stephane Engel
2007-02-23 19:12:34 +00:00
drochner 7161d089aa -get cabs() and cabsf() out of public view - these are historical and
conflict with C99 functions which are builtins in newer gcc
 (actually, the old cabs() is ABI compatible with the new _complex one
  on i386, but this is purely accidental)
 remove public prototypes and manpages, move the code into a compat
 subdirectory as libc does so that binary compatibility is kept
-add a manpage for the isgreater() etc macros, borrowed from FreeBSD
2007-02-22 22:08:17 +00:00
mrg 46deb749ba document bus_dmatag_subregion(9) and bus_dmatag_destroy(9). 2007-02-21 21:13:01 +00:00
kiyohara 10abd6f2e2 Supprot Bluetooth HCI UART (H4) driver and daemon. 2007-02-20 16:53:20 +00:00
he dde5afca61 Add acorn26/mutex.h and acorn26/rwlock.h. 2007-02-19 18:32:36 +00:00
he 866ddec825 Add acorn32/mutex.h and acorn32/rwlock.h. 2007-02-19 15:56:43 +00:00
briggs 470fb10317 Add arm/atomic.h 2007-02-18 18:47:36 +00:00
he 4e2ac45a91 Add the new rwlock.h and mutex.h header files. 2007-02-17 22:00:25 +00:00
yamt 38384421f9 need_resched -> cpu_need_resched. 2007-02-17 17:18:31 +00:00
yamt 32137900b7 mark cpu_idle.9 obsolete. 2007-02-17 14:34:22 +00:00
wiz c7567a33c8 Add strings(3), collecting information about strings.h.
Add Xr for it to string(3).

XXX: if someone could make a HISTORY section, I'd appreciate it
2007-02-17 09:32:57 +00:00
hannken 198beb0314 Make fstrans(9) the default helper for file system suspension.
Replaces the now obsolete vn_start_write()/vn_finished_write().
2007-02-16 17:23:53 +00:00
ad c38f8a7a38 There is no rw_owned(9) manual page. 2007-02-15 15:16:02 +00:00
pooka 5cb107d447 add librefuse and refuse man pages to set lists 2007-02-11 18:37:45 +00:00
ad 6f86141195 Add mb/rwlock/condvar/mutex section 9 manual pages. 2007-02-11 16:16:09 +00:00
hannken 2913e5b9ef newlock2: add include files mutex.h and rwlock.h 2007-02-11 12:15:07 +00:00
ad 743f737961 Add manual pages for new LWP syscalls. 2007-02-10 10:38:25 +00:00
ad a0f13ff82d - Exclude SA syscalls from LintSysNormal.c.
- Obsolete SA manual pages.
2007-02-09 23:48:27 +00:00
ad 6cb2f27bc7 Sync with changes introduced by merging the newlock2 branch. 2007-02-09 22:49:47 +00:00
ad 34eaab26b0 Sync with changes introduced by merging the newlock2 branch. 2007-02-09 22:13:31 +00:00
dbj c888080e0e add some missing .debug files for acpidump, smldb, srtconfig
also fix my previous botch on lfs_cleanerd.debug moving
from /usr/libexec to /libexec
2007-02-08 20:42:51 +00:00
skrll a815b70d5c G/C hp{pa,700}/spinlock.h 2007-02-06 21:59:24 +00:00
elad a8c0f0c72e Move paxctl from usr.bin/paxctl to usr.sbin/paxctl, and make it an admin
tool (man-page moved from section 1 to section 8).
2007-01-30 19:40:07 +00:00
pooka 71a61647db puffs_suspend.{0,3} 2007-01-26 23:55:58 +00:00
hannken facd1f65cb Add and update documentation for fstrans(9) file system suspension helper.
wiz?
2007-01-21 15:42:36 +00:00
pooka 7f0efb4a8d puffs_req.{0,3} 2007-01-20 15:10:42 +00:00
pooka 14c2cf6c8d add new puffs manual pages 2007-01-19 21:13:31 +00:00
isaki 7525ed1e40 Install <net/if_pflog.h>. 2007-01-13 14:13:53 +00:00
cube 7c9cf88351 Add net/if_srt.h [hi mouse!] 2007-01-11 07:05:56 +00:00
elad 190f747fee Add a memoryallocators(9) man-page to give a short summary of memory
allocators available in the kernel.

Tons of input from YAMAMOTO Takashi, thanks!
2007-01-07 15:37:51 +00:00
dbj 6047a69a6e add ./usr/include/x86/cputypes.h 2007-01-02 03:40:03 +00:00
yamt fa33174966 obsolete /usr/include/nfs/nqnfs.h. 2006-12-27 12:12:11 +00:00
yamt 5d51c3ca27 document splraiseipl and makeiplcookie. 2006-12-21 16:01:13 +00:00
peter 7abc3a4a04 Add zaurus specific distrib lists. 2006-12-17 16:10:13 +00:00
he 23b8d9d582 Correct minor problems I introduced in previous revision: two missing
entries and one wrong file suffix.  Thanks to Jukka Salmi for the patch.
2006-12-15 00:28:53 +00:00
he 0a97c3f688 Complete the move of string_to_flags() and flags_to_string() from the
bin/ls sources to libutil:
 o Bump libutil minor version number
 o Fix uses to include <util.h> to pick up the function definitions
 o Fix most uses of flags_to_string() to release the now-malloc()ed result
2006-12-14 20:09:35 +00:00
dbj 62b8ec502a mark lfs_cleanerd.debug as obsolete 2006-12-13 23:22:29 +00:00
dyoung c308b1c661 Here are various changes designed to protect against bad IPv4
routing caused by stale route caches (struct route).  Route caches
are sprinkled throughout PCBs, the IP fast-forwarding table, and
IP tunnel interfaces (gre, gif, stf).

Stale IPv6 and ISO route caches will be treated by separate patches.

Thank you to Christoph Badura for suggesting the general approach
to invalidating route caches that I take here.

Here are the details:

Add hooks to struct domain for tracking and for invalidating each
domain's route caches: dom_rtcache, dom_rtflush, and dom_rtflushall.

Introduce helper subroutines, rtflush(ro) for invalidating a route
cache, rtflushall(family) for invalidating all route caches in a
routing domain, and rtcache(ro) for notifying the domain of a new
cached route.

Chain together all IPv4 route caches where ro_rt != NULL.  Provide
in_rtcache() for adding a route to the chain.  Provide in_rtflush()
and in_rtflushall() for invalidating IPv4 route caches.  In
in_rtflush(), set ro_rt to NULL, and remove the route from the
chain.  In in_rtflushall(), walk the chain and remove every route
cache.

In rtrequest1(), call rtflushall() to invalidate route caches when
a route is added.

In gif(4), discard the workaround for stale caches that involves
expiring them every so often.

Replace the pattern 'RTFREE(ro->ro_rt); ro->ro_rt = NULL;' with a
call to rtflush(ro).

Update ipflow_fastforward() and all other users of route caches so
that they expect a cached route, ro->ro_rt, to turn to NULL.

Take care when moving a 'struct route' to rtflush() the source and
to rtcache() the destination.

In domain initializers, use .dom_xxx tags.

KNF here and there.
2006-12-09 05:33:04 +00:00
he 67fd061d1e Properly mark the {v,}syslog_ss entries as obsolete. 2006-11-24 10:58:58 +00:00
rpaulo 5423539f94 New EtherIP driver based on tap(4) and gif(4) by Hans Rosenfeld.
Notable changes:
	* Fixes PR 34268.
	* Separates the code from gif(4) (which is more cleaner).
	* Allows the usage of STP (Spanning Tree Protocol).
	* Removed EtherIP implementation from gif(4)/tap(4).

Some input from Christos.
2006-11-23 04:07:07 +00:00
tnozaki 8033a5b008 1. add iconv support for following encodings:
Chinese Simplefied
        HZ, HZ8 - 7/8bit stateful encoding, see RFC1842,1843. (libHZ)
        zW      - 7bit stateful encoding, see RFC1842. (libZW)
2. add citrus_prop.[ch] - parser for encoding module's init parameter strings.
2006-11-22 23:38:25 +00:00
christos 4ca73ce810 Don't expose _ss functions for 4.0. Requested by core. 2006-11-22 17:23:24 +00:00
christos ab56b9a702 getdate -> parsedate 2006-11-20 20:33:33 +00:00
christos 55b9633384 Documentation for getdate. 2006-11-17 22:18:48 +00:00
christos b1d5ffd2bd lfs_cleanerd.debug moved. 2006-11-16 00:50:19 +00:00
tnozaki 79a70a823d 1. add iconv support for followint encoding:
Vietnamese
	TCVN	8bit Viet Nam National Standard
	VISCII	8bit RFC1456
	VIQR	7bit RFC1456(libVIQR)
    Unicode Escape (GNU libiconv compatibility)
	C99, JAVA (libUES)
2. fix iconv_std module:
	add special treatment for POSIX Defect Report #288 case.
2006-11-13 15:16:28 +00:00
dyoung a25eaede91 Add a source-address selection policy mechanism to the kernel.
Also, add ioctls SIOCGIFADDRPREF/SIOCSIFADDRPREF to get/set preference
numbers for addresses.  Make ifconfig(8) set/display preference
numbers.

To activate source-address selection policies in your kernel, add
'options IPSELSRC' to your kernel configuration.

Miscellaneous changes in support of source-address selection:

        1 Factor out some common code, producing rt_replace_ifa().

        2 Abbreviate a for-loop with TAILQ_FOREACH().

        3 Add the predicates on IPv4 addresses IN_LINKLOCAL() and
          IN_PRIVATE(), that are true for link-local unicast
          (169.254/16) and RFC1918 private addresses, respectively.
          Add the predicate IN_ANY_LOCAL() that is true for link-local
          unicast and multicast.

        4 Add IPv4-specific interface attach/detach routines,
          in_domifattach and in_domifdetach, which build #ifdef
          IPSELSRC.

See in_getifa(9) for a more thorough description of source-address
selection policy.
2006-11-13 05:13:38 +00:00
christos 733988be60 goodbye uucp 2006-11-12 01:24:51 +00:00
he a29dad4689 Add libssp_pic.a. 2006-11-11 12:06:54 +00:00
he 45c70b2a95 Use the correct file name for the libssp comp-c-proflib entry. 2006-11-11 12:06:34 +00:00
nakayama d3dbf0b0af Fix prop_send_ioctl.3 keyword to `.man'. 2006-11-11 05:30:50 +00:00
christos d74c6175d2 add more ssp library files. 2006-11-10 19:43:02 +00:00
pooka 644b5e87f7 puffs manual pages 2006-11-09 01:35:02 +00:00
christos 3f7ee1da36 add ssp stuff. 2006-11-08 20:52:02 +00:00