]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
22 years ago - Add the 'restrict' qualifier to the function definition of
Robert Drehmel [Wed, 14 Aug 2002 23:20:48 +0000 (23:20 +0000)]
 - Add the 'restrict' qualifier to the function definition of
   strftime(3) for IEEE Std 1003.1-2001 compliance and remove
   excessive usage of the 'const' qualifier that was neither
   present in the prototype in the publice header, nor in the
   local prototype just above the function definition.
 - Replace the K&R function definition with a ANSI-C one.
 - Update the prototype of strftime(3) in its manual page.

22 years ago - Add the 'restrict' qualifier to the definitions of the string
Robert Drehmel [Wed, 14 Aug 2002 22:59:22 +0000 (22:59 +0000)]
 - Add the 'restrict' qualifier to the definitions of the string
   concatenation and copy functions using the '__restrict' macro.
   This is to satisfy IEEE Std 1003-1.2001.
 - Use ANSI-C function definitions.
 - Add the 'restrict' keyword to the manual pages, too.

22 years ago - Add the C99 'restrict' qualifier using the '__restrict' macro to
Robert Drehmel [Wed, 14 Aug 2002 22:36:22 +0000 (22:36 +0000)]
 - Add the C99 'restrict' qualifier using the '__restrict' macro to
   function prototype and definition of strptime(3).
 - Update the manual page.

22 years agoUse "ugidfw.h" rather than <ugidfw.h> so that mkdep can find it.
Robert Watson [Wed, 14 Aug 2002 22:30:07 +0000 (22:30 +0000)]
Use "ugidfw.h" rather than <ugidfw.h> so that mkdep can find it.

Suggested by: mike

22 years ago - Add the 'restrict' qualifier to match the IEEE Std 1003.1-2001
Robert Drehmel [Wed, 14 Aug 2002 21:16:41 +0000 (21:16 +0000)]
 - Add the 'restrict' qualifier to match the IEEE Std 1003.1-2001
   prototype of the tdelete(3) function.
 - Remove duplicated space.
 - Use an ANSI-C function definition for tdelete(3).
 - Update the manual page.

22 years ago - Add the 'restrict' qualifier required by IEEE Std 1003.1-2001
Robert Drehmel [Wed, 14 Aug 2002 21:01:04 +0000 (21:01 +0000)]
 - Add the 'restrict' qualifier required by IEEE Std 1003.1-2001
   to the function definition of strxfrm(3) in form of our
   '__restrict' macro.
 - Use an ANSI-C function definition for strxfrm(3).
 - Change the manual page accordingly.

22 years ago -Add the restrict required by IEEE Std 1003.1-2001 in form
Robert Drehmel [Wed, 14 Aug 2002 20:40:35 +0000 (20:40 +0000)]
  -Add the restrict required by IEEE Std 1003.1-2001 in form
   of our __restrict macro to the prototypes and function
   definitions of inet_pton and inet_ntop.
 - Use ANSI-C function argument lists.
 - Adjust the prototypes in the manual page.

22 years agoDocument why the has_f00f_bug variable is initialised rather than placed into
Juli Mallett [Wed, 14 Aug 2002 18:07:09 +0000 (18:07 +0000)]
Document why the has_f00f_bug variable is initialised rather than placed into
the BSS (so that it can be binary-patched).

Inspired by: bde

22 years agoWhen talking about c_db_sym_t, mention that it is not just like db_sym_t:
Juli Mallett [Wed, 14 Aug 2002 17:56:47 +0000 (17:56 +0000)]
When talking about c_db_sym_t, mention that it is not just like db_sym_t:
it's const.

Inspired by: bde

22 years agoSpell kenrel as 'kernel' for consistency with the rest of the universe.
Juli Mallett [Wed, 14 Aug 2002 17:55:11 +0000 (17:55 +0000)]
Spell kenrel as 'kernel' for consistency with the rest of the universe.

Inspired by: bde

22 years agoRemoved the (never-released) FreeBSD 4.6.1.
Ruslan Ermilov [Wed, 14 Aug 2002 16:57:14 +0000 (16:57 +0000)]
Removed the (never-released) FreeBSD 4.6.1.

Inspired by: bmah's commit to www/en/releases/4.6.1R

22 years agoCollapsed the export list, added CD_EXTRA_BITS to it.
Ruslan Ermilov [Wed, 14 Aug 2002 16:50:50 +0000 (16:50 +0000)]
Collapsed the export list, added CD_EXTRA_BITS to it.

22 years agoUnbreak building of fstat following version 1.23 of
Bosko Milekic [Wed, 14 Aug 2002 16:34:13 +0000 (16:34 +0000)]
Unbreak building of fstat following version 1.23 of
src/sys/ufs/ufs/quota.h by including mount.h before ufs/quota.h.

22 years agomdoc(7) police: fixed indentation in SYNOPSIS.
Ruslan Ermilov [Wed, 14 Aug 2002 16:09:31 +0000 (16:09 +0000)]
mdoc(7) police: fixed indentation in SYNOPSIS.

Submitted by: style(9) police (bde)

22 years agoSet kernel_vm_end. Panic if we try to grow the kernel.
Jake Burkholder [Wed, 14 Aug 2002 15:05:26 +0000 (15:05 +0000)]
Set kernel_vm_end.  Panic if we try to grow the kernel.

22 years agoUse proper #include
Andrey A. Chernov [Wed, 14 Aug 2002 11:59:57 +0000 (11:59 +0000)]
Use proper #include

22 years agoAdd #undefs to separate local buffers declaration and now dinamic libc buffers
Andrey A. Chernov [Wed, 14 Aug 2002 11:51:26 +0000 (11:51 +0000)]
Add #undefs to separate local buffers declaration and now dinamic libc buffers

22 years agomdoc(7) police: simplify.
Ruslan Ermilov [Wed, 14 Aug 2002 11:38:30 +0000 (11:38 +0000)]
mdoc(7) police: simplify.

22 years agomdoc(7) police: Forgot to bump .Dd.
Ruslan Ermilov [Wed, 14 Aug 2002 11:32:32 +0000 (11:32 +0000)]
mdoc(7) police: Forgot to bump .Dd.

22 years agomdoc(7) police:
Ruslan Ermilov [Wed, 14 Aug 2002 11:31:37 +0000 (11:31 +0000)]
mdoc(7) police:

Added -F and -W options to the SYNOPSIS.
Fixed options DESCRIPTION to match style(9).
Document the default for -F.

22 years agoFix the usage() to match style(9).
Ruslan Ermilov [Wed, 14 Aug 2002 11:28:07 +0000 (11:28 +0000)]
Fix the usage() to match style(9).

22 years agomdoc(7) police: nits.
Ruslan Ermilov [Wed, 14 Aug 2002 11:05:40 +0000 (11:05 +0000)]
mdoc(7) police: nits.

22 years agoImplement the DIOCGSECTORSIZE and DIOCGMEDIASIZE ioctls, and rename
Joerg Wunsch [Wed, 14 Aug 2002 09:28:19 +0000 (09:28 +0000)]
Implement the DIOCGSECTORSIZE and DIOCGMEDIASIZE ioctls, and rename
the DIOCGDINFO ioctl into DIOCGDVIRGIN.  This allows the newfs(8) to
work on vinum volumes without the now removed -v option.

Approved by: grog

22 years agoAdd definition for FreeBSD 4.6.2.
Murray Stokely [Wed, 14 Aug 2002 06:32:17 +0000 (06:32 +0000)]
Add definition for FreeBSD 4.6.2.

22 years agoDon't export variables from /etc/rc when doing rc_ng because the scripts
Gordon Tetlow [Wed, 14 Aug 2002 05:58:44 +0000 (05:58 +0000)]
Don't export variables from /etc/rc when doing rc_ng because the scripts
are sourced in a subshell.

Submitted by: Mike Makonnen <makonnen@pacbell.net>

22 years agoClean up the scripts to use the new variables:
Gordon Tetlow [Wed, 14 Aug 2002 05:44:32 +0000 (05:44 +0000)]
Clean up the scripts to use the new variables:
xntpd_* -> ntpd_*
portmap_* -> rpcbind_*

Also change single_mountd_enable -> mountd_enable
Changing the mountd flags brings us closer to NetBSD.

All of the old variable names are shimmed so you can continue to use the
old variable name.

Finally make /etc/rc.d/mountd no longer dependent on nfs as there are
(apparently) other consumers of mountd.

Submitted by: Mike Makonnen <makonnen@pacbell.net>

22 years agoClean up some variables that should have been done before:
Gordon Tetlow [Wed, 14 Aug 2002 05:37:15 +0000 (05:37 +0000)]
Clean up some variables that should have been done before:
xntpd_* -> ntpd_*
portmap_* -> rpcbind_*

Also change single_mountd_enable to mountd_enable.

We also include shims for all the old variable names.

Submitted by: Mike Makonnen <makonnen@pacbell.net>

22 years agoMove to nested include of _label.h instead of mac.h, reducing namespace
Robert Watson [Wed, 14 Aug 2002 01:37:22 +0000 (01:37 +0000)]
Move to nested include of _label.h instead of mac.h, reducing namespace
pollution.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Suggested by: bde

22 years agoMove to a nested include of _label.h instead of mac.h in sys/sys/*.h
Robert Watson [Wed, 14 Aug 2002 01:04:43 +0000 (01:04 +0000)]
Move to a nested include of _label.h instead of mac.h in sys/sys/*.h
(Most of the places where mac.h was recursively included from another
kernel header file.  net/netinet to follow.)

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Suggested by: bde

22 years ago - Add the missing td argument to vn_lock that I missed in my last commit.
Jeff Roberson [Tue, 13 Aug 2002 20:34:30 +0000 (20:34 +0000)]
 - Add the missing td argument to vn_lock that I missed in my last commit.

22 years agoA much better description of the -q option.
Doug Barton [Tue, 13 Aug 2002 20:07:36 +0000 (20:07 +0000)]
A much better description of the -q option.

Obtained from: Andrew Brown <atatat@NetBSD.org>

22 years agomdoc(7) police: minor nits.
Ruslan Ermilov [Tue, 13 Aug 2002 19:43:47 +0000 (19:43 +0000)]
mdoc(7) police: minor nits.

Approved by: imp

22 years agoremove spurious printf
Poul-Henning Kamp [Tue, 13 Aug 2002 19:13:23 +0000 (19:13 +0000)]
remove spurious printf

22 years agoMoved sf_buf_alloc and sf_buf_free function declarations to sys/socketvar.h
David Greenman [Tue, 13 Aug 2002 19:03:19 +0000 (19:03 +0000)]
Moved sf_buf_alloc and sf_buf_free function declarations to sys/socketvar.h
so that they can be seen by external callers.

22 years agoUnbreak one of the most confusing breaks of the tree I've seen.
Poul-Henning Kamp [Tue, 13 Aug 2002 18:55:51 +0000 (18:55 +0000)]
Unbreak one of the most confusing breaks of the tree I've seen.

The last commit cannot possibly have been tested.

22 years agoRemove obsolete comment about sf_buf_* functions being static. They were
David Greenman [Tue, 13 Aug 2002 18:20:08 +0000 (18:20 +0000)]
Remove obsolete comment about sf_buf_* functions being static. They were
made un-static in rev 1.114.

22 years agoTwo more variables to export: KERNELS and AUTO_KEYBOARD_DETECT.
Ruslan Ermilov [Tue, 13 Aug 2002 16:59:56 +0000 (16:59 +0000)]
Two more variables to export: KERNELS and AUTO_KEYBOARD_DETECT.

Submitted by: Alan Judge <Alan.Judge@eircom.net>

22 years agoBootstrapping aid for pre-getprogname(3) systems.
Ruslan Ermilov [Tue, 13 Aug 2002 16:52:52 +0000 (16:52 +0000)]
Bootstrapping aid for pre-getprogname(3) systems.

Spotted by: Gareth Hopkins <gareth@za.uu.net>
Approved by: nectar
MFC after: 3 days

22 years agoIf a timeout is specified, make sure that rcmd() completes within
Ian Dowse [Tue, 13 Aug 2002 16:25:38 +0000 (16:25 +0000)]
If a timeout is specified, make sure that rcmd() completes within
the specified time. Previously, rsh could potentially hang indefinitely
at this point even when a timeout was set, for example if the server
accepts the connection and then never sends any reply.

PR: bin/20042
Submitted by: Keith White <Keith.White@site.uottawa.ca>
MFC after: 1 week

22 years agoForward define struct iovec instead of including
Maxime Henrion [Tue, 13 Aug 2002 16:20:12 +0000 (16:20 +0000)]
Forward define struct iovec instead of including
sys/uio.h and polluting the namespace even more.

22 years agoDon't depend on namespace pollution in sys/mount.h and
Maxime Henrion [Tue, 13 Aug 2002 16:07:39 +0000 (16:07 +0000)]
Don't depend on namespace pollution in sys/mount.h and
include sys/uio.h.

22 years agomdoc(7) police: Removed redundant .Ns calls.
Ruslan Ermilov [Tue, 13 Aug 2002 16:07:28 +0000 (16:07 +0000)]
mdoc(7) police: Removed redundant .Ns calls.

22 years agomdoc(7) police: untangle.
Ruslan Ermilov [Tue, 13 Aug 2002 15:59:28 +0000 (15:59 +0000)]
mdoc(7) police: untangle.

22 years agoDefine 'struct label' in _label.h rather than mac.h, which will permit
Robert Watson [Tue, 13 Aug 2002 15:54:28 +0000 (15:54 +0000)]
Define 'struct label' in _label.h rather than mac.h, which will permit
us to reduce namespace pollution by doing a nested include of _label.h
rather than mac.h.  mac.h contains lots of baggage, whereas _label.h
contains much less.  A follow-up sweep to change nested inclusion will
follow.  The problem regarding exporting 'struct label' to userland
due to excessive exporting of kernel structures to userland still
needs to be resolved.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Suggested by: bde

22 years agoAdd a bugs section to mention that this device probably doesn't work
Josef Karthauser [Tue, 13 Aug 2002 15:12:11 +0000 (15:12 +0000)]
Add a bugs section to mention that this device probably doesn't work
properly.

22 years agomdoc(7) police: Get rid of hard sentence breaks.
Ruslan Ermilov [Tue, 13 Aug 2002 15:09:33 +0000 (15:09 +0000)]
mdoc(7) police: Get rid of hard sentence breaks.

22 years agomdoc(7) police: revert unapproved changes in rev. 1.43, added missing markup bits...
Ruslan Ermilov [Tue, 13 Aug 2002 15:06:48 +0000 (15:06 +0000)]
mdoc(7) police: revert unapproved changes in rev. 1.43, added missing markup bits in rev. 1.45.

22 years agomdoc(7) police: nits.
Ruslan Ermilov [Tue, 13 Aug 2002 15:01:26 +0000 (15:01 +0000)]
mdoc(7) police: nits.

22 years agomdoc(7) police: typos.
Ruslan Ermilov [Tue, 13 Aug 2002 14:57:33 +0000 (14:57 +0000)]
mdoc(7) police: typos.

22 years agoReduce BSS size for programs which not load collate by eliminating
Andrey A. Chernov [Tue, 13 Aug 2002 14:55:17 +0000 (14:55 +0000)]
Reduce BSS size for programs which not load collate by eliminating
static buffer.

22 years agomdoc(7) police: nit.
Ruslan Ermilov [Tue, 13 Aug 2002 14:52:41 +0000 (14:52 +0000)]
mdoc(7) police: nit.

22 years agomdoc(7) police: tidy up formatting.
Ruslan Ermilov [Tue, 13 Aug 2002 14:51:17 +0000 (14:51 +0000)]
mdoc(7) police: tidy up formatting.

22 years agomdoc(7) police: revert to a valid construct.
Ruslan Ermilov [Tue, 13 Aug 2002 14:42:24 +0000 (14:42 +0000)]
mdoc(7) police: revert to a valid construct.

22 years agomdoc(7) police: removed hard sentence break.
Ruslan Ermilov [Tue, 13 Aug 2002 14:39:26 +0000 (14:39 +0000)]
mdoc(7) police: removed hard sentence break.

22 years agomdoc(7) police: Bump document date, removed (again) hard sentence breaks..
Ruslan Ermilov [Tue, 13 Aug 2002 14:37:41 +0000 (14:37 +0000)]
mdoc(7) police: Bump document date, removed (again) hard sentence breaks..

22 years agomdoc(7) police: nit.
Ruslan Ermilov [Tue, 13 Aug 2002 14:25:53 +0000 (14:25 +0000)]
mdoc(7) police: nit.

22 years agomdoc(7) police: laundry.
Ruslan Ermilov [Tue, 13 Aug 2002 14:20:06 +0000 (14:20 +0000)]
mdoc(7) police: laundry.

22 years agoUse a union to access the words of a double as this is less likely
David Malone [Tue, 13 Aug 2002 14:17:39 +0000 (14:17 +0000)]
Use a union to access the words of a double as this is less likely
to cause bugs when gcc is more aggressively optimising things.

There are still problems with dtoa mentioned in the PR - maybe
Dan could suggest a patch.

PR: 40209
Submitted by: Dan Lukes <dan@obluda.cz>
Approved by: bde
MFC after: 2 weeks

22 years agomdoc(7) police: laundry.
Ruslan Ermilov [Tue, 13 Aug 2002 14:12:31 +0000 (14:12 +0000)]
mdoc(7) police: laundry.

22 years agocan not -> cannot.
Ruslan Ermilov [Tue, 13 Aug 2002 14:10:36 +0000 (14:10 +0000)]
can not -> cannot.

22 years agoFix a wrong comment on (hopefully) right code.
Yaroslav Tykhiy [Tue, 13 Aug 2002 14:08:38 +0000 (14:08 +0000)]
Fix a wrong comment on (hopefully) right code.

MFC after: 3 days

22 years agoAdd tcpd to the build - though we don't need to for inetd, someone might
David Malone [Tue, 13 Aug 2002 14:03:40 +0000 (14:03 +0000)]
Add tcpd to the build - though we don't need to for inetd, someone might
want it for some other service-running program.

Approved by: markm
MFC after: 1 week

22 years agomdoc(7) police: added missing paragraph breaks.
Ruslan Ermilov [Tue, 13 Aug 2002 13:59:35 +0000 (13:59 +0000)]
mdoc(7) police: added missing paragraph breaks.

22 years agoFix command help lines:
Yaroslav Tykhiy [Tue, 13 Aug 2002 13:56:42 +0000 (13:56 +0000)]
Fix command help lines:
o PORT takes six byte values, not five.
o TYPE argument is mandatory.

Submitted by: demon (the 1st part)
MFC after: 3 days

22 years agomdoc(7) police: typo and removed stray .Pp.
Ruslan Ermilov [Tue, 13 Aug 2002 13:55:02 +0000 (13:55 +0000)]
mdoc(7) police: typo and removed stray .Pp.

22 years agomdoc(7) police: pseudo-devices are gone from -CURRENT.
Ruslan Ermilov [Tue, 13 Aug 2002 13:50:36 +0000 (13:50 +0000)]
mdoc(7) police: pseudo-devices are gone from -CURRENT.

22 years agomdoc(7) police: nits in rev. 1.4.
Ruslan Ermilov [Tue, 13 Aug 2002 13:44:45 +0000 (13:44 +0000)]
mdoc(7) police: nits in rev. 1.4.

22 years agomdoc(7) police: laundry.
Ruslan Ermilov [Tue, 13 Aug 2002 13:31:54 +0000 (13:31 +0000)]
mdoc(7) police: laundry.

22 years agomdoc(7) police: Consistently name options' arguments in the SYNOPSIS and DESCRIPTION...
Ruslan Ermilov [Tue, 13 Aug 2002 13:13:20 +0000 (13:13 +0000)]
mdoc(7) police: Consistently name options' arguments in the SYNOPSIS and DESCRIPTION sections..

22 years agoMFi386: revisions 1.354 and 1.356.
Yoshihiro Takahashi [Tue, 13 Aug 2002 12:25:01 +0000 (12:25 +0000)]
MFi386: revisions 1.354 and 1.356.

Remove the mpt driver entry.

22 years agomdoc(7) police: canonize FreeBSD in e-mail address.
Ruslan Ermilov [Tue, 13 Aug 2002 12:07:40 +0000 (12:07 +0000)]
mdoc(7) police: canonize FreeBSD in e-mail address.

22 years agomdoc(7) police: missing markup bits.
Ruslan Ermilov [Tue, 13 Aug 2002 12:03:35 +0000 (12:03 +0000)]
mdoc(7) police: missing markup bits.

22 years agoTidy up SRCS and MAN assignments.
Tim J. Robbins [Tue, 13 Aug 2002 11:56:02 +0000 (11:56 +0000)]
Tidy up SRCS and MAN assignments.

22 years agomdoc(7) police: KAMEism in rev. 1.56, nits in rev. 1.58.
Ruslan Ermilov [Tue, 13 Aug 2002 11:51:03 +0000 (11:51 +0000)]
mdoc(7) police: KAMEism in rev. 1.56, nits in rev. 1.58.

22 years agomdoc(7) police: Use the .Ud macro.
Ruslan Ermilov [Tue, 13 Aug 2002 11:47:56 +0000 (11:47 +0000)]
mdoc(7) police: Use the .Ud macro.

22 years agoImprove wording even more.
Ruslan Ermilov [Tue, 13 Aug 2002 11:39:38 +0000 (11:39 +0000)]
Improve wording even more.

22 years agoExpand the arguments to ffs_ext{read,write}() to their component
Poul-Henning Kamp [Tue, 13 Aug 2002 11:33:01 +0000 (11:33 +0000)]
Expand the arguments to ffs_ext{read,write}() to their component
parts rather than use vop_{read,write}_args.  Access to these
functions will ultimately not be available through the
"vop_{read,write}+IO_EXT" API but this functionality is retained
for debugging purposes for now.

Sponsored by: DARPA & NAI Labs.

22 years agomdoc(7) police: kill hard sentence break.
Ruslan Ermilov [Tue, 13 Aug 2002 11:29:42 +0000 (11:29 +0000)]
mdoc(7) police: kill hard sentence break.

22 years agoRemember to unlock the (optional) vnode in vfs_stdextattrctl(). Failing
Poul-Henning Kamp [Tue, 13 Aug 2002 11:11:51 +0000 (11:11 +0000)]
Remember to unlock the (optional) vnode in vfs_stdextattrctl().  Failing
to do this made the following script hang:

#!/bin/sh
set -ex

extattrctl start /tmp
extattrctl initattr 64 /tmp/EA00
extattrctl enable /tmp user ea00 /tmp/EA00
extattrctl showattr /tmp/EA00

if the filesystem backing /tmp did not support EAs.

The real solution is probably to have the extattrctl syscall do the
unlocking rather than depend on the filesystem to do it.  Considering
that extattrctl is going to be made obsolete anyway, this has dogwash
priority.

Sponsored by: DARPA & NAI Labs.

22 years agomdoc(7) police: nits.
Ruslan Ermilov [Tue, 13 Aug 2002 11:11:32 +0000 (11:11 +0000)]
mdoc(7) police: nits.

22 years agoRealign columns in DDB's ps output. Don't waste more horizontal space than
Poul-Henning Kamp [Tue, 13 Aug 2002 11:06:54 +0000 (11:06 +0000)]
Realign columns in DDB's ps output.  Don't waste more horizontal space than
necessary.

22 years agomdoc(7) police: tidy up.
Ruslan Ermilov [Tue, 13 Aug 2002 11:05:04 +0000 (11:05 +0000)]
mdoc(7) police: tidy up.

22 years agoRemove the Bugs section, which is not relevant to FreeBSD: there is no
Tim J. Robbins [Tue, 13 Aug 2002 10:50:22 +0000 (10:50 +0000)]
Remove the Bugs section, which is not relevant to FreeBSD: there is no
one-character ungetwc(3) buffer limit.

22 years agoFreeBSD-ify: use In macro for header files in Synopsis, St C-99 instead of
Tim J. Robbins [Tue, 13 Aug 2002 10:47:17 +0000 (10:47 +0000)]
FreeBSD-ify: use In macro for header files in Synopsis, St C-99 instead of
St C99 in Standards section.

22 years agoUnravel the UFS_EXTATTR incest between FFS and UFS: UFS_EXTATTR is an
Poul-Henning Kamp [Tue, 13 Aug 2002 10:33:57 +0000 (10:33 +0000)]
Unravel the UFS_EXTATTR incest between FFS and UFS:  UFS_EXTATTR is an
UFS only thing, and FFS should in principle not know if it is enabled
or not.

This commit cleans ffs_vnops.c for such knowledge, but not ffs_vfsops.c

Sponsored by: DARPA and NAI Labs.

22 years agoAdd PowerPC category.
Marc Fonvieille [Tue, 13 Aug 2002 10:30:55 +0000 (10:30 +0000)]
Add PowerPC category.

PR: docs/41595
Submitted by: Christian Brueffer <chris@unixpages.org>
MFC after: 3 days

22 years agoAdd a #include for <sys/mount.h>
Poul-Henning Kamp [Tue, 13 Aug 2002 10:07:05 +0000 (10:07 +0000)]
Add a #include for <sys/mount.h>

22 years agoIntroduce typedefs for the member functions of struct vfsops and employ
Poul-Henning Kamp [Tue, 13 Aug 2002 10:05:50 +0000 (10:05 +0000)]
Introduce typedefs for the member functions of struct vfsops and employ
these in the main filesystems.  This does not change the resulting code
but makes the source a little bit more grepable.

Sponsored by: DARPA and NAI Labs.

22 years agoBasic support for wide character I/O: getwc(), fgetwc(), getwchar(),
Tim J. Robbins [Tue, 13 Aug 2002 09:30:41 +0000 (09:30 +0000)]
Basic support for wide character I/O: getwc(), fgetwc(), getwchar(),
putwc(), fputwc(), putwchar(), ungetwc(), fwide().

22 years agoMake SYSVSEM mpsafe. Each semaphore set gets its own lock, however
Alfred Perlstein [Tue, 13 Aug 2002 08:47:17 +0000 (08:47 +0000)]
Make SYSVSEM mpsafe.  Each semaphore set gets its own lock, however
there is a global lock over the undo structures because of the way
they are managed.

Switch to using SLIST instead of rolling our own linked list.

Fix several races where a permission check was done before a
copyin/copyout, if the copy happened to fault it may have been
possible to race for access to a semaphore set that one shouldn't
have access to.

Requested by: rwatson
Tested by: NetBSD regression suite.

22 years agoA cooperative effort...
Doug Barton [Tue, 13 Aug 2002 08:23:49 +0000 (08:23 +0000)]
A cooperative effort...

1. Update the code to the latest from NetBSD, which includes:
* A new command line option to suppress stat(2) errors
* Output is now done via stdio
* Fixes for bitwise OR'ing of letters

2. Andrew from NetBSD merged in our own Johan's readlink patches.

3. Andrew also merged in some brucifications.

I made some small contributions to the header cleanup, and tried
to generally improve the overall style(9)'ishness. I also documented
the new -q option and added the *LINKS to the Makefile.

All responsibility for mistakes in merging the contributions
from the above is mine.

Obtained from: Andrew Brown <atatat@NetBSD.org>, bde, johan

22 years agoMake SYSVMSG mpsafe. Right now there is a global lock over the
Alfred Perlstein [Tue, 13 Aug 2002 08:00:36 +0000 (08:00 +0000)]
Make SYSVMSG mpsafe.  Right now there is a global lock over the
entire subsystem, we could move to per-message queue locks, however
the messages themselves seem to come from a global pool and to avoid
over-locking this code (locking individual queues, then the global
pool) I've opted to just do it this way.

Requested by: rwatson
Tested by: NetBSD's regression suite.

22 years ago - Hold the vnode lock throughout execve.
Jeff Roberson [Tue, 13 Aug 2002 06:55:28 +0000 (06:55 +0000)]
 - Hold the vnode lock throughout execve.
 - Set VV_TEXT in the top level execve code.
 - Fixup the image activators to deal with the newly locked vnode.

22 years ago o Remove an unnecessary vm_page_flash() from _pmap_unwire_pte_hold().
Alan Cox [Tue, 13 Aug 2002 06:22:11 +0000 (06:22 +0000)]
 o Remove an unnecessary vm_page_flash() from _pmap_unwire_pte_hold().

Reviewed by: peter

22 years ago - Extend the vnode_free_list_mtx to cover numvnodes and freevnodes. This
Jeff Roberson [Tue, 13 Aug 2002 05:29:48 +0000 (05:29 +0000)]
 - Extend the vnode_free_list_mtx to cover numvnodes and freevnodes.  This
   was done only some of the time before, and now it is uniformly applied.

22 years agoIntroduce support for labeling and access control of pipe objects
Robert Watson [Tue, 13 Aug 2002 02:47:13 +0000 (02:47 +0000)]
Introduce support for labeling and access control of pipe objects
as part of the TrustedBSD MAC framework.  Instrument the creation
and destruction of pipes, as well as relevant operations, with
necessary calls to the MAC framework.  Note that the locking
here is probably not quite right yet, but fixes will be forthcoming.

Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs

22 years agoAttach uvisor(4) to the build.
Tom Rhodes [Tue, 13 Aug 2002 01:39:36 +0000 (01:39 +0000)]
Attach uvisor(4) to the build.

22 years agoAdd the uvisor(4) manual page.
Tom Rhodes [Tue, 13 Aug 2002 01:38:19 +0000 (01:38 +0000)]
Add the uvisor(4) manual page.

Obtained from: NetBSD
Requested by: joe

22 years agodon't include redunant \n in panic message
Warner Losh [Mon, 12 Aug 2002 22:36:18 +0000 (22:36 +0000)]
don't include redunant \n in panic message

22 years agoDon't redundantly include \n in panic messages
Warner Losh [Mon, 12 Aug 2002 22:34:12 +0000 (22:34 +0000)]
Don't redundantly include \n in panic messages