Commit Graph

10512 Commits

Author SHA1 Message Date
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