Commit Graph

8842 Commits

Author SHA1 Message Date
jmmv
56e945ca0d Mention "file-system tmpfs". Pointed out by Rui Paulo. 2005-10-08 11:22:13 +00:00
kleink
01f5b4cf82 Merge tzdata2005n. 2005-10-07 23:13:13 +00:00
kleink
b0db9252aa Import tzdata2005n. 2005-10-07 23:12:02 +00:00
riz
4b5421222c Add support for the gpio(4) framework to the elansc(4) system controller.
From Alexander Yurchenko (grange@openbsd), via OpenBSD.
Approved by jmcneill.
2005-10-07 15:59:49 +00:00
elad
8fc0d7a9c3 Introduce per-page fingerprints in Veriexec.
This closes a hole pointed out by Thor Lancelot Simon on tech-kern ~3
years ago.

The problem was with running binaries from remote storage, where our
kernel (and Veriexec) has no control over any changes to files.

An attacker could, after the fingerprint has been verified and
program loaded to memory, inject malicious code into the backing
store on the remote storage, followed by a forced flush, causing
a page-in of the malicious data from backing store, bypassing
integrity checks.

Initial implementation by Brett Lymn.
2005-10-05 13:48:48 +00:00
hubertf
e533c36a54 Add locate.updatedb(8).
Discovered missing while sorting things out for BSDcertification.org.
Ran through wizd(8).
2005-10-05 06:29:03 +00:00
jmmv
1631ceed60 Disable the /var/run entry and tell the user what to do to make it work
correctly.

While here, add two more sample entries.
2005-10-03 19:56:04 +00:00
wiz
4785baa84f Use Dv instead of Sy for macros.
Do not Xr to ourselves, use .Nm instead.
2005-10-03 19:16:35 +00:00
rpaulo
75886382db Update to reflect new ifmedia constants.
Reviewed by David Young.
2005-10-03 18:08:03 +00:00
wiz
13132461ea Use full month names in Dd. 2005-10-03 16:52:17 +00:00
wiz
5219255abf getfsent(3) does not contain any information about the (nonexisting)
function getfstype(), so don't MLINK it. Remove getfstype from other
places that reference it too.

Noted by jmc@openbsd.
2005-10-03 14:56:32 +00:00
bouyer
c42416ada1 Xref pool_cache(9) and bump date. 2005-10-02 15:17:32 +00:00
kleink
8ab59cd76b Remove MLINKS leftover from previous. 2005-10-02 14:57:13 +00:00
macallan
09bc805fb6 Build XFree86 on NetBSD/sparc.
Tested on Krups and a SPARCbook 3GX
Works only with wscons kernels, currently there's official support on Krups
with igsfb and more or less official support for SPARCbooks with pnozz and
SPARCstations with cgsix.
2005-10-01 22:51:31 +00:00
yamt
ac3e57ebff we don't have the global runtime anymore. 2005-10-01 04:09:06 +00:00
rpaulo
9622c7ed25 Add sysexits.3 2005-09-30 20:55:26 +00:00
rpaulo
13419de87f Add a manual page for <sysexists.h>, from FreeBSD with a minor
adjustments (removed reference to the style(9) man page added NetBSD
to the HISTORY section) by me.
2005-09-30 20:54:58 +00:00
simonb
be630e4bf2 Split the fstab examples so that adding newer examples doesn't need a
shuffling of previous examples across line boundaries.
2005-09-30 12:55:13 +00:00
jmmv
3d17d70f0c Add a fstab.tmpfs sample file showing simple but common sample entries.
Suggested by martti@.
2005-09-29 21:06:43 +00:00
jmmv
4d3c62ba48 Make the file system names column wide enough to suit all names.
Terminate all entries with a dot (for consistency with the ones that were
like this before).
Few minor markup fixes.
2005-09-29 21:02:14 +00:00
jmmv
1a0ed0c2e8 Mention tmpfs; noted by martti@. While here, also mention smbfs and ptyfs. 2005-09-29 20:59:13 +00:00
wiz
e7b5f94c7d Wording improvements from jmc@openbsd. 2005-09-27 19:07:17 +00:00
wiz
33db60eae0 Grammar improvement, remove trailing whitespace. 2005-09-27 13:23:55 +00:00
jmcneill
00e0f7867d Add gscpcib(4) man page as requested by wizd(8). 2005-09-27 10:59:45 +00:00
wiz
233ed29117 Use .In. Mention NetBSD import. Use .Nx. 2005-09-27 09:13:00 +00:00
jmcneill
2772d72668 Add man page for gpio framework (from OpenBSD) 2005-09-27 02:38:03 +00:00
rpaulo
4e47c694c9 Sync prototypes with reality. 2005-09-26 01:04:34 +00:00
jmmv
50f3dc6f20 Fix two typos in ubc_alloc. 2005-09-25 09:01:21 +00:00
wiz
ca32cb658b Fix Dd argument (long month name). 2005-09-23 20:53:08 +00:00
wiz
2b92eba533 Improve wording. Fix Dd argument. 2005-09-23 20:52:05 +00:00
wiz
4321428753 New sentence, new line. 2005-09-23 20:47:25 +00:00
wiz
6021522859 Add missing comma. Mark up NULL with Dv. 2005-09-23 20:30:48 +00:00
wiz
50da23b12f Fix Dt abuse. 2005-09-23 20:29:08 +00:00
wiz
6d698973ab Sort SEE ALSO. 2005-09-23 20:00:43 +00:00
gavan
532593dd52 Note that MEMORY_DISK_DYNAMIC is incompatible with mdsetimage(8). 2005-09-23 17:31:10 +00:00
jmmv
b0085cab71 Kill the tmpfs(9) manual page; it was just documenting internal details of
tmpfs' "API" and was already rotting.

Instead, merge all the relevant comments into the code.  This includes
acknowledgements to Google's Summer of Code 2005 program (they were in the
AUTHORS section of tmpfs(9) before), so all the files need to be changed
to include this sentence alongside the title.  (Note that this was not a
requirement of the program.)
2005-09-23 15:36:15 +00:00
jmmv
2a3e5eeb7c Apply the NFS exports list rototill patch:
- Remove all NFS related stuff from file system specific code.
- Drop the vfs_checkexp hook and generalize it in the new nfs_check_export
  function, thus removing redundancy from all file systems.
- Move all NFS export-related stuff from kern/vfs_subr.c to the new
  file sys/nfs/nfs_export.c.  The former was becoming large and its code
  is always compiled, regardless of the build options.  Using the latter,
  the code is only compiled in when NFSSERVER is enabled.  While doing this,
  also make some functions in nfs_subs.c conditional to NFSSERVER.
- Add a new command in nfssvc(2), called NFSSVC_SETEXPORTSLIST, that takes a
  path and a set of export entries.  At the moment it can only clear the
  exports list or append entries, one by one, but it is done in a way that
  allows setting the whole set of entries atomically in the future (see the
  comment in mountd_set_exports_list or in doc/TODO).
- Change mountd(8) to use the nfssvc(2) system call instead of mount(2) so
  that it becomes file system agnostic.  In fact, all this whole thing was
  done to remove a 'XXX' block from this utility!
- Change the mount*, newfs and fsck* userland utilities to not deal with NFS
  exports initialization; done internally by the kernel when initializing
  the NFS support for each file system.
- Implement an interface for VFS (called VFS hooks) so that several kernel
  subsystems can run arbitrary code upon receipt of specific VFS events.
  At the moment, this only provides support for unmount and is used to
  destroy NFS exports lists from the file systems being unmounted, though it
  has room for extension.

Thanks go to yamt@, chs@, thorpej@, wrstuden@ and others for their comments
and advice in the development of this patch.
2005-09-23 12:10:31 +00:00
dyoung
f6fb08f361 Add the manual page for geodewdog(4), the driver for the AMD Geode
SC1100's integrated watchdog timer.
2005-09-22 07:31:10 +00:00
jschauma
367b7cbf46 add nsfw - not suitable for work 2005-09-20 13:22:04 +00:00
wiz
de76f19a15 Fix typo. 2005-09-17 19:39:48 +00:00
elad
be00ef5e40 Document permit_nonalpha.
PR/20497.
2005-09-17 19:32:11 +00:00
yamt
b0f1e65487 note that VMSWAP is on by default. 2005-09-17 14:44:09 +00:00
yamt
a9fc4cefe5 revive VMSWAP. 2005-09-17 14:42:39 +00:00
wiz
b2e59d5cd3 Sort sections. 2005-09-15 15:14:37 +00:00
nonaka
f4b01f6f22 Added rs5c372rtc, shpcic man pages. 2005-09-15 15:04:55 +00:00
wiz
5ae9d694d4 Add adt7467c.4. 2005-09-12 08:16:29 +00:00
macallan
dc24724129 man page for the adt7467c driver 2005-09-12 03:19:50 +00:00
wiz
e1ee35d138 portmap is dead, refer to rpcbind instead. From YOMURA Masanori in private mail. 2005-09-11 23:36:19 +00:00
wiz
141be58d15 Mention that this man page is obsolete and will die. 2005-09-11 23:35:17 +00:00
wiz
7e05179fed Remove duplicate MAKE_ENV description. From YOMURA Masanori in private mail. 2005-09-11 23:33:22 +00:00
wiz
2a27f58d26 genassym.sh(8) -> genassym(1). From YOMURA Masanori in private mail. 2005-09-11 23:32:48 +00:00
wiz
5dba10faf8 Drop useless comma. From YOMURA Masanori in private mail. 2005-09-11 23:30:49 +00:00
wiz
448718c6fc Mark up CDPATH. From YOMURA Masanori in private mail. 2005-09-11 23:10:39 +00:00
wiz
e95eb1410c Remove superfluous .Pp.
New sentence, new line.
2005-09-10 22:48:09 +00:00
wiz
382e4da58a Drop trailing whitespace. 2005-09-10 22:45:45 +00:00
wiz
ef2f276eb2 Bump date for 1.32.
Use .Aq instead of \*[Lt]\*[Gt] and mark up paths with .Pa.
2005-09-10 22:40:37 +00:00
wiz
d44e7a1778 Use Xr to avoid Nm abuse. 2005-09-10 22:30:33 +00:00
wiz
7b47372df1 Bump date for 1.77. 2005-09-10 22:25:58 +00:00
wiz
f28fe3eca1 Use more markup. Drop trailing whitespace. 2005-09-10 22:24:42 +00:00
wiz
4c0f3d6384 Bump date for previous. 2005-09-10 22:21:41 +00:00
jmmv
9b0d5af66f Fix some mistakes spotted by wiz@. 2005-09-10 21:59:39 +00:00
wiz
87274aa423 Punctuation fixes. Add another XXX. 2005-09-10 21:48:21 +00:00
wiz
d6a46ac226 Various fixes:
file-system -> file system
make (most) lines shorter than 80 chars
use more appropriate macros
fix a few typos
add two XXX for wrong sentences I'm not sure how to fix properly
2005-09-10 21:42:32 +00:00
jmmv
ec93365612 Initial addition of tmpfs, an efficient memory file-system. This project
was developed as part of Google's Summer of Code 2005 program.  This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.

The file-system is still *experimental*.  Therefore, it is disabled by
default in all kernels.  However, as typically done, a commented-out
entry is added in them to ease its setup.

Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.

OK'ed by my project mentor, William Studenmund (wrstuden@).
2005-09-10 19:20:48 +00:00
wiz
efd6948ad1 Whitespace nits. 2005-09-10 12:51:13 +00:00
wiz
10a241c2eb Uppercase CPU. Remove a superfluous double quote. Use Dv for defined
values.
2005-09-09 20:33:54 +00:00
wiz
b6b6657a5a Uppercase I/O. 2005-09-09 20:29:12 +00:00
drochner
ce9fc42a2b -avoid references to the cardbus "dev" locator, this doesn't make
sense technically and should be removed
2005-09-09 14:11:39 +00:00
drochner
68f1c179c5 -mention fwohci
-avoid references to the cardbus "dev" locator, this doesn't make
 sense technically and should be removed
2005-09-09 14:03:51 +00:00
ragge
aada101c5e Add man page for the xge driver. 2005-09-09 11:20:38 +00:00
wrstuden
1fa8554ba6 Note the fact that buffer cache takes block numbers in
units of DEV_BSIZE, even if the device's device size is
larger. Update date.

Reviewed by wiz. :-)
2005-09-08 22:51:36 +00:00
tshiozak
3095745573 change OOB_MODE to INVALID; this mapper is only used to be layered on
other mappers, thus ILSEQ is irrelevance.
2005-09-08 09:40:20 +00:00
tshiozak
3d40ace0a6 attach tables to CP932<->UCS mappers for NEC-defined VDC zone. 2005-09-07 07:17:59 +00:00
kleink
54281f5ccd Typo. 2005-09-06 20:12:43 +00:00
rpaulo
6733d4dc7b Change 'headers' to 'network layer headers' as suggested by Tetsuya Isaki. 2005-09-06 19:18:41 +00:00
kiyohara
f49de0934c Support LCD screen driver for PERSONA SH3 machines. 2005-09-05 19:23:29 +00:00
kiyohara
17587c6104 Support LCD screen driver for PERSONA SH3 machines. 2005-09-05 18:54:10 +00:00
rpaulo
a9b5ede7fc PR misc/31139: bpf(4) does not describe some ioctls, by Tetsuya Isaki.
IOCTLs explained: BIO[GS]HDRCMPLT and IO[GS]SEESENT.
2005-09-05 18:03:18 +00:00
hubertf
105b456cb7 Mention pwhash(1) in a few places,
suggested in PR 31125 by Stefan Schumacher.
2005-09-05 03:37:14 +00:00
elad
d095dfcecb Change examples; we're using /etc/signatures and not vexec.conf.
Change the message that appears at the end of the fingerprint generation
to match what the user really needs to do.
2005-09-03 10:22:21 +00:00
elad
c38a64b2fe We have SHA2 in cksum(1); no need for digest from pkgsrc anymore. 2005-09-03 10:11:31 +00:00
blymn
f115e176d8 New style fingerprint generation script. 2005-09-03 09:57:10 +00:00
rillig
3177b76827 Fixed white-space. 2005-09-02 22:06:53 +00:00
jwise
3deae99425 Add proper support for using bsd.hostprog.mk to build c++-based host
programs -- doesn't affect current host tools build (groff is built the
Makefile.gnuhost way).

Provides {.cc,.cpp,.cxx,.C}.lo rule, associated variables, and HOSTPROG_CXX
support (mirroring PROG_CXX in bsd.prog.mk).

Tested with from-scratch `build.sh tools' and full system build.
2005-09-02 03:57:10 +00:00
kleink
d272861eb2 In the wake of C99 (which dropped the implicit int), add a type specifier
to the declarations to keep them warning-free; also add some clarifying
words that the globals are _located at_ those addresses.

Inspired by a conversation with Takayoshi Kochi.
2005-09-01 12:39:33 +00:00
lukem
aca67b86d3 Fix parallel build race in CONFIGSYMLINKS & CONFIGLINKS by
makeing configlinksinstall depend upon configfilesinstall.
2005-08-31 05:08:24 +00:00
jmmv
c35190a672 Sync the description of the getattr, link and rmdir operations with reality
as regards vnode locking.  Thanks to wrstuden@ for clarifying this.
2005-08-30 21:03:13 +00:00
kleink
efa0c35187 Merge tzdata2005m. 2005-08-29 18:57:16 +00:00
kleink
2c698fdc25 Import tzdata2005m. 2005-08-29 18:55:15 +00:00
gson
c1b877ce29 Update description of struct usb_device_info to match the current
definition in usb.h revision 1.72.
2005-08-29 11:49:36 +00:00
reinoud
f4a3f04cb2 Create functions ioctl_copyin() and ioctl_copyout(). They are meant to be
used in ioctl routines to do the right thing when the FKIOCTL flag is
passed to the IOCTL routine indicating its a in-kernel VOP_IOCTL call and
indirect addresses provided in the arguments are to be seen as kernel
adresses rather than userland adresses.

A simple substitution and prepending of the `flags' passed on to the ioctl
handler is enough to DTRT.
2005-08-28 20:58:14 +00:00
kiyohara
89a1921f3a Fix locator specified by sbp(4). 2005-08-28 15:22:06 +00:00
briggs
60c87a4d4c Mention that a kthread *must* call kthread_exit() to terminate itself
properly.  If you don't, the kernel will likely crash.
2005-08-27 01:32:59 +00:00
briggs
ede55d75e5 Add some comments about using inttypes.h / int_fmtio.h macros.
Show use of PRIdMAX, PRIxMAX, PRId64, PRIx32, and refer to SCN*.
Inspired by comments from Roland Illig and others.
2005-08-25 17:51:58 +00:00
rpaulo
dc0cbc5f93 Add LIS (Aeroporto da Portela de Sacavem, Lisbon). 2005-08-24 18:08:04 +00:00
tron
16a79c22fe Add LCY (London City). 2005-08-24 17:17:17 +00:00
rpaulo
b07796b5b8 Added map_type = file to the global configuration. Else, we would get warnings
on amd boot saying the file wasn't executable.
2005-08-23 13:54:41 +00:00
yamt
653095ecab document M_MOVE_PKTHDR. 2005-08-23 09:34:11 +00:00
rillig
9e7b9d2566 Partly reverted my last change. I had forgotten that off_t is a signed
data type.
2005-08-20 16:17:36 +00:00
rillig
7b9a62a31f Don't cast unsigned values to long long. They might overflow. 2005-08-20 09:03:29 +00:00
rillig
410ba033c5 Use exit(EXIT_FAILURE) instead of exit(1). 2005-08-20 08:58:57 +00:00
christos
21e4f1184e mention ICMPPRINTFS; from Liam Foy 2005-08-19 12:28:37 +00:00
jmmv
8f66d74dea Specify the types for the cookies and ncookies parameters to the readdir
operation.
2005-08-19 10:56:29 +00:00
christos
c4ee9f6d2e 64 bit inode changes 2005-08-19 02:07:18 +00:00
rpaulo
70d95a4d7d /sys is no longer available, change it to /usr/src/sys. 2005-08-18 01:09:02 +00:00
skrll
784c9344e8 Initial pass at an in-tree ia64 toolchain. From PR 29141 with some fixes
from me.
2005-08-17 07:13:32 +00:00
yamt
54313d8a0e remove disk_init. 2005-08-14 12:02:02 +00:00
yamt
e776c85955 remove disk_init which we don't have anymore. 2005-08-14 12:01:26 +00:00
jmmv
589ba12e9c uvm_unmap returns void, not int.
Also drop some spaces before commas, as they ought not to be there.
2005-08-13 09:49:58 +00:00
yamt
2edce77c87 document pmap_procwr. 2005-08-11 11:20:48 +00:00
pooka
9157daca51 apply cosmetics to VOP_MK/RMDIR prototypes 2005-08-11 10:49:47 +00:00
pooka
f219942c2b match section on read/write ioflags with current reality
(bump date!)
2005-08-11 10:06:38 +00:00
he
be72885616 Disable the C++ warning -Wold-style-cast for sh3 as well, because
that CPU's headers' va_start() uses a cast.

Discussed with christos.
2005-08-09 22:16:19 +00:00
he
1042d80dad Gcc 2.95.3 doesn't support the -Wabi warning flag, so don't try to use
it there.

The vax port's va_start() macro uses a cast, so for the moment disable
the -Wold-style-cast warning flag for the old GCC as well (as vax is
the only remaining port using this compiler).
2005-08-09 15:24:26 +00:00
christos
4d135558d7 Add CXXFLAGS for WARNS=2 2005-08-09 02:38:06 +00:00
wiz
b54afe3f3c Remove trailing whitespace. 2005-08-07 11:15:38 +00:00
jmmv
1dae1602d4 vgonel takes two parameters, not one. 2005-08-05 13:37:25 +00:00
jmmv
dc8a3e3a58 Sync tag-types list with reality (missing VT_PTYFS) and fix some typos.
Bump date.
2005-08-05 13:28:50 +00:00
jmmv
a31858b1d2 Fix a typo and replace a comma with an 'and'. 2005-08-05 13:20:05 +00:00
rpaulo
0095c1a604 Added a new section called "SYSCTLS" explaining the purpose of
net.bpf.maxbufsize, net.bpf.stats and net.bpf.peers.
Bump the date.

Reviewed by: wiz@
2005-08-04 20:13:29 +00:00
elad
a6ac91e102 Sync with reality.
- We now support multiple entry types and not just one
- We care for kern.veriexec.strict, not securelevel
- Add sysctl(3) to SEE ALSO
2005-08-02 18:54:53 +00:00
wiz
4b9a77db2a Remove another outdated variable. 2005-08-01 11:38:30 +00:00
augustss
c3723e17d4 Add ucycom.4 2005-07-31 13:31:07 +00:00
yamt
852a558e35 revert 1.286 for now. (VMSWAP) 2005-07-31 04:13:20 +00:00
yamt
39df1811b1 document VMSWAP. 2005-07-31 01:07:02 +00:00
wiz
b4c2f91b37 Add an article. 2005-07-31 00:25:58 +00:00
wiz
c8110a6e00 Add some articles. 2005-07-31 00:21:09 +00:00
nakayama
69b6d49897 Add man page for teliosio(4). 2005-07-31 00:12:16 +00:00
rpaulo
056ff58f97 Since bpf is now a clonable device, remove references to /dev/bpfX.
Update the structs so that they match bpf.h and bpfdesc.h.
Bump date.

ok christos@
2005-07-30 16:37:36 +00:00
wiz
0a56fe008a Drop trailing whitespace. 2005-07-30 13:22:34 +00:00
skrll
c6963d0441 regen. 2005-07-30 06:18:39 +00:00
skrll
acd7c4c5ca Add a driver for Cypress microcontroller based USB serial adapters.
XXX hw flow control is not supported.
2005-07-30 06:14:49 +00:00
xtraeme
5c429f92b9 Add missing .Pp, bump date. 2005-07-29 19:11:16 +00:00
wiz
85de2d6607 Remove COMMON VARIABLES section, moved to guide. 2005-07-28 13:08:09 +00:00
rpaulo
f74909745b Added Portuguese keymap for MAPLE keyboards, found on SEGA Dreamcast.
ok hubertf@
2005-07-25 19:57:30 +00:00
augustss
c1a19f89d8 Document 'uhci at cardbus'. From FUKAUMI Naoki. 2005-07-24 08:44:59 +00:00
peter
c9b40229dd 3com -> 3Com. from OpenBSD. 2005-07-22 14:18:21 +00:00
kleink
c8b35567f7 Merge tzdata2005k. 2005-07-20 13:43:34 +00:00
kleink
b26b9c7625 Import tzdata2005k. 2005-07-20 13:41:34 +00:00
wiz
418e12ffb2 Bump date for v. 2005-07-20 12:55:14 +00:00
pooka
4a04e27c9d statfs -> statvfs
(better late than never)
2005-07-20 11:35:48 +00:00
gdt
918f9be889 Note that once a tag is attached to an mbuf with m_tag_prepend,
freeing the mbuf will free the tag.
2005-07-19 12:44:02 +00:00
wiz
7da36539c0 Bump date for uipaq. 2005-07-18 15:33:14 +00:00
wiz
a55750f505 Drop trailing space. 2005-07-18 15:32:25 +00:00
wiz
839d8caeb0 Add missing .Re 2005-07-18 14:59:06 +00:00
wiz
610e0d6575 New sentence, new line. 2005-07-18 14:55:06 +00:00
wiz
db27d6b43f Minor fixes. 2005-07-18 14:53:58 +00:00
wiz
c5541497ba Drop trailing whitespace. 2005-07-18 14:06:05 +00:00
wiz
4a1c381386 Sort SEE ALSO. 2005-07-18 14:03:40 +00:00
augustss
028353b945 Add uipaq(4). From OpenBSD. 2005-07-18 11:36:46 +00:00