Commit Graph

12026 Commits

Author SHA1 Message Date
pooka
d6331b9a6e * fix error print
* adjust resulting image minsize
2009-09-08 21:51:33 +00:00
pooka
676351e4c4 Add a simple proof-of-concept program which shows how to use the
kernel cgd driver in an application which encrypts and decrypts
files.  The cgd driver is running completely in userspace and
requires no special access privileges.

For example:

golem> dmesg > dmesg.txt

# write encrypted dmesg.txt to encrypted.img
golem> ./img2cgd write encrypted.img dmesg.txt
/cryptfile's passphrase:

# read encrypted.img and output decrypted contents to decrypted.txt
golem> ./img2cgd read encrypted.img decypted.txt
/cryptfile's passphrase:
golem> diff dmesg.txt decypted.txt

# but when entering a different password:
golem> ./img2cgd read encrypted.img decypted.txt
/cryptfile's passphrase:
golem> diff dmesg.txt decypted.txt
Binary files dmesg.txt and decypted.txt differ

Currently the utility writes the data length in a proprietary
format, but I'll convert it to use a real disklabel RSN.  Then it
can be used to create cgd-encrypted disk images.

This program can later be used as a base for a utility to create
cgd-encrypted images of a standard NetBSD build.  Idea for such a
tool and hence the inspiration for this simple example program from
Roland Dowdeswell.
2009-09-08 21:48:25 +00:00
wiz
5946cee966 Fix Dd string, remove trailing whitespace. 2009-09-08 07:54:49 +00:00
skrll
d5bd20ae03 Bump date for previous. 2009-09-08 07:48:14 +00:00
skrll
8a770313a3 Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
jmcneill
d7beaf12d7 - adjust description ("Generic" is redundant)
- rates != 48kHz are now supported
- bump date
2009-09-07 16:22:46 +00:00
jym
1390556a02 Fix typo. 2009-09-06 19:46:24 +00:00
wiz
0192905bb1 Whitespace cleanup, sort sections, fix list. 2009-09-06 17:59:09 +00:00
sborrill
b88195cfa1 hdaudio(4) is a standards-compliant driver for Intel High Definition Audio.
It will replace azalia(4) after testing.

To use, comment out azalia in your kernel configuration and uncomment the
hdaudio and hdafg lines so it reads:

# Intel High Definition Audio
hdaudio*	at pci? dev ? function ?
hdafg*		at hdaudiobus?

You should also:
cd /dev
sh MAKEDEV audio
2009-09-06 17:25:55 +00:00
sborrill
d7f624cfd8 Regen 2009-09-06 15:31:04 +00:00
apb
ed9a80fd00 Sort bzero to the correct position 2009-09-05 16:13:21 +00:00
wiz
ed449c067d New sentence, new line. 2009-09-05 11:37:52 +00:00
wiz
2f1a87b0ee Various fixes; be more kind to mdoclint. 2009-09-05 11:32:36 +00:00
apb
d0e6aa56a4 The man page should be BOOT_FLAG.9, not BOOT_FLAGS.9.
I am not marking the incorrect name as "obsolete" in the set lists
because it's been less than 12 hours.  If you have already installed the
incorrectly named file, you will have to delete it manually.
2009-09-05 08:55:40 +00:00
apb
a9dda51fb1 Add cross references to new boothowto(9) man page. 2009-09-04 23:29:02 +00:00
apb
6d833d69e5 Add a boothowto(9) man page, and link it to BOOT_FLAGS(9). 2009-09-04 23:23:04 +00:00
macallan
3555383568 add sunleo 2009-09-04 20:19:04 +00:00
plunky
e28378f7d1 confusing pooka.
manpage improvements,
sunshine returns.
2009-09-04 11:34:38 +00:00
wiz
30adde5448 Fix incorrect wording. From Bug Hunting in PR 41989. 2009-09-04 10:34:16 +00:00
apb
482c8f25c8 * Boolean values may be specified with any of YES/TRUE/ON/1 or
NO/FALSE/OFF/0, so explain that.
* Change all "Foo:  YES or NO.  If not set to YES then ..." to
  "Foo:  Boolean value.  If false then ...".
* Some rewording for clarity.
2009-09-03 20:06:39 +00:00
ahoka
b9e737479b Mention sched_m4. 2009-09-02 10:54:20 +00:00
ahoka
2638650e6f Document the vesa command. 2009-09-01 21:30:17 +00:00
dyoung
71fe64733e Let us use MKKMOD=yes to leave the kernel modules out of the
distribution.
2009-08-30 01:49:41 +00:00
tsutsui
53c1e123cc Fix typo. 2009-08-24 12:55:16 +00:00
joerg
0c7b475101 Do not use tabs in references. Tab has special meaning in roff(7), even
though it is not visible in this context.
2009-08-24 10:15:25 +00:00
jmcneill
eff736611c Update BUGS section; genfb works on i386 and amd64 now. 2009-08-24 02:25:18 +00:00
plunky
90e0b0e5de make a small mention how to configure the tty line as a bluetooth device 2009-08-23 19:44:39 +00:00
joerg
ff97d10661 Rewrite the sentence about the socket options to avoid questionable
typographic layout and to be more inline with the wording of the rest of
the man page.
2009-08-23 19:32:16 +00:00
wiz
7bc157d9a3 Reword slightly so I can understand it more easily. 2009-08-23 15:41:28 +00:00
mbalmer
b43d918df8 Mention that defining the GPIO layout is subject to kauth(9) auhtorization.
Suggested by Elad Efrat.
2009-08-23 10:20:41 +00:00
mrg
207f7c3b4c update for xorg-server 1.6.3. 2009-08-22 01:41:03 +00:00
joerg
f2c45439cf Fix markup. 2009-08-22 01:18:56 +00:00
joerg
b90505158a Kill empty lines. 2009-08-22 00:17:03 +00:00
joerg
a35cefcec6 Fix markup. 2009-08-22 00:04:22 +00:00
joerg
97a6d834d7 Use semantic markup. 2009-08-21 23:55:13 +00:00
joerg
dde7508f88 Fix markup. 2009-08-21 23:46:20 +00:00
joerg
4fefe2ca0a Do not use -indent without option, aka without actually indenting. 2009-08-21 23:45:15 +00:00
joerg
caddf4b194 Fix markup. 2009-08-21 23:43:51 +00:00
mbalmer
6b6e87fc9f This will appear in .Nx 6, not 5. Prodded by wiz. 2009-08-21 08:20:30 +00:00
wiz
13d5139b34 Bump date for BTF_MASTER. 2009-08-21 06:12:16 +00:00
plunky
b7dec17fbf add a per-unit master setting, to control requesting the master role
when accepting connections.
2009-08-20 21:40:59 +00:00
wiz
0462dcb75b Fix typo and improve English. 2009-08-20 15:58:31 +00:00
tsutsui
0228fe92d4 Rewrite binpatch(8) utility to add support for ELF binaries,
using implementation of old src/usr.sbin/mdsetimage sources
which supports misc executable formats without LGPL'ed libbfd.

No particular comments on port-atari@.

XXX1: amiga also has the similar utility in amiga/stand/binpatch
      but it has slightly different options.
XXX2: Is it worth to put this utility into MI src/usr.sbin to patch
      rtc_offset etc. in GENERIC kernel binaries in distribution?
2009-08-20 15:14:49 +00:00
macallan
0075a7985d add suntcx 2009-08-20 03:49:34 +00:00
wiz
f26c80959a New sentence, new line. Whitespace nit. 2009-08-19 23:17:25 +00:00
mbalmer
51362abc92 Mention GPIO in the header so that apropos gpio will list this man page. 2009-08-19 20:45:23 +00:00
jmcneill
39177e11e5 s/PLAYSTATION/PlayStation/ 2009-08-19 13:38:26 +00:00
mbalmer
00f46729f9 Mention GPIO in the title so that this manual page shows up with 'apropos
gpio'.
2009-08-19 06:57:24 +00:00
skrll
530afcf96c Add HAVE_BINUTILS and default to 2.16 2009-08-18 14:53:00 +00:00
joerg
7b3e0c602c Fix markup. 2009-08-15 14:18:05 +00:00
cegger
e5bc6032d2 grammar fix: a in-kernel -> an in-kernel 2009-08-15 09:59:12 +00:00
snj
90fa142bc7 Kill an unnecessary comma. 2009-08-15 00:40:53 +00:00
mbalmer
3ab4ce4739 Add support for multi-position electro-mechanical keylocks. An example
driver, gpiolock(4), is provided as an example how to interface real hardware.
A new securemodel, securemodel_keylock, is provided to show how this can
be used to tie keylocks to overall system security.  This is experimental
code.  The diff has been on tech-kern for several weeks.

Reviewed by many, kauth(9) integration reviewed by Elad Efrat; approved by
tonnerre@ and tron@.  Thanks to everyone who provided feedback.
2009-08-14 21:17:21 +00:00
snj
c195224d45 Be consistent within this document: Queue -> Queuing. 2009-08-11 19:03:29 +00:00
wiz
7aaf57e150 Bump date for previous. 2009-08-10 22:36:37 +00:00
plunky
4f6ac13367 reduce the number of KAUTH_DEVICE_BLUETOOTH_SEND/RECV requests
by passing the packet type as an argument rather than having
a different request for each type.

(from a suggestion by mrg)
2009-08-10 20:22:06 +00:00
plunky
80c6ec5db1 remove last usage of KAUTH_ISSUSER in bluetooth code by adding
some requests to the device scope:

	KAUTH_DEVICE_BLUETOOTH_SEND_COMMAND
	KAUTH_DEVICE_BLUETOOTH_RECV_COMMAND
	KAUTH_DEVICE_BLUETOOTH_RECV_EVENT
	KAUTH_DEVICE_BLUETOOTH_RECV_DATA

and a listener tied to the HCI protocol that will approve the basic
minimum to be sent and received.

handle the requests in the bsd44_suser listener by approving all
when the credential is root.
2009-08-10 18:25:20 +00:00
jakllsch
7df7a55a24 Add DNARD, AKA 'shark'. 2009-08-09 14:04:43 +00:00
wiz
38143816eb Sort sections. Fix typo. 2009-08-09 08:44:30 +00:00
mbalmer
5502bee520 Add the manual page for the gpioiic(4) driver. 2009-08-09 08:20:53 +00:00
wiz
94dcecc31d Sort sections, remove superfluous .Pp, improve wording. 2009-08-09 07:40:46 +00:00
kiyohara
5bb9b7a6ef Support SMSC LAN9118 Family Ethernet interfaces device driver.
It tested on GUMSTIX only.
2009-08-09 06:40:09 +00:00
skrll
8e44c4863b Sentences end with '.'. 2009-08-08 14:09:06 +00:00
wiz
cbc70c1e23 Use .Nm instead Xr to itself. 2009-08-04 18:59:05 +00:00
rmind
3def089fbe Relate interfaces by updating "see also" section. 2009-08-03 23:29:19 +00:00
rmind
239c98c94b Merge vmem_alloc(9) & friends (it's a whole company) into a single vmem(9). 2009-08-03 23:15:29 +00:00
rmind
b4d747cb18 Merge workqueue_create(9), workqueue_destroy(9) and workqueue_enqueue(9)
into a single workqueue(9) man page.
2009-08-03 23:03:05 +00:00
wiz
7455cfd148 Fix typo. 2009-08-03 22:20:07 +00:00
wiz
2e93bab0fb Remove trailing whitespace, and fix a typo. 2009-08-03 22:17:11 +00:00
wiz
62ab9add64 I guess ubc(9) should be used for all ubc_*(9) man pages, not only for
some. Make it so.
2009-08-03 22:16:01 +00:00
pooka
49e7fefd6c play the "make signature match implementation-after-churn" game 2009-08-03 22:08:57 +00:00
rmind
dc1dc00697 kmem(9): add code references, improve a little. 2009-08-03 20:10:16 +00:00
rmind
c783b6b33a Sync with reality a little, drop description of obsolete interface.
XXX: man page needs better wording.
2009-08-03 20:02:55 +00:00
rmind
530320c25b Mention kmem(9). 2009-08-03 19:57:40 +00:00
rmind
deef563516 Unify kmem_alloc/zalloc/free under kmem(9). Links preserved. 2009-08-03 19:43:58 +00:00
rmind
143caecc0d kmem_alloc(9): make notes under NOTES section. 2009-08-03 19:30:32 +00:00
rmind
46b2df96e9 ubc(9): add "core references" and "see also", ubc_unmap -> ubc_release. 2009-08-03 19:18:27 +00:00
rmind
e403bed420 Split descriptions of UBC functions from uvm(9) into separate ubc(9) man page. 2009-08-03 19:08:48 +00:00
wiz
8dacf6eb63 Make HTML-ready. 2009-08-02 22:38:29 +00:00
wiz
b2141244f7 Sort supported hardware by name. New sentence, new line. 2009-08-02 22:37:44 +00:00
nonaka
156e933143 pxamci is pxa2x0 specific. 2009-08-02 00:20:39 +00:00
nonaka
69ff36e733 use NetBSD e-mail address. 2009-08-02 00:19:29 +00:00
mbalmer
2dbe843789 Sprinkle a few .Pps. 2009-08-01 15:52:55 +00:00
mbalmer
0a0263e442 Add a manual page for the gpiosim(4) pseudo-device. 2009-08-01 15:43:01 +00:00
mbalmer
eb1d43028b Sort SYNOPSIS, add gpio* at gpiosim?. 2009-08-01 13:17:30 +00:00
mbalmer
b0979f1866 Simplify example. 2009-08-01 13:14:40 +00:00
kiyohara
ce1343fcd9 Support Marvell Hercules-I/II SATA Controllers. 2009-07-27 12:34:12 +00:00
wiz
95ae7b7783 Bump date for previous. 2009-07-25 21:21:20 +00:00
wiz
a86a0573d4 Reword for better HTML output. 2009-07-25 21:16:35 +00:00
mbalmer
70d654f756 Document recent gpio(4) changes and introduce a new config file for GPIO.
Integrate with the startup scripts in /etc/rc.d.  Introduce new variable
"gpio" for /etc/rc.conf.
2009-07-25 16:20:10 +00:00
mrg
2f79d21a3f we have xorg 1.6.2 now. 2009-07-24 04:46:53 +00:00
wiz
65db08e438 Sort supported hardware by name. 2009-07-22 19:42:15 +00:00
wiz
32550f5f41 Remove unnecessary .Pp. 2009-07-22 19:40:41 +00:00
alc
71b968b692 Bump date 2009-07-22 17:53:20 +00:00
alc
76d965daaa Update supported chips list. 2009-07-22 17:48:26 +00:00
alc
19be44bd80 HAL redistribution is no longer constrained by specific redistribution rules. 2009-07-22 17:45:54 +00:00
alc
2934de2045 The HAL is no longer a kernel blob, reflect this. 2009-07-22 17:34:56 +00:00
wiz
46ec96ceb4 Formatting nit. 2009-07-20 07:58:54 +00:00
minskim
39e3066b15 Enable IP_MINTTL option for SOCK_DGRAM sockets. 2009-07-19 23:17:33 +00:00
wiz
2e77f486e6 New sentence, new line. 2009-07-19 07:02:21 +00:00
kiyohara
1f46950ef0 Support siisata@cardbus.
It tested on amd64 and i386 only.
2009-07-19 06:28:08 +00:00
wiz
0e3d8a6be4 Make HTML-ready. 2009-07-18 06:31:54 +00:00
minskim
20bf08088e Bump date for the previous change. 2009-07-17 22:04:18 +00:00
minskim
d0a9c36e4a Add the IP_MINTTL socket option.
The IP_MINTTL option may be used on SOCK_STREAM sockets to discard
packets with a TTL lower than the option value.  This can be used to
implement the Generalized TTL Security Mechanism (GTSM) according to
RFC 3682.

OK'ed by christos@.
2009-07-17 22:02:54 +00:00
wiz
ce0cbbff10 New sentence, new line. 2009-07-16 07:31:48 +00:00
minskim
ca28940e0e Add the IP_RECVTTL option support.
If the IP_RECVTTL option is enabled on a SOCK_DGRAM socket, the
recvmsg(2) call will return the TTL of the received datagram.  The
msg_control field in the msghdr structure points to a buffer that
contains a cmsghdr structure followed by the TTL value.

Modeled after FreeBSD implementation.
2009-07-16 04:09:51 +00:00
wiz
0cb83a1a01 New sentence, new line. Add RCS Id. Make HTML-ready. 2009-07-14 21:40:02 +00:00
tls
44571ac47c Clarify accf_http manual page per wiz's request. 2009-07-14 21:37:50 +00:00
mrg
6773cdf6e4 XORG_CURRENT_VERSION is now 1.6.2. 2009-07-09 07:30:17 +00:00
tonnerre
e79d7b3f02 Add DOA which is widely used but not in here for some reason. 2009-07-07 10:56:13 +00:00
mbalmer
7e7dd97688 Unify BSL, MLH, and EAP, which are all the same airport. 2009-07-07 10:50:51 +00:00
wiz
8f62518cea Use more markup. Punctuation nit. 2009-06-29 06:02:09 +00:00
dholland
0633e5d59f Bump date for previous (thanks uebayasi@) 2009-06-29 05:49:28 +00:00
dholland
847d7ba4a1 Document namei_simple_kernel and namei_simple_user. 2009-06-29 05:17:14 +00:00
christos
d2cb166562 document gid, rgid 2009-06-26 15:50:17 +00:00
mjacob
19de87aaa4 Minimally update the man page to indicate 4 and 8Gb card support. 2009-06-25 23:45:52 +00:00
zafer
e61e7f5284 catch spelling error. 2009-06-24 23:10:02 +00:00
zafer
ca54efd201 fix common spelling error. 2009-06-24 22:39:40 +00:00
dholland
3f712a47e2 Fix typo, noticed in passing by wiz 2009-06-24 16:28:48 +00:00
mrg
2e277c2d9d add transforms for new GLU, GLUT and xorg-server pkgconfig files. 2009-06-23 04:40:29 +00:00
tron
9526375664 Correct the name of "FDH". It is called Bodensee-Airport Friedrichshafen.
Patch provided by Marc Balmer in private e-mail.
2009-06-22 19:26:38 +00:00
mrg
0f9b883ce6 remove reference to now dead DRM_EXTERNAL option. 2009-06-22 02:34:10 +00:00
wiz
622428f56e Sort SEE ALSO, minor nits. 2009-06-20 22:55:20 +00:00
mrg
9dac5eae13 update a few things, mostly from yorick hardy in PR#41528.
note "options DRM_EXTERNAL".
2009-06-20 18:20:51 +00:00
agc
fafe105c5c Clean up after moving the iSCSI initiator to src/usr.sbin/iscsi/initiator 2009-06-19 07:27:38 +00:00
mrg
5b9c71717d implement MKX11FONTS for Xorg. 2009-06-18 06:36:58 +00:00
wiz
f362df9bd8 Use Dv for ENVSYS_*. 2009-06-15 12:21:33 +00:00
pgoyette
9310b4d9c9 Clarify usage of the function members in struct sysmon_envsys and note
that they're optional.
2009-06-14 23:09:55 +00:00
wiz
2eb8ed9d33 Drop trailing whitespace. 2009-06-14 22:37:43 +00:00
pgoyette
45f4717820 Ooops - {get,set}_limits() need to be sensor-specific. Pass an extra
argument to them to identify the individual sensor being processed.
2009-06-14 19:43:12 +00:00
pgoyette
774ea2bbe8 Remove left-over XXX - thanks wiz@ for pointing this out. 2009-06-13 18:21:55 +00:00
pgoyette
c235777756 Add capability to send sensor limit values to the driver so they can
be programmed into device registers.  This way we can let the hardware
help us out instead of having to always compare the value against each
limit.  (Driver updates for some sensors to take advantage of this
capability will be forthcoming.)
2009-06-13 16:08:25 +00:00
njoly
4be675790f s/v4l2_capabilities/v4l2_capability/ for VIDIOC_QUERYCAP ioctl. 2009-06-13 10:07:55 +00:00
mrg
74da3bca40 update XORG_VERSION_CURRENT.
update the pkgconfig sed script to handle newer pixman.

XXX: should make the pkgconfig sed script barf it it ends up leaving
XXX: behind something that looks like "@.*@", i think.
2009-06-11 05:34:22 +00:00
mrg
2575b988d6 add xkeyboard-config. 2009-06-11 05:30:15 +00:00
mrg
097191f1bd don't define FONTCACHE here any more, for Xorg. 2009-06-10 08:28:20 +00:00
mrg
23b4863243 +dri2proto -printproto 2009-06-10 04:11:01 +00:00
mrg
50ea2508ff sync the list of valid xorg packages:
- add libpciaccess
- remove Xp XprintUtil XprintAppUtil
2009-06-10 02:05:45 +00:00
cegger
84aaef5fb6 mention both X11R6 and X11R7
requested by mrg@ on source-changes-d
2009-06-09 17:43:27 +00:00
cegger
c4f0336b00 X11R6 -> X11R7
ok wiz@
2009-06-09 13:05:15 +00:00
wiz
9cf943caaf Bump date for previous. New sentence, new line. 2009-06-08 07:59:38 +00:00
darran
f5116a20c4 Document the link1 ifconfig option which disables LACP. 2009-06-07 23:06:48 +00:00
zafer
755dd9bd66 fix typo in MLX. It's Malatya. 2009-06-07 12:32:51 +00:00
tonnerre
ca936eac8b BSL is the "Basel/Mulhouse/Freiburg Euroairport", not Europort.
Patch contributed in private mail by Marc Balmer.
2009-06-07 11:16:37 +00:00
hubertf
5cf334a3c2 add mlinks for iic manpages 2009-06-06 18:48:09 +00:00
dholland
5fac9138c2 +OOM 2009-06-06 06:46:42 +00:00
wiz
b7a42d7cb2 Match wording in list to other entries. 2009-06-05 09:29:15 +00:00
wiz
3d125cd052 Drop trailing whitespace. Add a missing continuation line. Use more .An. 2009-06-05 09:27:47 +00:00
jnemeth
f6768fff89 grammar fix 2009-06-05 08:40:51 +00:00
hubertf
b290981f9c Add iic(4) manpage, partly taken from OpenBSD. 2009-06-05 07:21:14 +00:00