Commit Graph

7150 Commits

Author SHA1 Message Date
yamt
6af9c3d49d update after yamt-idlelwp merge.
- remove cpu_exit.9.
- remove ctxsw.9 from makefile because it's too stale.
  XXX maybe it will revive as mi_switch.9 later.
- add cpu_switchto.9 to makefile.
2007-05-17 15:12:56 +00:00
yamt
e513490beb update after yamt-idlelwp merge. 2007-05-17 15:06:25 +00:00
yamt
ea9397d212 remove net.inet6.ip6.rht0. 2007-05-17 11:50:10 +00:00
hannken
64b7e5637e Fstrans_start() always returns zero, so change its type to void. 2007-05-17 07:26:21 +00:00
elad
6700cfccd6 Some Veriexec stuff that's been rotting in my tree for months.
Bug fixes:
  - Fix crash reported by Scott Ellis on current-users@.

  - Fix race conditions in enforcing the Veriexec rename and remove
    policies. These are NOT security issues.

  - Fix memory leak in rename handling when overwriting a monitored
    file.

  - Fix table deletion logic.

  - Don't prevent query requests if not in learning mode.


KPI updates:
  - fileassoc_table_run() now takes a cookie to pass to the callback.

  - veriexec_table_add() was removed, it is now done internally. As a
    result, there's no longer a need for VERIEXEC_TABLESIZE.

  - veriexec_report() was removed, it is now internal.

  - Perform sanity checks on the entry type, and enforce default type
    in veriexec_file_add() rather than in veriexecctl.

  - Add veriexec_flush(), used to delete all Veriexec tables, and
    veriexec_dump(), used to fill an array with all Veriexec entries.


New features:
  - Add a '-k' flag to veriexecctl, to keep the filenames in the kernel
    database. This allows Veriexec to produce slightly more accurate
    logs under certain circumstances. In the future, this can be either
    replaced by vnode->pathname translation, or combined with it.

  - Add a VERIEXEC_DUMP ioctl, to dump the entire Veriexec database.
    This can be used to recover a database if the file was lost.
    Example usage:

        # veriexecctl dump > /etc/signatures

    Note that only entries with the filename kept (that is, were loaded
    with the '-k' flag) will be dumped.

    Idea from Brett Lymn.

  - Add a VERIEXEC_FLUSH ioctl, to delete all Veriexec entries. Sample
    usage:

        # veriexecctl flush

  - Add a 'veriexec_flags' rc(8) variable, and make its default have
    the '-k' flag. On systems using the default signatures file
    (generaetd from running 'veriexecgen' with no arguments), this will
    use additional 32kb of kernel memory on average.

  - Add a '-e' flag to veriexecctl, to evaluate the fingerprint during
    load. This is done automatically for files marked as 'untrusted'.


Misc. stuff:
  - The code for veriexecctl was massively simplified as a result of
    eliminating the need for VERIEXEC_TABLESIZE, and now uses a single
    pass of the signatures file, making the loading somewhat faster.

  - Lots of minor fixes found using the (still under development)
    Veriexec regression testsuite.

  - Some of the messages Veriexec prints were improved.

  - Various documentation fixes.


All relevant man-pages were updated to reflect the above changes.

Binary compatibility with existing veriexecctl binaries is maintained.
2007-05-15 19:47:43 +00:00
bouyer
95b42c31ad add jmide(4), a driver for the JMicron Technology JMB36x PCIe to SATA II/PATA
controllers. These controllers can be found on add-on PCIe cards, or
on some motherboards to provide the PATA connectivity (e.g. some intel
ICH8-based motherboards).

Thanks to JMicron Technology for providing me documentation and
different sample boards for this work.
2007-05-15 17:53:41 +00:00
xtraeme
c58471c2ca wizd said: no extra comma and no extra dot. 2007-05-15 14:39:30 +00:00
xtraeme
7ec9c258a6 No extra comma at the end of Xr's. 2007-05-15 14:33:56 +00:00
xtraeme
ef2e01a9b8 Missing whitespace in Xr. 2007-05-15 14:32:16 +00:00
macallan
3a2edc4bcf add a couple man pages for the new ADB subsystem 2007-05-15 14:12:08 +00:00
xtraeme
8d72c34523 Don't mention ltsleep(9), it's obsolete. workqueue(9) uses condvar(9). 2007-05-13 20:24:57 +00:00
tnn
da779f39a1 fix typos 2007-05-13 19:02:17 +00:00
xtraeme
50d836969e In DESCRIPTION move the name argument to the proper place, so
that it matches the order specificied in the prototype.
2007-05-13 18:43:50 +00:00
pavel
9467b9a9ba add "DEC 3000" to the alpha section, to make clear to what machines does
it apply.
2007-05-12 20:46:33 +00:00
jnemeth
bb3f3ff1d6 the formatting bug has been fixed 2007-05-12 08:34:23 +00:00
itohy
bc7976e5a8 Add missing " 2007-05-10 09:08:38 +00:00
jnemeth
e5ee0a4bea we now support floppy drives on SBus based machines 2007-05-10 07:47:27 +00:00
jnemeth
1f69023383 add a manpage for the new floppy driver 2007-05-08 19:23:18 +00:00
xtraeme
195ad0f823 Mention ug(4). 2007-05-08 16:52:24 +00:00
xtraeme
24f7a0c4fa Mention "ug* at acpi?" support, bump date. 2007-05-08 16:50:03 +00:00
manu
31b57f40ff Add the TFTPROOT kernel option for TFTP'ing root RAMdisk at root mount time.
This allows working around situations where a kernel with embedded RAMdisk
cannot be booted by the bootloader because the RAMdisk is too big.
2007-05-08 06:10:27 +00:00
pooka
71ab04cbde make description of VOP_MMAP compatible with reality 2007-05-07 21:41:49 +00:00
yamt
03df1926ce mention ipv6 link local addresses. 2007-05-07 13:11:01 +00:00
xtraeme
664bf29811 Mention mfi(4), bump date. 2007-05-07 11:00:43 +00:00
pavel
30b691bf74 Sync the uvm_fault interface with reality after the removal of the
"fault type" third argument in rev. 1.110 of sys/uvm/uvm_fault.c

Hi Drochner!
2007-05-06 12:38:09 +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
dsl
bfe36c5b04 Add amd64 to the list of ports that support linux emulation.
Note that the emulation root is linux32 when running i386 linux programs
  on an amd64 system.
Note that paths that start /../ are only looked up in the real root.
Modify the bug/note about symlinks not being looked up in the emulation root.
Some of this stuff ought to be in a generic 'emulation' man page.
2007-04-30 21:16:55 +00:00
bouyer
632fb43a09 Note ICH8 LAN support. 2007-04-29 20:39:10 +00:00
christos
08cd17ec8b Disable processing of routing header type 0 packets since they can be used
of DoS attacks. Provide a sysctl to re-enable them (net.inet6.ip6.rht0).

Information from:
	http://www.secdev.org/conf/IPv6_RH_security-csw07.pdf
2007-04-22 19:47:41 +00:00
dsl
01dcedbe60 Add info on the SYSCALL_STATS and SYSCALL_TIMES options 2007-04-22 10:43:10 +00:00
plunky
a5eb343769 add compat_darwin(8) to build 2007-04-21 18:41:49 +00:00
yamt
58f7ebf59b sync with the code. 2007-04-21 17:52:09 +00:00
plunky
f5db72e7b7 Add 'service level' security for L2CAP and RFCOMM connections, following
the Linux (BlueZ) API.

    - L2CAP or RFCOMM connections can require the baseband radio link
    mode be any of:
	authenticated (devices are paired)
	encrypted (implies authentication)
	secured (encryption, plus generate new link key)

    - for sockets, the mode is set using setsockopt(2) and the socket
    connection will be aborted if the mode change fails.

    - mode settings will be applied during connection establishment, and
    for safety, we enter a wait state and will only proceed when the mode
    settings are successfuly set.

    - It is possible to change the mode on already open connections, but
    not possible to guarantee that data already queued (from either end)
    will not be delivered. (this is a feature, not a bug)

    - bthidev(4) and rfcomm_sppd(1) support "auth", "encrypt" and
    "secure" options

    - btdevctl(8) by default enables "auth" for HIDs, and "encrypt" for
    keyboards (which are required to support it)
2007-04-21 06:15:22 +00:00
plunky
c4ec0fc4f8 add 'lost' manpages to build:
acorn26/iobus(4)
	mac68k/zsc(4)
	pc532/intro(4)
	sparc/autoconf(4)
	sun3/autoconf(4)
	vax/mtc(4)
	vax/rl(4)
	iee(4)
2007-04-21 06:11:57 +00:00
yamt
73e9fbd3df update. (cpu_did_resched) 2007-04-20 13:45:43 +00:00
xtraeme
6aad6735ab * tctrl(4) -> sparc/tctrl(4)
* Mention sparc64/envctrl(4) (hi tnn)
2007-04-19 14:26:58 +00:00
yamt
483db2967f update. 2007-04-18 12:19:45 +00:00
pooka
5d3221caa2 handle vptofh and fhtovp:
* file handles are not only for nfs
* these functions are not allowed to be null
* update description of vptofh to contain the size parameter
(*bump date)
2007-04-16 14:47:19 +00:00
rumble
d5731af33f s/MAC-100/MAC-110/ 2007-04-15 20:31:05 +00:00
plunky
2ec4c16ef8 although this is an intentionally undocumented interface (see PR/35278),
fix up the non existent documentation to reflect the reality.
2007-04-15 10:36:51 +00:00
tnn
9e62e47cbb fix nroff warning 2007-04-14 19:59:29 +00:00
tnn
b2079804d3 Add envctrl(4): Sun Ultra Enterprise 450 environmental monitoring driver.
Also add accompanying i2c controller driver, pcf8584.
Both written by me. Some cosmetic improvements from Iain Hibbert.
ok <martin>
2007-04-14 19:33:27 +00:00
plunky
a162e8343b Tidy this up:
fix mdoc warnings
	add missing .El
	add missing Fn

    remove extraneous text
    add function names to SYNOPSIS
2007-04-13 18:19:36 +00:00
plunky
db145e3659 fix mdoc warning: remove (unused) -width 2007-04-13 18:16:27 +00:00
jmcneill
c27b959d6b Add man page for mavb(4) 2007-04-13 03:48:48 +00:00
plunky
4f07714178 add missing .El 2007-04-13 00:39:10 +00:00
plunky
a3cbfe00fa use .Sq instead of .It (is not a list) 2007-04-13 00:37:47 +00:00
plunky
68df426450 remove 'unknown keyword' error (use -tag or -hyphen, not both) 2007-04-13 00:36:21 +00:00
plunky
7b01b26c16 remove extraneous .El 2007-04-13 00:35:09 +00:00
macallan
b88a5f291a Add chipsfb.4 and genfb.4 2007-04-12 18:21:26 +00:00