Commit Graph

10786 Commits

Author SHA1 Message Date
pooka be762f2f50 add HFIW and HSIW
(these acronyms contributed by Jared D. McNeill and his contributors)
2007-10-12 00:14:20 +00:00
pooka de3b90f940 add testing option -l, which causes the flush of the page cache of
the node under lookup (if found)
2007-10-11 23:03:00 +00:00
xtraeme e37a405299 Remove the BUGS section, event delivery of the status has been
there for many years already.
2007-10-11 18:33:49 +00:00
pooka ceb690c88e when removing file, free last block also 2007-10-11 13:50:42 +00:00
xtraeme 7ade6d03ad Fix the problems described in:
http://mail-index.netbsd.org/current-users/2007/07/16/0012.html

- Introduce sme_class into the sysmon_envsys struct to specify a
  class; currently there are two classes: SME_CLASS_ACADAPTER and
  SME_CLASS_BATTERY.

- Add a new envsys event: PENVSYS_EVENT_LOW_POWER that is reached when
  all SME_CLASS_BATTERY devices are in CRITICAL/LOW state and there's not
  any SME_CLASS_ACADAPTER connected.

- Add the 'low-power' event into the sensor_battery script that will
  shutdown the system gracefully via 'shutdown -p'. If powerd(8) is
  not running, cpu_reboot(9) with RB_POWERDOWN is used.

- Make acpiacad(4) a SME_CLASS_ACADAPTER device and acpibat(4) a
  SME_CLASS_BATTERY device.

Update the documentation accordingly to these changes.
2007-10-10 23:25:39 +00:00
pooka 934299af2e * uvn_attach() is a goner
* document UBC_FAULTBUSY
2007-10-10 11:05:15 +00:00
hannken 3c258e6a15 Bump date. 2007-10-08 10:32:38 +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
xtraeme 21f9bf1683 Fix a typo. 2007-10-07 05:33:06 +00:00
xtraeme 5c2d51b913 Sync with the new configuration file format and recent changes
to the envsys framework.
2007-10-07 04:19:51 +00:00
reed 2d8c92dafd My last commit accidently added the links for some other manpages.
Remove those for now.
And commit them later at same time with distrib/sets/lists/base/mi.
Sorry!
2007-10-06 11:39:36 +00:00
ad 431267f955 Add USE_JEMALLOC. 2007-10-06 00:21:44 +00:00
reed bced21f4e8 Add sysctl.conf.5 manpage.
Thank you, wiz, for the few mandoc suggestions.
I slightly reworded part of the description and removed the
advertising clause from the version I posted to tech-userlevel.
2007-10-05 18:49:43 +00:00
alc 366f52110b Sync with code in src/sys/sys/device.h:
- remove the `submatch' argument of config_found_ia()
 - precise that config_found_ia() callis config_found_sm_loc() with both
`locs' and `submatch' set to NULL
2007-10-04 17:28:48 +00:00
alc 36bb949541 fix unbalanced double quote 2007-10-04 17:16:01 +00:00
jnemeth 65bbcf4e7b PR/37048 - Edward Swiftwood -- dbri audio component is supported 2007-10-01 23:15:13 +00:00
jnemeth f66f67f890 PR/37049 - Edward Swiftwood -- SPARC LX -> SPARCstation LX 2007-10-01 23:08:36 +00:00
kleink 9dd53e5eed Import tzdata2007h. 2007-10-01 14:48:39 +00:00
kleink bfe5f952ac Merge tzdata2007g. 2007-09-30 11:28:26 +00:00
kleink f2a092d2c5 Import tzdata2007g. 2007-09-30 11:25:37 +00:00
kiyohara 670e4c5b6e Add bcsp(4). 2007-09-30 04:22:51 +00:00
hubertf f03f64f273 regen 2007-09-29 15:40:58 +00:00
hubertf 7b080fd18e Fix the update-domains target:
update domains.sed to parse new HTML structure, and greatly simplify
it at the same time.
2007-09-29 15:40:31 +00:00
hubertf d5f06899da First step at fixing the update-domains target:
Give the URL that's being redirected to, as ftp(1) can't parse&follow
the redirect automatically.
2007-09-29 14:24:08 +00:00
pooka 90900b0311 dtfs memsets all allocated block content to 0 immediately, so to
avoid wasting unbelievable amounts of memory, set the blocksize to
something more believable.  Should fix the memset-part to act only
up to the size the file is extended to, though.
2007-09-27 12:03:31 +00:00
wiz 8fe4056934 Add piixpcib(4), based on the one provided by Stephan Meisinger in
PR 37021.
2007-09-25 06:27:04 +00:00
wiz 804d4ddaaf Document aprint*_dev and aprint*_ifnet. Requested by joerg@ 2007-09-24 20:44:23 +00:00
christos e179d264f0 Add code to support whitespace checking/cleanup. This disabled by
default.  To enable it, set netbsd-knf-whitespace-check to 't'. See
the help message for this variable for related knobs and issues. This
was tested on emacs 21.4 and 22.1. (From Anon Ymous)
2007-09-24 15:38:11 +00:00
martti 762be05011 bnx supports VLANs. 2007-09-24 08:30:50 +00:00
yamt 97427fb0e4 use a correct type for UIO_*. 2007-09-23 16:00:08 +00:00
martin 0b30abee39 Improve sparc64 "mach" descriptions. 2007-09-23 13:11:32 +00:00
martin 2c30d86670 Add a few missing "mach" commands for sparc64. 2007-09-23 00:26:03 +00:00
martin 0d87a4a4cd Document options DDB_VERBOSE_HELP. 2007-09-22 19:47:51 +00:00
christos 7547d04a0a - revert previous patch; anon ymous does not like it!
- add NetBSD id.
2007-09-22 16:17:52 +00:00
christos cd990eacdf - deal with saving empty buffers
- document the knobs in whitespace.el so that people who want to preserve
  the <space><tab> in config files can.
2007-09-22 15:29:04 +00:00
plunky 713ac0bebd getopt uses : when an argument is expected 2007-09-20 18:27:17 +00:00
christos 0d73c1262a Add whitespace-cleanup when saving to "NetBSD KNF" style. From Anon Ymous 2007-09-19 23:30:08 +00:00
dyoung 594712b2ce Update documentation to match source. 2007-09-19 05:26:21 +00:00
christos 9ba5d03c10 Enable text relocation warnings. 2007-09-15 14:36:14 +00:00
xtraeme 877776516d Modify a block that wasn't valid anymore. 2007-09-14 09:20:49 +00:00
wiz 68b83c64db Fix xref, sort SEE ALSO. Add RCS Id. 2007-09-11 23:26:13 +00:00
agc bb80e7775d Generalise the tests for OBJDIR and non-OBJDIR builds 2007-09-11 23:23:51 +00:00
agc 696c18a993 Generalise the tests for objdir builds, as well as none 2007-09-11 23:23:08 +00:00
wiz 974c81fdf9 Sort sections. Sort SEE ALSO. Use HTML escapes. Remove superfluous .Pp.
Other cleanups.
2007-09-11 22:31:35 +00:00
wiz 57fffb5f82 Sort SEE ALSO. 2007-09-11 22:27:04 +00:00
xtraeme 1dac9ede4d New aps(4) driver for IBM Thinkpad Active Protection System.
Exports some sensors through the envsys(4) framework available
in some Thinkpad laptops.

Ported by Pierre Pronchery from OpenBSD, via PR port-i386/36852.

Tweaks, LKM and misc improvements by me. Added into i386/GENERIC
commented out.
2007-09-11 21:46:52 +00:00
cube c725329722 Remove 3rd clause and my name from all the licences which were only in my
name.
2007-09-10 10:35:51 +00:00
xtraeme ee73e65e69 Sync with reality. 2007-09-09 05:50:02 +00:00
pooka 059aa1fbbc fix usage. from Karl Jenkinson 2007-09-05 17:15:35 +00:00
rillig c68448a666 The layout of the website has changed. Fixed improper capitalization of
NetBSD.
2007-09-05 15:29:10 +00:00
xtraeme 12204718f1 Improve the EVENTS section. 2007-09-05 13:21:16 +00:00
xtraeme 7d70bbe22b Improve the EVENTS section. 2007-09-05 12:05:14 +00:00
xtraeme f0d0cd6d25 Explain the events that this driver will send to powerd(8). 2007-09-04 17:27:41 +00:00
xtraeme f1a8abb9c7 Xref powerd(8). 2007-09-04 17:19:51 +00:00
xtraeme b5822e79d4 Update to match current code. 2007-09-04 16:55:02 +00:00
tshiozak 260d6cea73 add manpage for uchcom(4). 2007-09-03 18:02:16 +00:00
xtraeme b7b3d8fc09 Document the "generic-state-string" object in sensor's dictionary. 2007-09-02 20:35:03 +00:00
xtraeme e5707563c8 Document the new sensor units type: ENVSYS_GSTRING and its member
in the envsys_data_t struct.
2007-09-02 20:27:03 +00:00
xtraeme 71185618cd Mention support for VIA CX700 IDE and NVIDIA MCP67 IDE/SATA Controllers. 2007-08-31 01:39:46 +00:00
xtraeme 3301f9a5e5 Improve NAME description. 2007-08-31 00:19:21 +00:00
xtraeme ae19b58541 Sync with reality, this driver supports up to ICH9 including IDE
and SATA controllers.

Bump date.
2007-08-31 00:05:44 +00:00
jnemeth dbb24a617e update for iso-image-source 2007-08-30 10:45:03 +00:00
agc a577a06f30 Modify the NetBSD emulation of the FreeBSD __DECONST macro to include
the cast as well. From Dag-Erling Co\xEFdan Sm\xF8rgrav.
2007-08-29 22:28:23 +00:00
hira 02972af57d Use /libexec/ld.elf_so instead of /usr/libexec/ld.elf_so for the
programs which are located in /libexec.
2007-08-29 21:34:17 +00:00
pooka 09a4bf893f bump date
Wrath of wizd avoided because of quick tip from Juan RP.
2007-08-29 13:57:02 +00:00
pooka 94e818b264 Add table which summarizes operations supported by each queue type.
from Stathis Kamperis in PR misc/36857
2007-08-29 13:43:18 +00:00
xtraeme 4ef83b5649 Bump date for previous (ICH9 support). 2007-08-29 09:04:04 +00:00
msaitoh 9d645794b3 add ICH9 2007-08-29 03:17:37 +00:00
agc 0920b4f20b Add a new refuse-based file system called ian - the Internet Access Node.
This utility uses FreeBSD's libfetch (updated for NetBSD, and to quieten
lint) to provide a BSD-licensed ftp/http/https file system similar to the
old alex utility. The full URL is used as the path underneath the "/ian"
mountpoint.

Sample use as follows:

	[19:09:38] agc@inspiron1300 ...examples/refuse/ian 126 > priv ian/obj/ian /ian
	[19:09:55] agc@inspiron1300 ...examples/refuse/ian 127 > cat /ian/ftp://localhost/motd
	NetBSD 4.99.27 (INSPIRON) #4: Tue Aug 7 13:04:33 BST 2007

	Welcome to NetBSD!

	This system is running a development snapshot of the NetBSD operating system,
	also known as NetBSD-current.  It is highly possible for it to contain serious
	bugs, regressions, broken features or other problems.  Please bear this in mind
	and use the system with care.

	You are encouraged to test this version as thoroughly as possible.  Should you
	encounter any problem, please report it back to the development team using the
	send-pr(1) utility (requires a working MTA).  If yours is not properly set up,
	use the web interface at: http://www.netbsd.org/support/send-pr.html

	Thank you for helping us test and improve NetBSD.

	[19:10:17] agc@inspiron1300 ...examples/refuse/ian 128 > df
	Filesystem   1K-blocks       Used      Avail %Cap Mounted on
	/dev/dk0      28101396   19491972    7204356  73% /
	kernfs               1          1          0 100% /kern
	procfs               4          4          0 100% /proc
	ptyfs                1          1          0 100% /dev/pts
	/dev/puffs           0          0          0 100% /ian
	[19:10:21] agc@inspiron1300 ...examples/refuse/ian 129 > ls -al /ian/ftp://localhost/motd
	-rw-------  1 root  wheel  705 Aug 28 19:10 /ian/ftp://localhost/motd
	[19:10:42] agc@inspiron1300 ...examples/refuse/ian 130 > ls -al ~ftp/motd
	-rw-r--r--  1 ftp  ftp  705 Aug 27 21:33 /home/ftp/motd
	[19:10:53] agc@inspiron1300 ...examples/refuse/ian 131 >
2007-08-28 19:45:02 +00:00
agc 5a236e395c Makefile for new ian file system 2007-08-28 19:39:30 +00:00
xtraeme 8972430efc - Remove reference to unexistent sysmon_power(9). (I will work on this
manpage, but no ETA yet).
- Xref envstat(8).
2007-08-28 08:36:18 +00:00
xtraeme d4dc22f1aa The buffer returned by prop_dictionary_externalize() must be freed
by the caller, so update the example.

Also remove all refs to the envsys drivers, they all will be Xref-ed
from envstat(8) (a single source).
2007-08-28 08:22:58 +00:00
xtraeme 3ed930f279 Valid arguments for rw_enter() and rw_tryenter() are RW_READER/RW_WRITER
not RW_READ/RW_WRITE.

Bump date.
2007-08-27 15:43:13 +00:00
xtraeme b78e454756 tyop 2007-08-26 18:26:22 +00:00
xtraeme c52324299f Add a manpage for the ichlpcib(4) driver. This needs some wizd-ification. 2007-08-26 18:05:43 +00:00
jnemeth ed8e813048 add HHOS -- ha ha, only serious 2007-08-25 10:13:50 +00:00
pooka 1a9e88bd0f fix/clarify VOP_CLOSE 2007-08-24 09:57:03 +00:00
kiyohara 89ad31246c Add some devices. 2007-08-21 10:59:53 +00:00
kiyohara d080794a69 Add btuart and btbc. 2007-08-21 10:56:11 +00:00
agc b143e0b001 If we're writing to a file, make sure the version we're writing is in
the topmost directory (the writable one).  If it's not there, copy the
file to there.
2007-08-20 21:55:44 +00:00
perry 3749a6a002 "must instead be used" -> "must be used instead" 2007-08-20 16:08:55 +00:00
perry e34be9798b Never use "utilize". It means exactly the same thing as "use", but it
is longer and more cumbersome. It can always be replaced with "use"
without any change in meaning.
2007-08-20 16:07:05 +00:00
kiyohara 10448cd503 Add support for AnyCom BlueCard. 2007-08-20 00:29:43 +00:00
tnn 6d441a221f Move spdmem.4 to the i2c section. 2007-08-19 18:58:36 +00:00
tnn 449902fc06 Add spdmem(4) driver. This decodes technical specifications stored in
the eeprom on common types of memory modules. The specifications are
displayed during boot and can later be queried in the hw.spdmemN sysctl
subtree. Stub driver written by Nicolas Joly and greatly improved upon by
Paul Goyette. From PR 36745, with additional improvements by Paul and me.
2007-08-18 11:26:35 +00:00
pooka 25a346d4fb Nuke PUFFSLOOKUP_FOO and move to NAMEI_FOO 2007-08-15 14:19:19 +00:00
pooka 37f06f1c57 sysctlfs was moved to base 2007-08-15 14:13:57 +00:00
kiyohara 44c89c7646 Replace to Matthew Orgass's slhci(4).
http://mail-index.netbsd.org/tech-kern/2007/06/26/0001.html
2007-08-15 03:53:08 +00:00
wiz 09bb3e5a2f Use .Nx. 2007-08-12 03:15:18 +00:00
rumble 29de6bc603 Add a note about PMTU lossage in some SGI firmwares. 2007-08-12 01:44:33 +00:00
pooka a307c8e659 boolean_t -> bool sweep 2007-08-11 19:16:21 +00:00
rumble b62e2a9bce Fix typo in dhcpd.conf example. 2007-08-11 18:58:15 +00:00
mishka 6e6d7fe39f Adjust wscons.conf documentation to its current 'setvar' behavior
(rc.d/wscons is now able to set variables for arbitrary control device).
2007-08-10 06:14:08 +00:00
pooka ba4e596bc9 move sysctlfs from examples to base 2007-08-09 22:01:25 +00:00
pooka 5b593f2aeb require standard mount_foo bar /path usage, where bar is ignored here 2007-08-09 21:54:27 +00:00
pooka 4a7c7712c6 * require standard mount_foo bar /path usage, where bar is ignored here
* allow only root callers to modify sysctl tree
2007-08-09 21:54:16 +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 f208ab1cd8 boolean_t -> bool 2007-08-08 21:36:43 +00:00
pooka 572974402c krwlock_op_t -> const krw_t 2007-08-08 09:34:40 +00:00
wiz 2d861dae37 Use more markup. Try to improve english. Sort SEE ALSO. 2007-08-07 20:50:39 +00:00
xtraeme ea44cd3ae2 <wizd> Bump date for previous. 2007-08-07 15:00:09 +00:00
oster 761dfd3017 Talk a bit more about how the size of a RAID set is determined, and
of RF_PROTECTED_SECTORS.  Requested by (and with comments from and
thanks to) Christoph (bad@).
2007-08-06 19:44:16 +00:00
lukem aae621fdad Support MAKEVERBOSE when installing APPDEFS. 2007-08-06 04:25:57 +00:00
pooka c5653da5a1 install bsd.klinks.mk 2007-08-05 21:50:32 +00:00
pooka 9af4ce05d6 Split the part of bsd.kmod.mk which creates links to kernel header
directories into a separate module, bsd.klinks.mk.
2007-08-05 21:43:24 +00:00
rmind 2e1a7ade3c Sync the manual pages of workqueue(9) interface with the code.
/etc/rc.d/wizd start
2007-08-05 17:57:37 +00:00
pooka c7d9ec16a7 VFS_MOUNT():
+ nameidata is a goner
  + document dlen (hi dsl!)
2007-07-31 21:39:56 +00:00
alc 9abba19570 kills a few `caddr_t' occurences still present in manpage 2007-07-30 22:48:46 +00:00
mjf 16b3db7a9b Fix some grammatical errors in man pages.
Patch supplied by Joerg Niendorf in PR misc/36707, thanks.
2007-07-30 18:01:41 +00:00
rumble daacba5e07 Be more specific in the description of VOP_READDIR:
- uio->uio_offset must be set to the offset of the next directory entry.
 - each cookie entry points to the next directory entry's offset, not the
   current entry's offset.
 - cookies must be callee allocated with malloc type M_TEMP.
2007-07-30 03:25:50 +00:00
joerg 577a8c7029 Add build glue for libarchive and update the various sets. 2007-07-29 17:06:00 +00:00
pooka 833194271b update CODE REFERENCES to match new module 2007-07-29 09:40:54 +00:00
kiyohara 37b3e2d574 Add support for Intel ICH SMBus controller. 2007-07-28 10:51:56 +00:00
pooka 1f1ebcb118 VOP_MMAP fflags -> prot 2007-07-27 08:31:30 +00:00
pooka e4b63c41f0 implement node_mmap and allow to specify accepted mappings on command line 2007-07-27 08:29:10 +00:00
pooka c1d612fca8 <machine/stdarg.h> is needed for va_lists 2007-07-26 10:00:21 +00:00
pooka 0abd6d25d4 missed a few due to the blinding effects of underlining 2007-07-26 08:43:52 +00:00
pooka 9cb446adae include variable names in synopsis 2007-07-26 08:42:17 +00:00
pooka 924961206f pool_init: wchan is const 2007-07-25 09:14:18 +00:00
jmmv 0e18937ef2 Fix my email address in a comment; the old one does not exist any more. 2007-07-24 09:19:52 +00:00
pooka 27c5f7cba3 Match code with comment (can't really remember doing it often that
way around .. ) and initialize storage to zero when extending a file.
2007-07-22 13:19:38 +00:00
pooka a53b2cab5e missed one place to set dirent namelen - unmiss it 2007-07-22 12:26:58 +00:00
dsieger 206d59d40f Fix a glitch in previous commit:
s/mi_switch 9/mi_switch.9/

Reported by Paul Goyette.
2007-07-21 15:35:46 +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
pooka 87429c840c Oops, the cookies for nfs of course represent the *next* directory
entry offset, not the current one.
2007-07-19 10:14:53 +00:00
pooka b4d2a683de -m for setting maxreqlen 2007-07-19 07:58:56 +00:00
degroote aaae7fb8c2 Note that you need the 2.14.4 firmware now 2007-07-18 18:51:16 +00:00
dsieger 2fb0acefe7 Sync with reality:
- cpu_switch() is gone.
- Adjust function prototypes and return values
- Add references to csf(9) and sched_4bsd(9).
- Bump date.
2007-07-18 12:43:12 +00:00
yamt 916da2eb8f document kpause. largely copied from condvar.9. 2007-07-18 12:18:06 +00:00
dsieger 55e48935f0 Remove references to SCHED_LOCK(9), which is gone. Slightly sync with
reality.

XXX: This needs more updates after idle-lwp changes.
2007-07-17 20:56:22 +00:00
xtraeme 92f4397e50 Explain a bit more about edata->desc being unique in a device. 2007-07-17 17:10:58 +00:00
pooka ce80f00ff3 With fullpath support we need to check name lengths also, otherwise
lookup for "foo" will match "foobar".
2007-07-17 16:33:27 +00:00
pooka 9ee5fb2795 nuke accidental debug printf 2007-07-17 16:00:56 +00:00
pooka 0038fe558b Use "sysctlfs" as the type name instead of the mountpath.
Methinks it's nicer that way.
2007-07-17 12:03:46 +00:00
pooka 08db7d7534 * add mntfromname parameter to puffs_init()
* set it in file servers
2007-07-17 11:34:51 +00:00
xtraeme 811e1e2e60 Fix a typo: it's ENVSYS_FPERCENT not ENVSYS_FPERCENTAGE.
Bump date.
2007-07-16 17:37:10 +00:00
gdt e39a74728c Add 29160 to list of supported devices. List it as ASC-29160 instead
of AHA- because that's what the packaging says (apparently short for
"Adaptec SCSI Card 29160", also on the packaging).  Tested on
netbsd-4/i386.

Like pavel's, mine also works at Ultra160:
ahc2 at pci1 dev 5 function 0: Adaptec 29160 Ultra160 SCSI adapter
ahc2: aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs
st0 at scsibus1 target 5 lun 0: <CERTANCE, ULTRIUM 2, 1914> tape removable
st0: sync (12.50ns offset 127), 16-bit (160.000MB/s) transfers

Bump date.
2007-07-16 14:06:07 +00:00
wiz 680eacb522 Fix Fn abuse. New sentence, new line. End sentence with dot. 2007-07-15 21:33:12 +00:00
wiz c01b8826d1 Fix Fn abuses. Sort SEE ALSO. End sentences with dots.
Use .Nm more.
2007-07-15 21:31:15 +00:00
wiz 32986e5aa1 No ending dot in Nd. 2007-07-15 21:19:26 +00:00
tnozaki 082ee1f077 forgot to add dec-mcs entry to mapper.dir 2007-07-15 14:44:37 +00:00
tnozaki 33793b3134 add CP922 support to iconv. 2007-07-15 14:41:18 +00:00
jnemeth 77e1eaa78e setrunqueue is no more 2007-07-15 02:57:23 +00:00
dsieger 82d31a4a20 Remove obsolete SCHED_LOCK(9), which is gone.
ok by <ad>
2007-07-14 22:09:57 +00:00
dsieger eeeb9eddd5 Add references to sched_4bsd(9). 2007-07-14 22:02:33 +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
xtraeme 8f6e6386cb Bump date. 2007-07-14 11:47:15 +00:00
ad 8751253925 Update mlinks for callout/kthread changes. 2007-07-14 11:39:01 +00:00
ad 8a398d3980 Sync with reality. 2007-07-14 11:34:54 +00:00
ad 58af9c20d0 Sync with reality. 2007-07-14 11:22:33 +00:00
ad 53d643b5f7 - kcont was removed.
- Replace some references to tsleep.
2007-07-14 10:52:47 +00:00
xtraeme fb3a719044 New udav(4) device, from Julian Suschlik via current-users@. 2007-07-12 21:26:03 +00:00
dsl ffa428bf85 Document the 'flags' parameter to kauth_cred_set/getgroups.
Fix some obvious typos in the return types and return values of these
functions.
2007-07-11 19:12:09 +00:00
kiyohara 1f48268a37 Add support for NVIDIA nForce 2/3/4 SMBus controller and SMBus driver. 2007-07-11 07:53:29 +00:00
degroote 7440188711 Update the man page to reference the use of a new firmware for wpi. 2007-07-09 19:59:40 +00:00
dsl 1f7faf40a2 Change the entry for ptmx to use the netbsd ptm driver.
Delete the entries for pts/nnn and add a note at the tope (next to the
ptmx info) about using ptyfs for the pts devices.
2007-07-05 19:34:36 +00:00
xtraeme 8a70d87249 Sync with reality. 2007-07-05 16:00:39 +00:00
xtraeme c51a1c15bf Add the CODE REFERENCES section. 2007-07-04 17:35:20 +00:00
xtraeme e719333534 Document the sysctl node to change the refresh value of the callout
function that monitors the sensors.
2007-07-03 22:47:20 +00:00
joerg dbfc63fcce Rename nbinstall to ${MACHINE_GNU_PLATFORM}-install as it calls the
target strip. Don't pass down strip as it is not needed any longer.
2007-07-03 16:29:24 +00:00
yamt 2025659d20 update and document yield(). 2007-07-03 12:14:24 +00:00
mrg 86e49bbf53 remove the BUGS entry about >1GB ram being a problem, as it's been fixed
since early this year.
2007-07-02 20:49:48 +00:00
xtraeme f924a08281 Forgot to update another part. 2007-07-02 20:46:55 +00:00
xtraeme a485348536 Improve description. 2007-07-02 20:43:47 +00:00
xtraeme ce7d148c9a Add missing comma. 2007-07-02 20:07:23 +00:00
xtraeme bc794f88ae Explain the event that mfi(4) will send to powerd(8) when a drive
is not online.
2007-07-02 16:23:58 +00:00
xtraeme 97ca291124 Add another section explaining the events that acpitz(4) will send
to powerd(8) when a Thermal Zone is critical or hot.
2007-07-02 16:05:08 +00:00
xtraeme 2aaf4fe072 Add another section explaining the events that acpibat(4) will send
to powerd(8) when battery capacity is critical or lower < warncap/lowcap.
2007-07-02 15:59:32 +00:00
xtraeme 8454ce25b1 Xref powerd(8). 2007-07-02 15:49:50 +00:00
xtraeme 49830c79f0 Add another section explaining the events that ipmi(4) will send
to powerd(8) when state in a sensor has changed.
2007-07-02 15:48:33 +00:00
xtraeme bdb4152ea8 Fix typo and bump date. 2007-07-02 08:44:18 +00:00
pooka 3c01554a05 dtfs -f for PUFFS_KFLAG_LOOKUP_FULLPNBUF 2007-07-01 22:59:09 +00:00
pooka 6596e0c995 adapt: **newnode etc. pointers -> struct puffs_newinfo 2007-07-01 18:40:15 +00:00
pooka fe7bbdec69 adapt: pid -> const struct puffs_cid * 2007-07-01 17:23:44 +00:00
pooka 1776bc7796 adapt: pcn->pcn_cred is now a pointer 2007-07-01 15:32:02 +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
pooka b013a2d4f9 Include struct componentname declaration in struct namei - it's
usually the more interesting of the two anyway.
2007-06-30 18:55:19 +00:00
pooka 21a7d11f2b Fix description on what is returned locked and when.
noticed by Rumble
2007-06-28 08:02:41 +00:00
rumble d831b3217f Fix typo. 2007-06-28 02:54:23 +00:00
xtraeme a5ac7ff5aa Import i386/gcscide(4). A driver for the IDE Controller of the
AMD CS5535 Companion device found in the decTOP.

gcscide0 at pci0 dev 15 function 2
gcscide0: National Semiconductor/AMD CS5535 IDE Controller (rev. 0x00)

Supports Ultra DMA mode 4, Pio Mode 4 and MDMA mode 2.

"Go for it" jmcneill@.
2007-06-27 23:02:52 +00:00
degroote dbbafa7889 Note that fast_ipsec(4) now supports IPSEC_NAT_T option 2007-06-27 21:27:35 +00:00
christos 5c67bb8390 man bits from anon ymous 2007-06-25 23:36:18 +00:00
jschauma 129a9f6a6e add FTHOI (for the {heck,hell} of it) 2007-06-25 17:25:17 +00:00
rumble 4f748f12bb Note that if vp is NULL in cache_enter, a negative entry is created. 2007-06-25 16:33:50 +00:00
rumble 436b31f333 Add va_birthtime. 2007-06-24 22:49:44 +00:00
pooka 53a4105885 Actually, keep PUFFS_KFLAG_NOCACHE and -o cache around as shorthand
to neither page- nor namecache.
2007-06-24 22:25:49 +00:00
pooka 5662e7f720 PUFFS_KFLAG_NOCACHE became two, so introduce the command line options
-o nonamecache and -o nopagecache and adapt file systems where necessary.
2007-06-24 22:18:38 +00:00
rumble b9ff3c810f TRUE -> true, FALSE -> false. 2007-06-24 19:26:58 +00:00
pooka 3aa77bc919 Just to demonstrate namemod a bit further, make this flip the case
of filenames / contents instead of rot13 if -f is given.
2007-06-24 18:59:27 +00:00
pooka 39542808a8 cast tolower() arg to unsigned char 2007-06-24 18:57:26 +00:00
pooka 0d05db1c32 use puffs_null_setops() 2007-06-24 18:43:30 +00:00
pooka a2b6c72725 fix this also, had a similar rototill-typo as rot13fs 2007-06-24 18:37:40 +00:00
pooka eb83bd6c94 I wasn't going to add any more silly examples, but I'll bite for
this one, since it's a good exercise ..

Add icfs, which does the same thing as the refuse-based icfs agc
added earlier this week, i.e. null-mounts & converts the entire
namespace to lowercase.  However, it's a fun comparison, since this
is implemented in a completely different fashion from the refuse
version.
2007-06-24 18:32:00 +00:00
rumble 60f2903e7a struct dirent is padded to an 8 byte boundary according to sys/dirent.h. 2007-06-22 15:03:40 +00:00
agc a08d769680 Initial import of icfs, a case-insensitive/retentive file system.
This file system is based on librefuse and puffs.

	The icfs(8) utility can be used to mount an existing directory on a
	new mount point.  icfs makes use of the virtdir(3) virtual directory
	routines.  Underneath those virtual directories, the individual
	directory entries will be displayed as an exact mirror of the original
	directory, except that any capital letters in the original entry's
	name will be substituted with an entry name consisting entirely of
	lower-case letters.

This is an unusual example of a refuse-based file system which provides
lesser functionality than the file system it sits on.
2007-06-21 22:05:28 +00:00
agc 5599c23a3d Record the root directory at initialisation time.
Add a function to "normalise" a path to condense multiple repeated '/'
characters into one.
2007-06-21 21:59:32 +00:00
ginsbach 8d82f5f607 Add newgrp(1) cross-reference. 2007-06-21 15:12:59 +00:00
pooka 1c4b40e1bc fix typo from previous rototill, makes this work again 2007-06-20 21:11:26 +00:00
pooka 5d2746d022 There is no p - it's the calling lwp these days. 2007-06-20 16:35:52 +00:00
christos eeff189533 - per socket keepalive settings
- settable connection establishment timeout
2007-06-20 15:29:17 +00:00
tsutsui d562fea75e sn(4) driver on mac68k has been switched to using MI SONIC driver,
so prepare MI sn(4) man page. Also improve some descriptions.
2007-06-20 13:31:54 +00:00
christos f666788961 mention services_mkdb; from Thilo Jeremias 2007-06-19 19:26:10 +00:00
tnozaki d260ecaa44 add CP116[12](Thai ISO-8859-11 variant), CP1129,CP1163(Vietnamese). 2007-06-18 16:19:30 +00:00
pooka 0031e99f45 ident is now of type wchan_t 2007-06-17 18:50:07 +00:00
jmcneill 5ceea27797 Add man page for AMD Geode LX AES Security Block driver. 2007-06-15 23:04:20 +00:00
pooka d1e849f0c3 vprint takes a const char *label 2007-06-15 11:42:11 +00:00
hira 7b2f242c1b + I/O DATA USB-RSAQ3, I/O DATA USB-RSAQ5. 2007-06-14 14:46:09 +00:00
tnn ede286013f net.inet.tcp.newreno is no more. 2007-06-13 20:37:07 +00:00
wiz b2d2e8fa61 Whitespace nits. 2007-06-13 00:00:23 +00:00
joerg 5ccf1c578a Add a new ioctl AUDIO_GETBUFINFO. It works like AUDIO_GETINFO, but
doesn't obtain the ports, gain and balance related parameters.
Those generally require reading from the hardware and therefore are much
more expensive to obtain. Modify OSS emulation to use the new ioctl
where possible.

This reduces CPU usage of mplayer during mp3 playback with my Thinkpad
from 20% to < 1% and from 50% to 20% during Xvid playback.

Review and comments from jmcneill@
2007-06-11 13:05:46 +00:00
kiyohara 7bfb0e94c3 Add zyd(4). 2007-06-09 12:28:25 +00:00
kiyohara bbec0bb7bf Added OpenBSD's zyd(4) driver.
Supports ZyDAS ZD1211/ZD1211B USB IEEE 802.11b/g wireless network device.
2007-06-09 11:20:54 +00:00
tron 14f772ea69 Don't use alloca(3) inside the X11 libraries if we compile with
stack protection. XFree86 can now be buildt fine with "USE_SSP=yes".
2007-06-07 11:49:17 +00:00
rillig f1ed085bcf Explained the word "new" in the first paragraph. 2007-06-06 06:18:39 +00:00
pooka f8326bf98e Move puffs to a two clause license where it already isn't so. And
as agc pointed out, even files with the third clause were already
effectively two clause because of a slight bug in the language...
2007-06-06 01:54:59 +00:00
pooka ae34899ec3 make getopt() actually accept -t also 2007-06-05 12:20:35 +00:00
mishka d7d886db87 Our VLAN implementation (as it correctly expected) is not allowed
to modify the whole VLAN tags, but it is permitted to change 12-bit
VLAN identificators only. Reflect this fact on the appropriate man
pages.

Antti Kantee and Mihai Chelaru from #netbsd-code were helpful in
better understanding of VLAN stuff. Thank you!
2007-06-05 11:15:15 +00:00
jnemeth 8d9552c610 PR/36436 - Joerg Niendorf -- missing "the" 2007-06-04 11:08:36 +00:00
uwe 00fa1e6950 Stack protector codegen bug on sh3 has been fixed, so drop sh3 from
the list of platforms where we disable ssp.
2007-06-03 21:07:33 +00:00
xtraeme 34dba262f3 Mention Enhanced Speedstep related options for amd64. 2007-06-03 19:35:26 +00:00
christos 380cacfb28 we can now compile libc with _FORTIFY_SOURCE 2007-06-03 17:42:18 +00:00
tnozaki 05df4b4fef add following encoding suuport of iconvdata:
CP1046(Arabic Extended)
	CP1124(Cyrillic, Ukraine)
	CP1125(PC, Cyrillic, Ukrainian)
2007-06-02 06:09:08 +00:00
uwe 7390dfc401 Add smsc.4 (hi, brett!) 2007-06-01 18:10:00 +00:00
blymn 5113d21113 Add man page for smsc device driver. 2007-06-01 14:12:45 +00:00
jnemeth d3eeea012e note new xirc manpage 2007-06-01 11:34:32 +00:00
jnemeth a3c546562b xi now attaches at xirc, not pcmcia
PR/36310 -- Joerg Niendorf
2007-06-01 11:24:22 +00:00
is f463f993c1 Manual page for the driver for SigmaTels not-quite-UIRDA bridges. 2007-06-01 09:52:01 +00:00
mrg dd01c9b84e add "when" to the list in WTF/WTH 2007-05-31 20:03:59 +00:00
wiz 7fb92a5963 Updates for Switzerland and Liechtenstein. 2007-05-31 05:57:01 +00:00
uwe 7243a4e86c Fix inverted comparison ${MACHINE_ARCH} != "hppa" when checking for
ssp.  (hi^2 tls!)
2007-05-31 00:17:32 +00:00
uwe c7bdc65e61 Use matching open and close parens.
Why make doesn't complain about $(foo} ?
2007-05-30 22:54:12 +00:00
tls 14aa3a04d9 Fix typo, and eliminate mention of libssp since it's gone.
Move -D_FORTIFY_SOURCE to CPPFLAGS from COPTS.
2007-05-30 21:27:54 +00:00
tls dc99372be9 Match usage of FORTIFY_SOURCE on other platforms by not requiring special
include path: the normal header files now include the "SSP" ones (which one
should note are not really named right: SSP and FORTIFY_SOURCE are independent
features).

Disable USE_SSP on targets where the compiler doesn't support it at all
(mips, alpha) or it's known broken (sh3).  But enable FORTIFY_SOURCE,
without SSP, on those platforms -- tested on mipsel.
2007-05-30 21:14:35 +00:00
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