Commit Graph

9943 Commits

Author SHA1 Message Date
tnozaki
e105ab22c2 add iconv support following encoding:
CP858	- CP850 with euro sign
	CP942	- variant of CP932(JIS-ROMAN + JIS78)
	CP942C	- ditto(ASCII + JIS78)
	CP943	- ditto(JIS-ROMAN + JIS83)
	CP943C	- ditto(ASCII + JIS83)
	TDS565	- Turkmen Alphabet(ISO-IR-230)
2006-11-29 15:45:26 +00:00
elad
646f2112d3 Make Veriexec use proplib(3) for kernel-userland data passing.
Obviously, this breaks the already unstable Veriexec ABI, but that's
it. Some cool additions are planned to be introduced, and this just
makes it so that NetBSD 4.0 users will be able to easily use them as
well.

This also removes the fingerprint type name limit, so relevant code
was adjusted.

Thoroughly tested (even uncovered a bug in proplib! thanks for fixing
that cube@!). Documentation updated.
2006-11-28 22:22:02 +00:00
pooka
0dd37417ef match description of VOP_PUTPAGES with reality 2006-11-28 19:26:30 +00:00
elad
8bb202af97 Move ktrace, ptrace, systrace, and procfs to use kauth(9).
First, remove process_checkioperm() calls from MD code. Similar checks
using kauth(9) routines (on the process scope, using appropriate action)
are done in the callers.

Add secmodel back-end to handle each subsystem.
2006-11-28 17:27:09 +00:00
elad
21bc112176 Implement Veriexec's raw disk policy on-top of kauth(9)'s device scope,
using both the rawio_spec and passthru actions to detect raw disk
activity. Same for kernel memory policy.

Update documentation (no longer need to expose veriexec_rawchk()) and
remove all Veriexec-related bits from specfs.
2006-11-26 20:27:27 +00:00
dsl
d23b6980be Comment where make's internal copy of .OBJDIR gets changed 2006-11-26 20:09:57 +00:00
wiz
dee9175769 Bump date for previous. 2006-11-26 16:36:06 +00:00
elad
df07d5d652 I wanted to do this for so long: veriexec_init_fp_ops() -> veriexec_init(). 2006-11-26 16:22:36 +00:00
drochner
29d30258a4 mk.conf might refer to all kinds of make variables, so we can't just pull
it in without everything else (reported by martin). So revert to 1.485
which did at least work for everyone.
2006-11-26 13:59:49 +00:00
jmmv
175531f6ed Mention the maximum line length allowed in the passwd file.
Inspired by PR misc/34664.
2006-11-26 11:43:48 +00:00
jmmv
964c039645 Explain that groups can be defined using multiple lines due to the fixed
line length used to parse the file.  Closes PR misc/34664.
2006-11-26 11:35:39 +00:00
christos
2c8c97cf53 Add LevelOne WNC-0301USB 2006-11-25 21:44:44 +00:00
elad
6a55f622e6 First take of MI boot(8) man-page, suggested by agc@.
Okay agc@.
2006-11-25 17:43:47 +00:00
christos
c0179c282a spell precede; from Zafer 2006-11-25 16:48:31 +00:00
tnozaki
16b9b1a8bf use mapper_zone to avoid pivot conversion by ucs. 2006-11-25 15:30:44 +00:00
scw
512f329f66 Document disk_blocksize(9). 2006-11-25 12:00:25 +00:00
tnozaki
0a9d990226 1. add iconv support for Lao language - CP1133, MULELAO-1.
2. add alias Thai language: TIS620, ISO-IR-166.
2006-11-25 10:27:22 +00:00
wiz
fa34b615d2 Correct spelling of "immediate(ly)". From Zafer. 2006-11-24 21:23:07 +00:00
christos
1665d5e960 fix spelling of accommodate; from Zapher. 2006-11-24 19:46:58 +00:00
christos
3d98aa3f4b fix spelling of accidentally; from Zapher 2006-11-24 19:37:02 +00:00
drochner
0c2df71a45 fix previous: need to pull in <bsd.obj.mk> to get the real .OBJDIR 2006-11-24 12:02:55 +00:00
rpaulo
785b8e0981 WARNING: input date is in the past! 2006-11-23 18:02:15 +00:00
elad
6d74a5fdc7 Document Veriexec strict levels (hm, maybe we should have veriexec(8)?)
as requested by Adam Hamsik.
2006-11-23 13:23:22 +00:00
martin
6a3c1d7aeb When checking wether we are debugging, look for -g in ${CFLAGS} instead
of ${COPTS}. The latter explicitly includes the former and ${DBG}, where
the -g most likely is hidden.
2006-11-23 12:05:26 +00:00
rpaulo
370be902f0 WARNING: date is in the future! 2006-11-23 04:12:51 +00:00
rpaulo
5423539f94 New EtherIP driver based on tap(4) and gif(4) by Hans Rosenfeld.
Notable changes:
	* Fixes PR 34268.
	* Separates the code from gif(4) (which is more cleaner).
	* Allows the usage of STP (Spanning Tree Protocol).
	* Removed EtherIP implementation from gif(4)/tap(4).

Some input from Christos.
2006-11-23 04:07:07 +00:00
tnozaki
dec2eb4c9d 1. move GB*.esdb from i18n/esdb/MISC to i18n/esdb/GB directory.
2. add iconv support for Chinese Tradisional GB12345.
2006-11-23 03:25:24 +00:00
hubertf
1ee989e6be Don't try to handle symlinks on versions of the SSH File Transfer Protocol
that don't support it, e.g. the Solaris 9/x86 sshd (SSH-2.0-Sun_SSH_1.0;
..._1.1 from Solaris 10/x86 is fine)

OK'd by pooka@
2006-11-23 01:51:15 +00:00
tnozaki
8033a5b008 1. add iconv support for following encodings:
Chinese Simplefied
        HZ, HZ8 - 7/8bit stateful encoding, see RFC1842,1843. (libHZ)
        zW      - 7bit stateful encoding, see RFC1842. (libZW)
2. add citrus_prop.[ch] - parser for encoding module's init parameter strings.
2006-11-22 23:38:25 +00:00
dsl
503ea65cd7 If we only want .OBJDIR printed, there is no point parsing the default
make rules, nor reading Makefile.
It is rather a shame we can't stop .depend being parsed as well.
Quite possibly one could argue that nothing in .depend should affect the
output of 'make -V xxxx'.
2006-11-22 22:04:57 +00:00
elad
2664dc174c Add missing items to the securelevel implications list.
Now it is complete.
2006-11-22 21:00:30 +00:00
tnozaki
9b1aff8258 add fallback mapping. 2006-11-22 20:22:30 +00:00
elad
eb704f9789 SSP is not enabled by default, update documentation.
Pointed out by yamt@, thanks!
2006-11-22 13:00:02 +00:00
elad
4b316db1d1 Introduce KAUTH_REQ_MACHDEP_{ALPHA,X86}_UNMANAGEDMEM to handle access
to unmanaged memory.

These are the last two securelevel references in the MD code.
2006-11-22 12:12:51 +00:00
elad
a84fee7faf Initial implementation of PaX Segvguard (this is still work-in-progress,
it's just to get it out of my local tree).
2006-11-22 02:02:51 +00:00
pooka
118c65eb6d * update comments
* puffs_nextdent() takes a directory type, not vtype, so translate
  that before calling it.  fixes find & other fts-stuff.
2006-11-21 23:19:45 +00:00
pooka
5676e026f8 * change usage to ssshfs user@host:path mountpath
* assorted little fixes

ssshfs now works for practical uses
2006-11-21 23:09:23 +00:00
dsl
0d9ff52003 Mark all the .PHONY targets as .NOTMAIN in one go - instead of individually.
Add .WAITs after beforeinstall and before afterinstall.
Remove the bogus dependency lines that someone must have added with the
vague hope they would cause the build to happen in the right order!
Since we have 'realinstall:     proginstall scriptsinstall' stopping
'realinstall' running never has stopped 'proginstall' running.
Fixing this probably fixes a variety of problems, including, but not
restricted to 'install' in src/sys/arch/atari/stand/bootxx
(NB this particular file is untested due to other local changes)
2006-11-21 18:25:26 +00:00
pooka
2773d88a59 do better directory link accounting, fix bug in readdir(). find, rm -rf,
etcetc. now work
2006-11-21 15:35:58 +00:00
pooka
a9772ae2fb better accounting. e.g. du works now 2006-11-21 13:05:47 +00:00
pooka
e7a63c481b don't recache directory listing in all operations that use a directory 2006-11-21 12:42:15 +00:00
pooka
8f2fd4cb28 reclaim needs some more work, so don't do anything there for now.
This is good especially for not crashing in unmount, which in turn
would cause unpleasantries without the very latest & greatest kernel
2006-11-21 02:31:48 +00:00
pooka
1d9515c070 today's fs-in-a-day: quick glue to tie puffs together with openssh
sftp code to accomplish something close to sshfs.  this basically
works, but there are some issues with directory grovelers still,
e.g. so untar won't work.  but it works for browsing mailboxes,
transferring large files, etcetc.
2006-11-21 00:54:06 +00:00
kleink
b0ef2a835b Import tzdata2006o. 2006-11-20 11:31:34 +00:00
pooka
66e8fee83b implement puffs_write. It's now possible to change the values of
existing sysctl nodes (except for CTLTYPE_STRUCT).
2006-11-20 00:04:05 +00:00
wiz
e524263824 Add RCS Id. Use Nx. Sort SEE ALSO. Avoid Xr to ourselves.
Avoid marking up commas. Uppercase Dt argument.
2006-11-19 00:26:52 +00:00
wiz
430da4d077 Bump date for previous. 2006-11-19 00:20:02 +00:00
elad
2db3a96be7 Provide a standard authorization wrapper for the device scope. 2006-11-19 00:11:29 +00:00
wiz
4dcf8d1488 New sentence, new line. Typo fixes. Slightly more appropriate mdoc macro. 2006-11-19 00:05:42 +00:00
pooka
e518d4247c elf loader lives in /libexec these days. and besides, it's called
ld.elf_so, not ld.so_elf
2006-11-18 14:32:14 +00:00
pooka
4d33479aef * no more fsid
* no more start()
2006-11-18 12:41:06 +00:00
jld
0919614fc2 Add /l to description of "ps" abbreviation for "show all procs". 2006-11-18 08:48:32 +00:00
oster
93a18158f4 Document 'show all procs /l'. (i.e. catch up with reality) 2006-11-18 01:20:58 +00:00
pooka
8bf1f71b17 document PUFFSFLAG_NOCACHE 2006-11-17 18:00:20 +00:00
pooka
a2646bee20 mount with PUFFSFLAG_NOCACHE 2006-11-17 17:48:51 +00:00
pooka
48697c774d do correct size calculation in getattr(). accidentally replaced that
with a dummy before commit.
2006-11-17 00:27:16 +00:00
elad
cbaf7914e4 First attempt at an examples section, and while here also add some notes
about extending kauth(9).
2006-11-15 14:55:54 +00:00
pooka
2f8a6afe2a fs du jour: sysctlfs, which mounts an equivalent of "sysctl -a" as
a fs hierarchy.  This is currently ro, lacking features, and very
much unfinished in every other possible sense.  Should investigate
if this can share code with sbin/sysctl so that everything must
not be rewritten.
2006-11-14 21:37:36 +00:00
ad
f2097c8b0d Remove misleading sentence, to be replaced by a manual page describing basic locking rules. 2006-11-14 15:30:09 +00:00
pooka
ae357b8c97 adapt to libpuffs namespace change 2006-11-14 11:45:53 +00:00
pooka
f173564d8b use generic dummies for sync and unmount 2006-11-14 11:27:35 +00:00
pooka
0ef848220b remove special-case handling for CREATE/RENAME from lookup() - this fs
does not need it, just return ENOENT
2006-11-13 20:59:48 +00:00
pooka
bc745833ff fix link count for rootnode broken last week 2006-11-13 20:11:36 +00:00
ad
316b72d710 Fix errors. 2006-11-13 18:28:15 +00:00
ad
119899c354 Remove authors section, and update history where appropriate. 2006-11-13 16:33:56 +00:00
ad
4608df106c - Remove AUTHORs section.
- Mention twa.
2006-11-13 16:29:05 +00:00
ad
bea3d13d1d Add manual pages for RW locks, mutexes and condition variables. Not
enabled in the Makefile.
2006-11-13 16:22:11 +00:00
tnozaki
79a70a823d 1. add iconv support for followint encoding:
Vietnamese
	TCVN	8bit Viet Nam National Standard
	VISCII	8bit RFC1456
	VIQR	7bit RFC1456(libVIQR)
    Unicode Escape (GNU libiconv compatibility)
	C99, JAVA (libUES)
2. fix iconv_std module:
	add special treatment for POSIX Defect Report #288 case.
2006-11-13 15:16:28 +00:00
dyoung
a25eaede91 Add a source-address selection policy mechanism to the kernel.
Also, add ioctls SIOCGIFADDRPREF/SIOCSIFADDRPREF to get/set preference
numbers for addresses.  Make ifconfig(8) set/display preference
numbers.

To activate source-address selection policies in your kernel, add
'options IPSELSRC' to your kernel configuration.

Miscellaneous changes in support of source-address selection:

        1 Factor out some common code, producing rt_replace_ifa().

        2 Abbreviate a for-loop with TAILQ_FOREACH().

        3 Add the predicates on IPv4 addresses IN_LINKLOCAL() and
          IN_PRIVATE(), that are true for link-local unicast
          (169.254/16) and RFC1918 private addresses, respectively.
          Add the predicate IN_ANY_LOCAL() that is true for link-local
          unicast and multicast.

        4 Add IPv4-specific interface attach/detach routines,
          in_domifattach and in_domifdetach, which build #ifdef
          IPSELSRC.

See in_getifa(9) for a more thorough description of source-address
selection policy.
2006-11-13 05:13:38 +00:00
plunky
57c0199dcf Tidy away wsmouse_input() abstractions and update
documentation to include the W direction.
2006-11-12 19:00:42 +00:00
bjh21
867c8b45a3 Add GWS. 2006-11-12 11:29:51 +00:00
christos
1bb72362cf more uucp removal. 2006-11-12 02:44:51 +00:00
jmmv
abac724ef9 Also use libraries from /lib for binaries installed into /libexec. Needed
by lfs_cleanerd which is about to be moved to this directory.
2006-11-11 14:41:20 +00:00
christos
42b579bab8 disable SSP for standalone code. 2006-11-11 06:28:49 +00:00
christos
d07f8e39ca don't run paxctl if other commands were specified for that target. 2006-11-11 06:15:55 +00:00
christos
e81129f492 add the non tool version of paxctl 2006-11-10 17:22:19 +00:00
christos
fef715f487 if ${PROG_PAX} is defined, run paxctl on the binary after linking with
the value of the variable. This way, if you set:

    PROG_PAX=+M

in /etc/mk.conf, you get what you deserve.
2006-11-10 17:13:15 +00:00
christos
3051b08454 Add ssp glue. 2006-11-09 17:06:54 +00:00
pooka
d666e1c0f4 play catchup with the rest of the world, i.e. shuffle stuff a bit 2006-11-09 13:11:52 +00:00
pooka
095997aad1 initial documentation for the puffs message interface 2006-11-09 01:29:34 +00:00
pooka
05310d3a05 give an estimation of the amount of free space 2006-11-08 11:25:29 +00:00
pooka
da17507da9 adapt to new lookup signature 2006-11-07 22:11:17 +00:00
xtraeme
f0a9e30534 First appeared in 3.1 not 4.0. 2006-11-06 21:32:57 +00:00
xtraeme
c3ca7d0b90 It was added in 3.1 not 4.0. 2006-11-06 21:31:26 +00:00
xtraeme
28214abdba First appeared in NetBSD 3.1 not 4.0... and bump date. 2006-11-06 21:27:15 +00:00
wiz
0db5a288e6 Fix a typo. 2006-11-04 17:16:24 +00:00
yamt
90101c023b be explicit about the difference between vmem_free and vmem_xfree. 2006-11-04 13:07:58 +00:00
yamt
bf894997ce document vmem_xalloc/xfree. 2006-11-04 12:55:28 +00:00
yamt
f0fcd48625 consistency. 2006-11-04 12:39:50 +00:00
elad
1121d7d96a Sync with reality. 2006-11-04 10:47:37 +00:00
elad
9477ac30bc Add "@uid" keyword translation, to translate effective user-id of the
process.
2006-11-04 10:14:00 +00:00
elad
7d27a7d8b8 Add example listener for the device scope.
While here, sync with reality.
2006-11-04 09:37:54 +00:00
tnozaki
f8989225cf change georgian-ps(geo8std)'s conversion table
from X-TrueType to Internet-Draft that more widely used.
2006-11-04 06:17:35 +00:00
tnozaki
2f07b9b3fb rollback unintended charnge. 2006-11-04 03:53:11 +00:00
tnozaki
6288c3fa08 add iconv support following encodings:
ISO-2022-JP-1(RFC2237)
	CP50220,CP50221,CP50222(ISO-2022-JP variant)
	CP51932(EUC-JP variant)
2006-11-04 03:46:19 +00:00
christos
de3426b487 update brace comments to reflect current reality. 2006-11-02 22:44:41 +00:00
wiz
1666843c46 Remove references to hostname.if(5), add ones for ifconfig.if(5). 2006-10-31 22:49:01 +00:00
joerg
fc0bc19fc7 Add rum(4) for newer USB Ralink devices. Obtained from OpenBSD.
Special thanks to Sepherosa Ziehau for helping debugging USB issues.
Hook up rum(4) for i386 config files.
2006-10-31 22:21:16 +00:00
wiz
403c06a45d Bump date for previous. 2006-10-31 22:01:09 +00:00
plunky
162befcdae add references to bluetooth keyboards 2006-10-31 19:11:14 +00:00
plunky
f5c76b405a add references to bluetooth mice 2006-10-31 19:10:14 +00:00
elad
7372f1dad4 oops, remove junk. 2006-10-31 02:06:30 +00:00
elad
5a11382d8e Sync with reality. 2006-10-31 01:59:12 +00:00
wiz
dccfb8ab7d Bump date for previous. New sentence, new line. 2006-10-30 23:53:54 +00:00
cbiere
de8ccd77d9 Moved example code into its own section with an additional path truncation
check. Added a COMPATIBILITY section for sun_len and SUN_LEN() as suggested
by soda. Fixes PR lib/34744.
2006-10-30 23:49:04 +00:00
garbled
0a8823b9bd Note the slide(4) driver in the list of chips in the pciide driver, and
fix a missing space in the slide manpage.
2006-10-30 23:39:38 +00:00
wiz
e63079c2a4 Avoid punctuation markup; remove pastos (?). 2006-10-30 21:36:36 +00:00
elad
52d8744717 Use integers, not pointers to integers, for KAUTH_REQ_NETWORK_SOCKET_OPEN.
Reminded by yamt@, thanks!
2006-10-30 16:53:48 +00:00
elad
4b90b6befa Remove note about how a malicious root user can cause kernel crashes. 2006-10-30 12:40:08 +00:00
elad
a6e87ced6c Sync with reality. 2006-10-28 15:34:18 +00:00
pooka
8fdf9afc13 update appropriate timestamps after each operation. cvs works much
better now with dtfs /tmp
2006-10-27 14:03:52 +00:00
pooka
9638ee1464 relax typechecks so that all file types work (they were already supported) 2006-10-27 12:26:25 +00:00
pooka
0ba65a4c32 support mknod, essentially makes it possible to run dtfs as /dev 2006-10-26 22:53:25 +00:00
wiz
e2440f408d New sentence, new line.
Add Xr for all referenced drivers, some of them commented out because
the man pages don't exist yet, in particular:
acorn32/amps(4)
acorn32/csa(4)
acorn32/icside(4)
acorn32/rapide(4)
acorn32/simide(4)
hcsc(4)
2006-10-26 22:39:50 +00:00
bjh21
79a98f507f At wiz's suggestion, replace the two MD podulebus(4) pages with a single MI
one, modelled somewhat on pci(4).
2006-10-26 21:37:08 +00:00
wiz
f31bc9e7e9 Bump date for previous. 2006-10-26 17:54:52 +00:00
drochner
cb7efd18c2 minor fixes and cleanup, reviewed by elad 2006-10-26 17:33:11 +00:00
kleink
c2de9884b6 Import tzdata2006n. 2006-10-26 17:04:27 +00:00
tnozaki
4b8989d796 remove unessesary 0x00-0x20, 0x60-0x7F mapping. 2006-10-26 16:19:02 +00:00
elad
04e6d5f932 Don't take chances... properly document KAUTH_NETWORK_INTERFACE. On a
second thought having that warning just in the CVS log doesn't look too
helpful. :)
2006-10-26 16:11:17 +00:00
elad
ed853f6398 Document that arg1 and arg2 for KAUTH_NETWORK_INTERFACE are optional.
Document that arg3 is optionally the interface-specific request. Should
only make sense if we pass ifnet * in arg1!
2006-10-26 16:06:39 +00:00
tnozaki
e53a1bf203 DST_UNIT_BITS is 8, nuke leading 0x00. 2006-10-26 16:04:21 +00:00
tnozaki
fe9a7f2aa1 0x2A7E is safe character. 2006-10-26 15:24:00 +00:00
tnozaki
f0e9414b43 added supports for chinese encoding ISO-2022-CN-EXT. 2006-10-26 15:06:17 +00:00
wiz
7f6433f8ce Sort SEE ALSO. Fix Dd argument. Remove intro(4) xref (page does not exist). 2006-10-26 12:52:14 +00:00
wiz
13da499d18 New sentence, new line. 2006-10-26 12:50:22 +00:00
wiz
6acb9c2f08 Fix typos, improve markup. 2006-10-26 12:47:30 +00:00
wiz
faa00b034c Fix typo, found by yamt. 2006-10-26 12:31:14 +00:00
wiz
1751d830e6 Various minor improvements. 2006-10-26 11:16:28 +00:00
wiz
dc554c90da Fix Dd argument (full month name). 2006-10-26 10:54:52 +00:00
elad
adf8d7aab2 Introduce KAUTH_REQ_NETWORK_SOCKET_OPEN, to check if opening a socket is
allowed. It takes three int * arguments indicating domain, type, and
protocol. Replace previous KAUTH_REQ_NETWORK_SOCKET_RAWSOCK with it (but
keep it still).

Places that used to explicitly check for privileged context now don't
need it anymore, so I replaced these with XXX comment indiacting it for
future reference.

Documented and updated examples as well.
2006-10-25 22:49:22 +00:00
pooka
f9b7e6e829 Only nuke directory entry in remove and clear data completely only
when the node is reclaimed.  This makes dtfs preserve unix open file
semantics.
2006-10-25 18:18:16 +00:00
jmmv
ccf856e4f9 Remove references to the GRUB patch required to load NetBSD kernels.
Finally they can be booted by mainstream GRUB-Legacy versions -- those
included with any Linux distribution!
2006-10-25 14:02:11 +00:00
jmmv
13f9baab4e MULTIBOOT_SYMTAB_SPACE is gone because the kernel is now clever enough to
not need this hack.
2006-10-25 13:58:02 +00:00
elad
0730babc25 Sync documentation for KAUTH_PROCESS_CANSIGNAL with reality. 2006-10-24 10:23:05 +00:00
peter
157373e263 Fix a typo. 2006-10-23 21:21:49 +00:00
pooka
22ec7067d6 don't allow to read or write a directory 2006-10-23 16:20:39 +00:00
pooka
69fe36da66 dtfs (*): a very simple in-memory file system providing an example on
how to use libpuffs

this is not installed into the binary distribution just yet

*) you can call it either "Delectable Test File System" or
"Detrempe File System", depending on what you think will result
in more puffing
2006-10-23 00:44:53 +00:00
pooka
de328e13dc regen for puffs
(and a few others.  seems like plenty of people remember to do this)
2006-10-22 23:03:48 +00:00
pooka
bcb1fccca0 libpuffs 2006-10-22 22:53:41 +00:00
christos
e9a36b93da Add -Wextra -Wno-unused-parameter to WARNS > 2 2006-10-22 22:17:30 +00:00
xtraeme
0262460f38 Xr ikphy 2006-10-22 16:08:43 +00:00
bouyer
e960fdb58f Add support for the Intel 80003 Gigabit Ethernet controller (found e.g.
in newer server chipsets) to wm(4), from the FreeBSD em(4) driver.
While there, add a few other Intel Ethernet controller that should work
as is.
Properly update the RX error and TX collision counters.
Add ikphy(4), a driver for the Intel i82563 Kumeran 10/100/1000
Ethernet PHYs
(forgot to cvs add this file in previous commit; pointed out by Juan RP)
2006-10-22 16:00:53 +00:00
bjh21
fc5237c2e4 ei(4) is MI, shared by acorn26 and acorn32. Pull its man page up out of the
acorn26 directory.
2006-10-22 14:29:24 +00:00
elad
6b1bc77758 Use consistent wording.
While here, undocument converstion routines for pcred/ucred, as these are
going to be deprecated. They already are, actually, but because we exposed
them to userland so cleverly with sysctl, it may require more thinking
before actually removing them. For now, just make sure nobody relies on
these types. Or at least try...
2006-10-22 14:00:00 +00:00
pooka
418e5b1cea reflect kauth uucred routine changes
thanks to Elad for reminding
2006-10-22 13:42:17 +00:00
elad
db3faefa96 First shot at a security(8) man-page, a quick guide for some NetBSD
security features.
2006-10-22 12:16:27 +00:00
yamt
2026cc5abb be consistent with other vmem pages. 2006-10-22 11:23:32 +00:00
yamt
4194eaeebd document vmem. 2006-10-22 11:14:52 +00:00
bouyer
154d613f0b Add support for the Intel 80003 Gigabit Ethernet controller (found e.g. in
newer server chipsets) to wm(4), from the FreeBSD em(4) driver.
While there, add a few other Intel Ethernet controller that should work as
is.
Properly update the RX error and TX collision counters.
Add ikphy(4), a driver for the Intel i82563 Kumeran 10/100/1000 Ethernet PHYs
2006-10-21 14:10:32 +00:00
elad
d53df4ed98 Document KAUTH_NETWORK_INTERFACE arguments. 2006-10-21 00:07:40 +00:00
elad
305fe09181 Introduce a new action on the network scope, KAUTH_NETWORK_INTERFACE,
used to manage network interfaces.

Add four sub-actions to fulfill generic needs for now, until a more
carefully defined usage of the interface is documented: get, set,
getpriv, and setpriv.
2006-10-20 23:10:33 +00:00
elad
fab05f403b Add a new ALTQ kauth(9) request, KAUTH_REQ_NETWORK_ALTQ_JOBS. 2006-10-20 22:02:54 +00:00
yamt
a2fafc1061 mention tcp abc. reminded by Rui Paulo. 2006-10-20 09:39:55 +00:00
tnozaki
17e6581dbd add encoding alias CP949 -> UHC. 2006-10-19 14:47:58 +00:00
tnozaki
cf5d987754 add new iconvdata ATARIST, HP-ROMAN8, NEXTSTEP. 2006-10-19 14:45:02 +00:00
tnozaki
503c123619 switch the conversion table from rfc1345 to unicode.org's one. 2006-10-19 14:06:14 +00:00
pooka
c870120337 VOP_RENAME synopsis:
* tdvp points to a vnode, not a componentname.
* name of the source vnode is fvp, not vp
2006-10-19 13:44:00 +00:00
bjh21
7fb3ea3f6c Use GDB 6 on armeb as well. 2006-10-18 23:31:50 +00:00
bjh21
cc630e93eb GDB 6.5 seems to be basically functional on ARM, so make it the default there. 2006-10-18 23:22:24 +00:00
tnozaki
2e2fc44e22 add new iconv module libJOHAB,
this supports S.Korean character encoding scheme ``JOHAB''.
2006-10-18 17:54:54 +00:00
rpaulo
ebc62e8a33 Update structure. 2006-10-15 17:48:07 +00:00
christos
c04db80c0b mention that we can now escape ,'s and whitespace using a double \\ 2006-10-14 18:52:39 +00:00
wiz
3b1d558c3b Avoid xref to non-existing device_xname by rewording (from gdamore). 2006-10-14 07:53:38 +00:00
wiz
abefc88512 Sort SEE ALSO. 2006-10-14 07:31:41 +00:00
wiz
f1d4555c7e Bump date for last. 2006-10-14 07:30:54 +00:00
wiz
23bc0d2a72 Sort supported hardware list alphabetically. 2006-10-14 07:27:43 +00:00
wiz
4055e63b43 Bump date for previous. 2006-10-14 07:25:54 +00:00
wiz
88e68e1308 Bump date for previous. 2006-10-13 21:21:47 +00:00
wiz
8da65f288e Sort SEE ALSO. New sentence, new line. 2006-10-13 21:19:08 +00:00
wiz
b2e4ca23f4 Sort sections. Fix Dt argument. 2006-10-13 21:18:18 +00:00
wiz
205b820989 New sentence, new line. config(1), not 8. 2006-10-13 21:17:57 +00:00
wiz
a554e87c15 Remove trailing whitespace. 2006-10-13 21:15:19 +00:00
wiz
ca5812394a New sentence, new line. Drop trailing whitespace. Sort sections.
Use .Er for errors.
2006-10-13 21:14:46 +00:00
wiz
8ac31fda0f Improve HTML output. 2006-10-13 21:06:51 +00:00
wiz
40cde1e14e Make HTML-output safe. Use more macros. 2006-10-13 21:03:22 +00:00
wiz
2a7aac1421 Sort supported hardware by name. 2006-10-13 21:02:05 +00:00
wiz
ed0fe57dcc Make HTML-output safe. 2006-10-13 21:01:31 +00:00
wiz
2bbc82f29e Bump date for previous. 2006-10-13 20:47:42 +00:00
wiz
5ff4d6db40 ttyaction(3), not 8. 2006-10-13 20:32:05 +00:00
wiz
d20eb91c72 Whitespace nit. 2006-10-13 20:31:27 +00:00
wiz
080ca21e76 New sentence, new line. 2006-10-13 20:30:44 +00:00
wiz
d5714c044f Sort SEE ALSO. 2006-10-13 20:30:16 +00:00
elad
8c494ca741 Introduce KAUTH_REQ_NETWORK_SOCKET_CANSEE. Since we're not gonna be having
credentials on sockets, at least not anytime soon, this is a way to check
if we can "look" at a socket. Later on when (and if) we do have socket
credentials, the interface usage remains the same because we pass the
socket.

This also fixes sysctl for inet/inet6 pcblist.
2006-10-13 15:39:18 +00:00
wiz
361e86f38f Bump date for previous. 2006-10-13 00:20:00 +00:00
salo
df733399d6 Add a couple of (mostly) 802.11 related terms, WEP, WPA, EAP, PSK. 2006-10-12 20:47:55 +00:00
peter
dd191f37f3 Merge the peter-altq branch.
(sync with KAME & add support for using ALTQ with pf(4)).
2006-10-12 19:59:07 +00:00
gdt
846dd43c17 bump date for ubiquiti addition before wizd next runs 2006-10-11 14:41:13 +00:00
gdt
3163e1f232 add Ubiquiti SRC to list of supported cards, and note that
AR5213-based devices work.
2006-10-11 14:39:58 +00:00
gdt
630ae694c1 Add Novatel FlexPak GPS and Sierra Aircard 580.
Note that the Qualcom CDMA device is found in the Kyocera KPC650 EVDO
interface.
2006-10-11 14:33:51 +00:00
pooka
654c98d70a note that sun_len is ignored, per discussion on tech-net 2006-10-11 11:16:09 +00:00
hubertf
8a8b8c4204 xref fast_ipsec(4) 2006-10-11 10:14:31 +00:00
reed
0589c4dc74 Instead of pointing to vi man page, refer to new virecover
man page for the virecover details.
2006-10-10 03:24:51 +00:00
gdamore
454c4680f1 Add man pages for SPI, m25p flash, and tm121temp devices. I'm holding off
creating an spiflash man page until the framework settles, and I'd
ultimately like to create section 9 pages for SPI.
2006-10-09 16:51:51 +00:00
rpaulo
f3330397f0 Modular (I tried ;-) TCP congestion control API. Whenever certain conditions
happen in the TCP stack, this interface calls the specified callback to
handle the situation according to the currently selected congestion
control algorithm.
A new sysctl node was created: net.inet.tcp.congctl.{available,selected}
with obvious meanings.
The old net.inet.tcp.newreno MIB was removed.
The API is discussed in tcp_congctl(9).

In the near future, it will be possible to selected a congestion control
algorithm on a per-socket basis.

Discussed on tech-net and reviewed by <yamt>.
2006-10-09 16:27:07 +00:00
mrg
b55240a473 - clean up some comments to reality.
- retire LIBDCK, LIBG2C and (long broken) USE_LIBSTDCXX
- in bsd.hostprog.mk's LIBSTDCPP -> LIBSTDCC
- add LIBSUPCXX
- don't default USE_LIBSTDCXX or USE_GCC4 since they are
  not used in the tree any where
- same with USE_XF86_4; retire it
- remove _SUPCXX handling in bsd.prog.mk

inspired by PR#26714.
2006-10-09 08:32:11 +00:00
uebayasi
a70b6fe53b No variable name in function argument declaration. 2006-10-09 07:52:59 +00:00
elad
83704dec18 PR/28368: Peter Postma: unrecognized option `-Wnetbsd-format-audit'
Apply patch from rivo nurges in #NetBSD-code, thanks!
2006-10-08 17:16:51 +00:00
elad
75783f892c PR/31140: Tetsuya Isaki: driver(9) does not describe about kqfilter 2006-10-08 15:44:25 +00:00
pooka
9ce83b2450 add example on how to use SUN_LEN()
fixed lib/34744 by Christian Biere
2006-10-08 13:08:33 +00:00
xtraeme
85ff1590b2 Sync list of supported drivers with the code, patch by Claus
Andersen via PR kern/34754.
2006-10-08 08:57:19 +00:00
pooka
e2f3993f69 VOP_REMOVE is supposed to vput the arguments before returning instead
of keeping them locked
2006-10-08 08:13:56 +00:00
elad
ccf0312fe1 PR/32762: Magnus Eriksson: opl(4) states that it "[sounds] awful", please
rephrase

Reworded. Submitter is absolutely correct.
2006-10-07 23:40:18 +00:00
elad
009a00a3c3 PR/29220: Jachym Holecek: Document additional irq fixup for cbb(4).
Patch applied, thanks!
2006-10-07 23:35:39 +00:00
elad
d2c044e9f6 PR/22027: Mihai Chelaru: ifmedia(4) is incorrect/incomplete
Thanks!
2006-10-07 23:16:43 +00:00
elad
9580da9e75 PR/32641: David Maxwell: No 'pkgsrc' manpage
Link pkgsrc(7) -> packages(7).
2006-10-07 22:36:57 +00:00
elad
3b60cb06d5 PR/29858: Miles Nordin: diskless(8) man page is wrong about
'option swap-server'

Patch applied, thanks!
2006-10-07 22:23:45 +00:00
elad
4b81c4e0d8 PR/30361: Hanspeter Roth: ath(4) - Netgear WG311 does not have an Atheros
chip

We did some digging, and the Netgear WG311 has three versions. The one
supported by this driver does, in fact, have an Atheros chip. V3 was
already listed as not supported, and the card you are referring to is
a V2 (with the TI chip) -- so a note was added right above the note for
the V3 version.

Input from David A. Holland and mlelstv@ on #NetBSD-code, thanks!
2006-10-07 21:46:50 +00:00
cube
007b992d97 Synchronise documentation with code. E.g., config_search is no more, but
instead you have config_search_{loc,ia}.  Add documentation for
config_finalize_regsiter, too.  Mostly fixes PR#32106 by Gavan Fantom, as I
think the cfdriver_* and cfattach_* stuff should be documented too, but I'm
not entirely sure where yet.
2006-10-07 17:26:24 +00:00
peter
1fe5d73096 Add manpages for some Jornada 7xx drivers. 2006-10-07 14:12:47 +00:00
elad
516c371048 PR/13478: Greg A. Woods: some tty-related documentation fixes
Patch applied with "minor tweaks" from me, thanks!
2006-10-06 22:07:44 +00:00
chs
33c1fd1917 add support for O_DIRECT (I/O directly to application memory,
bypassing any kernel caching for file data).
2006-10-05 14:48:32 +00:00
jnemeth
89484508a4 PR/34712 -- Kibum Han -- remove mention of MKSENDMAIL as sendmail is no longer 2006-10-05 02:49:06 +00:00
wiz
920f5030b8 Bump date for previous. 2006-10-04 19:29:25 +00:00
plunky
c1ad03adbe Internally, use the service name as the identifier for matching 2006-10-04 19:23:59 +00:00
wiz
9cc84bfcb4 Remove unnecessary line. 2006-10-04 17:55:54 +00:00
tsutsui
76bdb56136 Update descriptions for API changes. 2006-10-04 15:07:03 +00:00
pooka
d6ced1d27a fix slight ooops in previous 2006-10-04 12:39:05 +00:00
reinoud
64f9244532 Fix confusing statement on locking and contradiction in the VOP_RECLAIM()
explanation.

It told the node vp would be locked on entry and later told that the vnode
is unlocked on entry and should remain unlocked on exit.
2006-10-04 12:32:53 +00:00
pooka
9852bfb57e ucred -> kauth sweep 2006-10-04 11:35:47 +00:00
pooka
ecf7acf05b and lo, the uvm_coredump() peril was no more (since almost 5 years ago) 2006-10-04 11:27:45 +00:00
wiz
8c25a2887d No dot in SEE ALSO. 2006-10-03 02:11:19 +00:00
wiz
4e9ee9f1aa Minor English improvements. 2006-10-03 02:09:36 +00:00
wiz
5eebb711b9 Use present tense for device scope, like for the others. 2006-10-03 02:06:28 +00:00
bouyer
30f7dd0222 Add manpage for new ipmi driver. 2006-10-01 18:43:11 +00:00
bjh21
399f77e7c3 wdsc now uses an MI WD33C93 driver. 2006-10-01 15:02:49 +00:00
bjh21
9444683406 Add a sec(4) manual page. 2006-10-01 14:59:05 +00:00
itohy
b2d7fb48f1 Use ATA timing, instead of busmaster wait, for adding waits.
Use default wait value 0x01.
2006-10-01 09:53:08 +00:00
tsutsui
067fc6ddda Fix function argument types in description. 2006-10-01 06:01:47 +00:00
tsutsui
cd4f2a86f4 - pc532 is ${MACHINE}, not ${MACHINE_ARCH}; use ns32k
- fix a comment (sh5 has been switched to gcc4)
2006-10-01 05:06:20 +00:00
jld
af0234e90d Remove erroneous boilerplate about VOP_POLL's return value (which was
already described correctly earlier in the paragraph).
2006-09-30 21:18:38 +00:00
elad
f831edb7d0 Some mdoc cleanup. 2006-09-30 20:14:53 +00:00
elad
b8a339347f Implement the "device" scope.
It uses an authorization wrapper per device class on the system to
ensure type-safety.

For now, it supports only terminal (TTY) devices, and has two actions
for them: "open terminal" and "privileged set". Sample usage has been
added to i386 and hp300 code for reference.

Update documentation.
2006-09-30 20:05:57 +00:00
manu
f309b668fd - Document COMPAT_15 as doing nothing
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.

This address kern/18407
2006-09-27 21:42:04 +00:00
martin
37b5f548a5 Default sparc64 to gdb6. 2006-09-27 06:34:07 +00:00
matt
a63ad7b671 Make GCC4 the default (except for pc532).
Switch powerpc to GDB6.
2006-09-26 22:11:32 +00:00
christos
a08b6e285b switch i386 to gdb6. 2006-09-26 19:33:02 +00:00
elad
5c38108d28 Change the PaX mprotect(2) restrictions' "global_protection" knob to
just "global" -- it's shorter and more readable. Update documentation.
2006-09-26 14:48:40 +00:00
wiz
5b70b0ebe3 Bump date for previous. 2006-09-24 11:09:45 +00:00
plunky
530c0e96fe Say better what deficiencies there are. 2006-09-24 10:22:17 +00:00
dogcow
ef869ff8e9 it's now const char *name, not char *name. (hi, wiz!) 2006-09-24 07:27:57 +00:00
wiz
ecef25127f Bump date for previous. 2006-09-24 07:21:43 +00:00
wiz
068f7ea823 Mark up some more stuff, remove superfluous .Pp. 2006-09-24 07:17:00 +00:00
jmcneill
f135e0d607 Add "name" parameter to powerhook_establish, to aid debugging. No objections
on tech-kern@
2006-09-24 03:53:07 +00:00
tsutsui
6e4dd0bf16 Sync PMAP_PREFER(9) usage with -current implemetation. 2006-09-24 01:34:19 +00:00
sketch
4887a60437 + TLC 2006-09-23 20:50:19 +00:00
elad
04ced3c62f PR/30355: der Mouse: crypto(4) gets ioctl names wrong
Patch applied, thanks!
2006-09-23 20:38:51 +00:00
kleink
5438866a0a Merge tzdata2006l. 2006-09-23 17:34:36 +00:00
kleink
06c32e9603 Import tzdata2006l. 2006-09-23 17:28:08 +00:00
wiz
332a508d8a Bump date for previous. 2006-09-23 11:25:47 +00:00