Commit Graph

1723 Commits

Author SHA1 Message Date
plunky 539d558040 Remove remaining TPCONS code.
(The TPCONS kernel option was marked obsolete over a year ago)
2008-04-23 09:57:59 +00:00
thorpej 34908fe541 Add subroutines to support collating per-cpu-gathered network statistics. 2008-04-23 05:21:17 +00:00
rmind 4000aba309 Add posix_madvise(2) and appropriate definitions in sys/mman.h header.
This interface is identical to madvise(2), however, is defined by POSIX.
Partially sync madvise(2) man page with FreeBSD.

Reviewed by <mrg>.
2008-04-22 10:42:16 +00:00
jdc e78f48a7d8 Add getwin and putwin mlinks. 2008-04-15 18:27:01 +00:00
plunky 486e4624e5 some changes to serial bluetooth host controller interfaces
btuartd(8) should be named btattach(8) for consistency
with other parts of NetBSD

make btattach(8) a single-use tool for less complexity

device specicific initialisation (from btuart(4)) is carried
out prior to activating the line discipline (in btattach(8)),
which simplifies the API somewhat and means that the user
tool and the kernel do not need to be kept in sync.

btuart(4) driver is much reduced; naming is made consistent
and all tsleep() and delay() are removed to userland
2008-04-15 11:17:47 +00:00
dogcow dd2fb065d2 add missing entries for curses_fileio.[03]. (hi, jdc!) 2008-04-15 00:49:02 +00:00
xtraeme 0ee95516ea Add MLINKS for the sysmon_envsys_* functions. 2008-04-02 14:49:31 +00:00
dyoung d3627477d7 Certain misguided people have complained, NetBSD only runs rare or
"retro" computers, but NetBSD also runs a growing number of rare
and retro add-on cards.  With this patch, NetBSD supports the IDEC
Supervision/16, a black&white image capture board for the 16-bit
ISA bus.  Approximate date of manufacture: 1991.  Total instances
known to be in use throughout the world: one.

Coming soon; isvctl(8), the utility program for capturing 8-bit,
512x480 images at speeds of up to 6 frames per second.
2008-04-02 01:34:36 +00:00
mlelstv 1155fc6c2d add <der.h> header used by external software. 2008-03-29 19:58:37 +00:00
wiz 18ba1efdd8 Install /usr/include/gssapi.h; this file is needed since applications
using Heimdal expect ``#include <gssapi.h>'' to work in combination
with the ``krb5-config --cflags'' output.

Ok mlelstv.
2008-03-29 17:51:42 +00:00
mlelstv 237876a9eb add new Heimdal files for MKDEBUG option 2008-03-25 07:03:02 +00:00
yamt d77618f875 update after yamt-lazymbuf merge. 2008-03-24 12:30:17 +00:00
bjs d975c184ef Append ",profile" at the end of the line for libheimntlm_p.a and
libhx509_p.a.  Without this, the build system expects these to be present
in DESTDIR regardless of whether MKPROFILE was set to "no".
2008-03-23 07:32:13 +00:00
tsutsui 927baa9250 Make <cobalt/leds.h> obsolete. (no userland stuff in it anyway) 2008-03-22 18:34:19 +00:00
jmmv 978a8525ec Add obsolete entries for Heimdal-1.1 import. Hi, mlelstv@! 2008-03-22 13:28:12 +00:00
mlelstv b0f88a0388 Import Heimdal-1.1 2008-03-22 08:36:48 +00:00
rmind f67f2ea584 Add pset(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
2008-03-10 19:00:21 +00:00
rmind 2ac12931eb Add sched(3) manual page, and appropriate links.
Thanks <wiz> for review and fixes!
2008-03-10 14:47:06 +00:00
ad ed4dfedcd6 Finish moving alpha over to the MI atomic ops. 2008-03-10 14:01:35 +00:00
rmind 2fd89ef88a Rename selrecord(9) man page to select(9). Sync selnotify() with reality,
remove selwakeup(), add and explain the usage of selinit() and seldestroy().

Reviewed by <ad>.
2008-03-02 00:30:21 +00:00
joerg 76f009d25d Update build infrastructure for libarchive-2.4.13. 2008-02-26 14:54:18 +00:00
drochner b0666c0ebd install pmmintrin.h for SSE3 2008-02-26 10:55:49 +00:00
drochner c7a43da627 Add manpages for the complex math functions, originally from SUSv3,
roff source from the Linux documentation project.
Modifications before import:
-added NetBSD RCS ID
-removed Linux PROLOG and declarations with "long double"
-ran the "deshallify" script as required by The Open Group
Split out complex related things into an own Makefile fragment.
Thanks to hubertf for directions.
2008-02-20 09:55:37 +00:00
bouyer 2720c9d6a3 Install xenio.h and xenio3.h in /usr/include/xen, for the benefit
of xentools3.

XXX ignore those in Makefile.ioctl-c, they don't compile properly outside
of the Xen context and the ioctls from xenio.h conflicts with
soundcard.h
2008-02-17 16:23:12 +00:00
jmmv a9ec381491 Adjust lists to work when MKMODULAR is set to yes. 2008-02-09 19:34:03 +00:00
jmmv cb1adbc6e9 Adjust lists to match the import of atf 0.4. 2008-02-04 20:33:09 +00:00
christos 4d6010e3ba add openpam_attr.h 2008-01-27 01:30:18 +00:00
yamt 6db1337305 add x86/pmap_pv.h 2008-01-20 20:23:21 +00:00
chris f2037fb52d Flag ipkdb.h as obsolete for arm and arm platforms. 2008-01-19 13:15:46 +00:00
ad bbc79e58a6 Pull in my modules code for review/test/hacking. 2008-01-16 12:34:50 +00:00
njoly 88ba2df42e Add schedctl.debug 2008-01-15 16:33:48 +00:00
rmind 5c71a4d49f Implementation of processor-sets, affinity and POSIX real-time extensions.
Add schedctl(8) - a program to control scheduling of processes and threads.

Notes:
- This is supported only by SCHED_M2;
- Migration of LWP mechanism will be revisited;

Proposed on: <tech-kern>. Reviewed by: <ad>.
2008-01-15 03:37:10 +00:00
simonb d8de5b102b Remove support for NetBSD/pc532. 2008-01-09 11:25:58 +00:00
dsl 66767e035f Add /usr/include/amd64/frame_regs.h 2008-01-04 23:05:42 +00:00
jdc 5a990b469d Add a note about marking entries as "obsolete", instead of deleting them. 2008-01-03 20:47:55 +00:00
chris 85047bd3d7 Add kcore.h to the files installed on arm. 2008-01-01 14:08:03 +00:00
ad 2ecdf58c2c Remove systrace. Ok core@. 2007-12-31 15:31:24 +00:00
ad e2209e397c Install sys/atomic.h 2007-12-24 15:15:47 +00:00
ad e16a661bf3 - Make __cpu_simple_lock and similar real functions and patch at runtime.
- Remove old x86 atomic ops.
- Drop text alignment back to 16 on i386 (really, this time).
- Minor cleanup.
2007-12-20 23:46:10 +00:00
jnemeth 2e2f0a7f1e usr/include/sys/pmf.h as it is no longer installed, so mark it obsolete
XXX lines should not be removed from this file
2007-12-17 07:53:41 +00:00
jnemeth 5e804d8ae6 add usr/include/sys/pmf.h 2007-12-17 00:46:10 +00:00
drochner 25d7d279f8 don't include <sys/pmf.h> for userland programs, saves some recompilation
if internals are changed
2007-12-16 23:24:21 +00:00
yamt c9f8844e18 add several manpages. 2007-12-14 22:01:52 +00:00
explorer 64abe01775 add dehumanize_number so the build works again 2007-12-14 20:22:45 +00:00
jmcneill 8bf7f4b9e7 Add pmf.h to the set list. 2007-12-09 23:09:06 +00:00
jmcneill 75a94c407a Add power management framework man page. 2007-12-09 20:37:42 +00:00
yamt 0156962757 document LWP_CACHE_CREDS. 2007-12-09 08:37:48 +00:00
yamt a535c1a428 sort 2007-12-09 08:36:14 +00:00
ad e1b5d7773c Add links for softint_* 2007-12-05 05:52:21 +00:00
ad 6a7a863131 + mutex_spin_enter, mutex_spin_exit 2007-12-05 05:19:34 +00:00
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