Commit Graph

10401 Commits

Author SHA1 Message Date
tls a83c0ab035 mipsel || mipseb, not mipsel || mipsel 2007-05-30 14:21:31 +00:00
tls 2368dc663d Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp"
(what other systems keep in libssp, we already have in libc) into libc
to match what other systems with FORTIFY_SOURCE do.  Goodbye, libssp
dependency in libraries and executables.  Discussed with christos and
mrg; Christos will merge the headers to get us the rest of the way to a
FORTIFY_SOURCE implementation that works as others' code expects.
2007-05-30 01:13:14 +00:00
tls 6c43b583d4 Sigh, revert previous and fix right: we don't have MACHINE_CPU in bsd.sys.mk. 2007-05-29 21:24:57 +00:00
tls e5545ad98b MACHINE_ARCH -> MACHINE_CPU so excluding mips from SSP/FORT works right. 2007-05-29 21:09:18 +00:00
tls 64e3562f4f Fix two bugs reported by Simon Burge: 1) USE_FORT and USE_SSP should be
disabled on platforms where GCC doesn't support -fstack-protector.  2) The
libssl Makefile had a hard-coded USE_FORT=yes.
2007-05-29 13:55:31 +00:00
tls 1e799aacf7 Sigh. Fix USE_FORT: do not use /usr/include/ssp from *host* system. 2007-05-29 04:56:34 +00:00
tls 4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
dyoung f5c27b7a80 Remove remarks that insinuate that gre(4) still supports the hack
that let us set a route over the tunnel to the tunnel's decapsulating
host.  Thanks, Andreas Wrede, for pointing it out.
2007-05-27 19:15:48 +00:00
christos 99d821089c Fix reversed test and missing +; from Joerg Niendorf 2007-05-26 18:48:48 +00:00
degroote b6a3dbd139 Sync with reality
Ipv6 and Ipcomp are now supported
2007-05-24 23:03:52 +00:00
xtraeme 3e72ab4fab ses.h is located on dev/scsipi and not dev/scsi... well 6 years later
we fix it.

Looks like not many developers pay attention to update the manual
pages.
2007-05-24 16:40:46 +00:00
kleink a96a1a1a65 Merge tzdata2007f. 2007-05-23 08:07:06 +00:00
kleink af80c56040 Import tzdata2007f. 2007-05-23 08:05:10 +00:00
tls d307e49627 Add -D_FORTIFY_SOURCE=2 where it can safely/sanely be used if building
with USE_SSP: not in the kernel, and not in libssp itself.
2007-05-22 23:58:54 +00:00
agc d49e2683be Another day, another file system.
dmesgfs is another example file system, which displays the device tree
information gained from dmesg(8) as a directory hierarchy. The information
can be displayed in files, or as targets of symbolic links.

% l /mnt/mainbus0
total 320
drwxr-xr-x  2 agc   agc    512 May 21 22:21 .
drwxr-xr-x  2 root  wheel    0 Jan  1  1970 ..
drwxr-xr-x  2 agc   agc    512 May 21 22:21 acpi0
lrwxr-xr-x  1 agc   agc     41 May 21 22:21 cpu0 -> cpu0 at mainbus0 apid 0: (boot processor)
lrwxr-xr-x  1 agc   agc     40 May 21 22:21 ioapic -> ioapic at mainbus0 apid 1 not configured
drwxr-xr-x  2 agc   agc    512 May 21 22:21 pci0
% l /mnt/mainbus0/pci0/piixide0/atabus1/atapibus0
total 256
drwxr-xr-x  2 agc  agc  512 May 21 22:21 .
drwxr-xr-x  2 agc  agc  512 May 21 22:21 ..
lrwxr-xr-x  1 agc  agc   31 May 21 22:21 Description -> atapibus0 at atabus1: 2 targets
lrwxr-xr-x  1 agc  agc  104 May 21 22:21 cd0 -> cd0 at atapibus0 drive 0: <VMware Virtual IDE CDROM Drive, 1000000000000000000, 0000000> cdrom removable
%
2007-05-21 21:29:23 +00:00
agc cfb41894f8 Adapt to new signature for virtdir_add(). 2007-05-21 21:19:25 +00:00
agc 12eda41239 Add a size parameter to virtdir_add, so that binary information can be
attached to a virtual directory entry.
2007-05-21 21:15:34 +00:00
christos 92bc6dbe58 rename si_sigval -> si_value. 2007-05-21 19:42:25 +00:00
yamt c2217bea1c fix the description of return values. pointed by Martin Husemann.
reviewed by toshii@
2007-05-21 02:30:47 +00:00
dogcow fa585594dd Add uslsa.4, as per PR kern/33496 2007-05-20 05:10:28 +00:00
christos eeefe01872 this experimental interface is not in use anymore. 2007-05-19 22:14:18 +00:00
christos 38efedca16 catch up with argument shuffle. 2007-05-19 22:13:57 +00:00
wiz 39a58c1651 Bump date for previous. 2007-05-19 14:43:20 +00:00
wiz 760ca22d96 Bump date for previous. 2007-05-19 14:30:55 +00:00
wiz e2598a32e0 Fix bug introduced by imperfect wizd emulation. 2007-05-19 14:28:42 +00:00
wiz 8628fd488d Fix typo. 2007-05-19 14:16:30 +00:00
wiz 019e3a752f regen (including sparc64/fdc) 2007-05-19 14:16:09 +00:00
wiz cb42c50522 Short options belong together. 2007-05-19 14:15:58 +00:00
agc c048d63924 Add a function to return the virtual offset in the virtdir_t tree. 2007-05-19 06:15:38 +00:00
pooka 1d9d9332f5 Use SETBACK_NOREF instead of SETBACK_INACT to control node removal.
Avoids one round of inactive (wheee!).
2007-05-18 15:53:07 +00:00
pooka 48d5a49e1f "support" vop_poll enough for testing purposes. In short, yield every
poll request for a few seconds before returning.
2007-05-18 13:55:21 +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
pooka 7ed1d7403d vn_poll does not return success/error, it return what VOP_POLL
returns, i.e. mask of available events
2007-05-17 17:47:10 +00:00
yamt 19e935945f add cpu_idle.9. 2007-05-17 15:14:27 +00:00
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
pooka c8b0a89198 reflect changes in fs mount: use puffs_mount() instead of
puffs_domount() & puffs_start()
2007-05-17 14:13:04 +00:00
pooka 9550017a8d Adapt to changes with mounting file systems.
Introduce a parameter -r to control the root node type.  For example
"dtfs -r 'lnk /etc' /puffs" mounts dtfs with the root node as a
symbolic link to /etc:

jojonaru# ./dtfs -r 'lnk /etc' /puffs
jojonaru# ls -l /puffs
lrw-rw-rw-  1 root  wheel  4 May 17 14:06 /puffs -> /etc
jojonaru# cd /puffs
jojonaru# pwd
/etc
jojonaru#

Extra credit for figuring out how to unmount this file system with
umount(8).

Likewise, "dtfs -r 'chr 2 12' /puffs" makes /puffs (i386) /dev/zero etcetc.
2007-05-17 14:10:13 +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
agc cd3ccd9b12 Add a new, trivial file system, pcifs, which shows the devices on a
pcibus (via pcictl(8)) under the mount point:

% df /mnt
Filesystem         1K-blocks      Used     Avail Capacity  Mounted on
puffs:refuse:pcifs         0         0         0   100%    /mnt
% l /mnt
total 642
drwxr-xr-x   2 root  wheel     0 Jan  1  1970 .
drwxr-xr-x  31 root  wheel  1024 May 16 20:06 ..
lrw-r--r--   1 agc   agc      65 May 16 22:05 000:00:0: -> Intel 82443BX Host Bridge/Controller (host bridge, revision 0x01)
lrw-r--r--   1 agc   agc      55 May 16 22:05 000:01:0: -> Intel 82443BX AGP Interface (PCI bridge, revision 0x01)
lrw-r--r--   1 agc   agc      64 May 16 22:05 000:07:0: -> Intel 82371AB (PIIX4) PCI-ISA Bridge (ISA bridge, revision 0x08)
lrw-r--r--   1 agc   agc      86 May 16 22:05 000:07:1: -> Intel 82371AB (PIIX4) IDE controller (IDE mass storage, interface 0x8a, revision 0x01)
lrw-r--r--   1 agc   agc      58 May 16 22:05 000:07:2: -> Intel 82371AB (PIIX4) USB Host Controller (USB serial bus)
lrw-r--r--   1 agc   agc      87 May 16 22:05 000:07:3: -> Intel 82371AB (PIIX4) Power Management Controller (miscellaneous bridge, revision 0x08)
lrw-r--r--   1 agc   agc      36 May 16 22:05 000:15:0: -> VMware Virtual SVGA II (VGA display)
lrw-r--r--   1 agc   agc      56 May 16 22:05 000:16:0: -> Symbios Logic 53c1030 (SCSI mass storage, revision 0x01)
lrw-r--r--   1 agc   agc      75 May 16 22:05 000:17:0: -> Advanced Micro Devices PCnet-PCI Ethernet (ethernet network, revision 0x10)
lrw-r--r--   1 agc   agc      53 May 16 22:05 000:18:0: -> Ensoniq AudioPCI 97 (audio multimedia, revision 0x02)
%

pcifs uses the virtdir routines, librefuse and puffs.
2007-05-16 21:44:30 +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
pooka d583f4a1ec Unmount frequently requires some test code, so define it here as
a dummy instead of libpuffs to make plugging the test code in easier.
2007-05-07 17:22:50 +00:00
pooka 2893a07834 Default to inactive-on-demand, use inactive setback to request inactive
to be called for a removed node (for unix open file semantics).
2007-05-07 17:18:50 +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
pooka 65b2578e0c allow to mount nullfs types only from directories
TODO: generalize
2007-04-24 21:38:32 +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
pooka 2878c03588 mount with write-through page cache if command line -t is given 2007-04-22 18:03:18 +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
pooka 9a3c4f612c remove assertion now done in libpuffs 2007-04-20 08:29:28 +00:00
xtraeme 6aad6735ab * tctrl(4) -> sparc/tctrl(4)
* Mention sparc64/envctrl(4) (hi tnn)
2007-04-19 14:26:58 +00:00
agc af7508ae15 Take advantage of the new functionality in virtdir_add() to create
intermediate directories automatically.
2007-04-18 20:33:59 +00:00
agc 9448d95472 When adding virtual directory entries, check the path to see that
intermediate directories have already been created. If not, then
create the intermediate directories. This means that callers don't
need to create the intermediate directories themselves.

When reading a virtual directory, don't return a zero-length
virtual directory entry.
2007-04-18 20:32:16 +00:00
yamt 483db2967f update. 2007-04-18 12:19:45 +00:00
agc 41c7d6fedc Don't allow duplicate directory entries to be created.
Correct a comment.
2007-04-17 22:51:53 +00:00
mrg 4150cdaa18 add JFW 2007-04-17 21:21:50 +00:00
mrg 30804d7205 add the more common definition of FOAD 2007-04-17 21:20:48 +00:00
pooka 66efb94d3b use PUFFS_STORE_DCOOKIE 2007-04-17 11:43:32 +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
pooka 558edb1195 update usage 2007-04-16 13:52:38 +00:00
pooka 4609dd7023 lessen file handle size sanity checks: kernel does it already (mostly) 2007-04-16 13:25:09 +00:00
pooka b173dac692 adapt to kernel changes with file handles 2007-04-16 13:06:39 +00:00
matt 8655342068 -O1 on vax isn't quite enough, add -fgcse -fstrength-reduce -fgcse-after-reload
too.  We can build again.
2007-04-15 22:53:08 +00:00
rumble d5731af33f s/MAC-100/MAC-110/ 2007-04-15 20:31:05 +00:00
agc aac1680082 Add id3fs, a virtual file system, based on librefuse, for accessing
mp3-based files according to artist, genre or year.

Three virtual directories are made available under the mount point -

	artists/
	genre/
	year/

and then virtual directory entries (see virtdir(3)) are created under
these heading directories.

The pkgsrc/audio/id3 package is needed for this file system to function
properly.

Two shell scripts, id3info.sh and id3db.sh, are included to build up
the music database for id3fs to use to build up its virtual
directories.
2007-04-15 15:22:44 +00:00
agc 777436c8cf Add routines to manipulate virtual directory entries, for use with
librefuse-based file systems.

These are especially useful for file systems which present virtual
directory hierarchies to the caller.

The routines build up and manage an array of virtual directory
entries, indexed upon full pathname within the file system.  This is
analogous to the way refuse indexes its own entries.  Routines are
available to add, delete, and find entries.  Each entry can be one of
3 types - file ('f'), directory ('d') or symbolic link ('l').  Each
entry can also be associated with a target, which is a character
string allocated upon addition.  This can be useful for virtual
directory entries of the symbolic link type.

The virtual directory entries can be traversed as an ordered list
(the entries are ordered alphabetically), or can be accessed by
directory component, using routines analogous to opendir(3), readdir(3),
and closedir(3).
2007-04-15 15:10:56 +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
matt 286b959060 For now, make vax default to -O not -O2 2007-04-14 18:39:46 +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
pooka 37dd7942fc Instead of keeping on adding parameters to puffs_mount(), make it
only take the bare essentials, which currently means removing
"maxreqlen" from the argument list (all current callers I'm aware
of set it as 0 anyway).  Introduce puffs_init(), which provides a
context for setting various parameters and puffs_domount(), which
can be used to mount the file system.  Keep puffs_mount() as a
shortcut for the above two for simple file systems.

Bump development ABI version to 13.  After all, it's Friday the 13th.
Watch out!  Bad things can happen on Friday the 13th. --No carrier--
2007-04-13 13:35:46 +00:00
darcy 14be1e0fea Add entry about making include files self-sufficient. 2007-04-13 13:23:58 +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
macallan 2bb5520135 add man pages for chipsfb and genfb 2007-04-12 18:19:53 +00:00
pooka 95a18d20b9 Hide struct puffs_usermount from the rest of the world and provide
accessors for interesting data in it.  Namely, you can now get
pu->pu_privdata with puffs_getspecific(), pu->pu_pn_root with
puffs_set/getroot() and pu->pu_maxreqlen with puffs_getmaxreqlen().
2007-04-12 15:09:00 +00:00
pooka 7ed53cb9ec adapt to new readdir signature. no functional change 2007-04-11 21:10:49 +00:00
pooka 5af002af7d support nfs exporting sysctlfs. it is now possible to manage the
sysctl tree for a host over nfs (for however megaexciting that is)
2007-04-11 21:08:52 +00:00
pooka 3e65ff17b5 support nfs exporting dtfs 2007-04-11 21:07:54 +00:00
pooka c6d7dea8d5 use dev_t from puffs_node instead of duplicating it into
fs specific structures
2007-04-10 13:32:02 +00:00
pooka d99ec1ff38 g/c leftovers 2007-04-10 12:29:29 +00:00
ad e8b43103b0 Try to be more concise, and add a bit more text. 2007-04-09 13:37:57 +00:00
apb e38f02c756 Mention the .../iso directory and explain the difference between
it and the .../${MACHINE}/installation/cdrom directory.  Discussed in
tech-install.
2007-04-09 08:19:54 +00:00
ad 44815c2f0d Tidy up a bit. 2007-04-08 21:41:21 +00:00
scw 5764a76889 Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
erh 35f231fc7a Instead of just a vague reference to ifconfig, mention how one actually
configures the operational mode of the card.
2007-04-08 02:29:39 +00:00
apb 31edfc6f0f * Add a stop_boot() function in rc.subr, to terminate a multi-user boot
by killing the parent process.  The parent's PID is saved in $RC_PID.
* In all rc.d/* scripts that previously tried to stop the boot,
  replace in-line code with "stop_boot".
* Document this.

This should fix PR 29822.
2007-04-06 14:20:08 +00:00
apb 04d90588c9 Use ".Fn" markup for the names of shell functions. 2007-04-06 13:57:08 +00:00
garbled c11bc2d9fc Note that Via V-RAID is supported 2007-04-05 18:37:14 +00:00
kleink a592ab21f2 Merge tzdata2007e. 2007-04-04 19:02:36 +00:00
kleink b77d57aca4 Import tzdata2007e. 2007-04-04 18:59:40 +00:00
jmcneill b25953f4b1 Note that i2s controllers lacking a TAS3004 are also supported. 2007-04-04 02:37:16 +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
apb c275d9092f Add a (very rudimentary) man page for sysinst. Although sysinst doesn't
appear in installed systems, other documents might want to refer to it
via ".Xr sysinst 8".
2007-04-01 16:12:07 +00:00
apb fd49b78d85 * Mention that CD-ROM releases don't include the NetBSD-<rel> directory.
* More consistent indentation.
2007-04-01 14:13:55 +00:00
pooka 4a480ffabb Allocate file memory in blocks instead of one big chunk. Makes
writing large files much cheaper since there's no longer a need to
realloc $lots of memory when the file grows.
2007-04-01 10:55:38 +00:00
agc f44794b224 Add a refuse-based "fanout" file system. This is more commonly known in
the BSD world as a "union" file system.

This fanout file system takes a number of directories and makes them
available under a single mount point.

This is more of an example file sytsem than anything else, but is used
as the basis of a number of other file systems which will be forthcoming
"real soon now".
2007-03-31 21:05:56 +00:00
matt 87e605a5fe Don't test machine_arch for m68k and m68000, just test machine_cpu for
m68k.  Turn on PIC/PICLIB for VAX.
2007-03-31 05:58:30 +00:00
wiz bb711a3c98 Fix typo. Noted by Yorick Hardy. 2007-03-29 18:35:08 +00:00
ad 4d04f2f136 - Note that cv_has_waiters() can only be used to assert that there are
waiters sleeping non-interruptably (i.e., in cv_wait()). Prompted by
  a discussion with pooka@.
- Minor cosmetic changes.
2007-03-29 17:40:36 +00:00
pooka 3f2dd92fb2 document MALLOC_JUSTDEFINE and MALLOC_JUSTDEFINE_LIMIT 2007-03-29 16:29:37 +00:00
pooka 4d4d2d4517 fix definition of runp in VOP_BMAP 2007-03-29 12:06:58 +00:00
uwe c32a7179d7 Document lines=0 and maxwidth=0 2007-03-28 14:45:35 +00:00
wiz 6c48b6bb87 Improve based on comments by Yorick Hardy:
. Describe sysctl nodes
. Add HISTORY and AUTHORS sections
Bump date.
2007-03-27 23:27:54 +00:00
wiz 7e4efa3040 Add pnozz, zx, and magma to enumeration. From Stephan Meisinger in
PR 36089.
Flesh out SEE ALSO.
Bump date.
2007-03-27 22:38:25 +00:00
dyoung 9ff230d3d6 Define four new radiotap fields per discussions with John Bicket, Sam
Leffler, and others:

        IEEE80211_RADIOTAP_RX_FLAGS = 14,
        IEEE80211_RADIOTAP_TX_FLAGS = 15,
        IEEE80211_RADIOTAP_RTS_RETRIES = 16,
        IEEE80211_RADIOTAP_DATA_RETRIES = 17,

I describe the fields in the manual page and in comments in the
header file (cross-referenced by the manual page).
2007-03-26 04:32:14 +00:00
jmcneill 3531e1395b misc/36088: the drm(4) manual page states the wrong major number for the
drm device, from Blair Sadewitz.
2007-03-25 23:19:24 +00:00
liamjfoy 28ed4dc8da Document net.inet.ip.hashsize to control the IPv4 Fast Forward hash table size 2007-03-25 20:13:44 +00:00
wiz c15cd181b7 Add basic drm(4) man page, and link it to drivers.
Feel free to improve it!
2007-03-25 09:11:55 +00:00
liamjfoy 884675b030 Document net.inet6.ip6.hashsize to control the IPv6 Fast Forward hash table 2007-03-23 14:32:45 +00:00
pooka 27eb6005d2 reflect libpuffs change of puffs_access argument unification 2007-03-22 16:59:34 +00:00
pooka 4370dd6320 check puffs_access_{chmod,chown,times} in setattr 2007-03-21 19:56:49 +00:00
xtraeme d79325bc2e Mention machdep.clockmod for INTEL_ONDEMAND_CLOCKMOD. 2007-03-21 19:29:30 +00:00
wiz 5c538d8a46 New sentence, new line. Sort SEE ALSO. Fix Xrefs. 2007-03-21 07:08:14 +00:00
wiz d536a41fdd Sort SEE ALSO. 2007-03-21 07:07:03 +00:00
wiz 43378ed02e Fix xref, sort SEE ALSO. 2007-03-21 07:06:44 +00:00
wiz 6e6a560b22 Drop trailing whitespace. 2007-03-21 07:04:09 +00:00
wiz cda43070d3 Bump date for previous. 2007-03-21 07:03:18 +00:00
xtraeme 7ec39d90bf Mention INTEL_ONDEMAND_CLOCKMOD option, bump date. wiz please review. 2007-03-21 00:56:31 +00:00
pooka 6d03fb0803 add support for permissions and file ownership 2007-03-20 18:30:30 +00:00
yamt 44203998c5 sync with reality. 2007-03-20 11:11:51 +00:00
plunky c6f8856e3c For sdpd(8), change default user/group from nobody/nobody to _sdpd/_sdpd 2007-03-18 15:53:54 +00:00
tsutsui ca549fcb8e CPPICFLAGS -> CPPPICFLAGS (in comments) 2007-03-18 09:08:45 +00:00
gdt bb7ff76312 Refer to the location where TCP-relevant sysctl variables are
documented as sysctl(7) rather than sysctl(3).  (Section 3 describes
C-level functions to access variables, and 7 lists variables along
with their meaning.)
2007-03-15 23:43:18 +00:00
wiz c192a5db61 Mention AZALIA_DEBUG option. 2007-03-15 19:15:19 +00:00
ad 30a3230b81 Document the ipl argument to pool_init. 2007-03-15 16:02:40 +00:00
tnozaki aeadbd280f add tr_TR.ISO8859-9 locale. 2007-03-14 15:49:25 +00:00
wiz a06914e307 New sentence, new line. English improvements. Typo fixes. 2007-03-14 07:10:51 +00:00
xtraeme 67448ad23d Mention acpidump(8) and amldb(8). 2007-03-14 01:48:40 +00:00
xtraeme 28f27645cb Mention adt7467c(4), sort. 2007-03-14 01:23:39 +00:00
xtraeme 21a60be327 Mention ipmi(4), nsclpcsio(4), owtemp(4), tctrl(4) and tm121temp(4). 2007-03-14 01:12:27 +00:00
xtraeme 0e26f4fe7e Mention aiboost(4), bump date. 2007-03-14 01:04:20 +00:00
xtraeme 5b85503255 Mention aiboost(4) and ym(4), bump date. 2007-03-14 00:51:06 +00:00
xtraeme 2c1a694723 aiboost(4) manpage. 2007-03-14 00:43:51 +00:00
pooka ec2d43895a add puffs paper presented at AsiaBSDCon 2007 to "SEE ALSO" 2007-03-13 17:06:10 +00:00
tnozaki 9eae719a71 1. added iconv support of KZ-1048 encoding
2. move PTCP154 to KAZAKH directory.
2007-03-13 16:34:37 +00:00
liamjfoy 41fd192693 ip6.maxflows default value is 256 - document 2007-03-12 14:37:28 +00:00
liamjfoy 8c4318e7ce GATEWAY also builds IPv6 Fast Forwarding 2007-03-12 14:35:22 +00:00
mjf 0fa0fcc9ed mbe(4) also works on the g2bus on the dreamcast.
Closes PR/35974.
2007-03-12 13:55:24 +00:00
xtraeme 25b63d499e Forgot to bump year too. 2007-03-11 22:03:09 +00:00
xtraeme 2fdb9c6dc1 Mention new supported chips, bump date. 2007-03-11 21:59:09 +00:00
apb b76e2d3d5a Document lack of support for -M and -p flags. 2007-03-11 15:54:54 +00:00
apb 76426884d4 Document "-p pax" and "-M -M". 2007-03-11 15:54:10 +00:00
pooka 19dd9ef4ee don't shrink file size when writing to the middle of an existing file
(mandatory AsiaBSDCon live commit)
2007-03-11 10:08:37 +00:00
christos cd3c9e9afd PR/35970: Todd Kover: Add support for HP ML110 G2 / Adaptec 2610SA 2007-03-10 21:09:33 +00:00
rumble ca8778bcd3 Expand names of partition types. 2007-03-10 18:16:50 +00:00
matt 32188e1e88 Fix typo 2007-03-10 00:04:11 +00:00
mjf ac72285ff1 lfs filesystems work with fstab(5), sync man page. 2007-03-09 14:24:05 +00:00
njoly 97eabb6b0d Add hpet device. 2007-03-09 11:00:05 +00:00
tnozaki ab9a36c548 add nn_NO(Nynorsk) and nb_NO(Bokmal) locale. 2007-03-08 16:26:26 +00:00
itohy caf9a4f90d Since netbsd-4 branch moved itself, this driver will be included in 4.0. 2007-03-08 13:05:51 +00:00
rmind 8c218ddd5e We no longer have uio_segflg and uio_procp members in the the struct uio.
Instead of these, we use uio_vmspace. OK: ad@
2007-03-07 22:40:24 +00:00
liamjfoy 16b93348a3 Document net.inet6.ip6.maxflows for IPv6 Fast Forward 2007-03-07 22:24:31 +00:00
tnozaki 64b5b95f38 fix wrong mapping koi8-c,koi8-e. 2007-03-07 15:12:41 +00:00
dogcow c1a14b53bd running in emulated wizd mode, convert caddr_t to void *. 2007-03-07 00:41:16 +00:00
tnozaki 806c2e8ee3 add zh_HK.Big5-HKSCS locale, derrived from FreeBSD. 2007-03-06 15:50:45 +00:00
tnozaki b9412befd1 fix koi8-c mapping. 2007-03-05 17:06:18 +00:00
tnozaki 1bf1d71e3c iconv: add following CCS/CES support.
- CNS11643-[3-7] <-> UCS:BMP/SIP (EUC-TW, ISO-2022-CN-EXT)
- HKSCS <-> UCS:BMP/SIP (Big5-HKSCS)
- JISX0213-[1-2] <-> UCS:BMP/SIP (EUC-JIS-2004,Shift_JIS-2004,ISO-2022-JP-2004)
2007-03-05 16:57:06 +00:00
tsutsui d8e09be7a9 caddr_t -> void * 2007-03-04 15:57:39 +00:00
dyoung 25640dc740 Mention options IPSELSRC. 2007-03-04 05:14:55 +00:00
dsl 3fa05cb2a1 Document -M (creates mfs filesystem for init). 2007-03-03 08:10:09 +00:00
apb 85ea48fdbf In the MAKEDEV(8) man page, document the MAKEDEV_AS_LIBRARY variable.
In the MAKEDEV.local(8) man page, document more detail about the
(now complex) relationship between MAKEDEV and MAKEDEV.local.
2007-03-03 06:53:41 +00:00
wiz 87a68d8b67 Add another sentence, and reword an existing one. From reed@. 2007-03-02 21:40:01 +00:00
wiz 493dae3cbb Nd does not expand Nx. Weird. Found by reed@. 2007-03-02 21:38:57 +00:00
wiz f4b7c05f3a Add RCS Id. Use more markup. 2007-03-02 20:51:21 +00:00
wiz 1138fa346d Add RCS Id. Fix Xref. 2007-03-02 20:51:09 +00:00
wiz 0a76dbaeb5 Fix Dt argument. Remove superfluous Pp. Remove incomplete HISTORY section. 2007-03-02 20:42:10 +00:00