19961 Commits

Author SHA1 Message Date
dfr
7e67e1e732 This is the current draft of my filesystem manpages. Some files are
incomplete and some are just placeholders but I wanted to try to get
something at least into 2.2 on the grounds that what I have is a lot
better than nothing.  I also wanted to commit something which documents
the interfaces in 2.2 before I start updating the documentation for 3.0.

This is a definite 2.2 candidate and is also relavent to 2.1 if people
still care about that branch.
1997-03-03 18:01:01 +00:00
bde
6c38eceeb9 Fixed handling of input failure by the scanf family.
- 0 was returned instead of EOF when an input failure occured while
  skipping white-space after 0 assignments.  This fixes PR2606.  The
  diagnosis in PR2606 is wrong.
- EOF was returned instead of 0 when an input failure occurred after
  zero assignments and nonzero suppressed assignments.
- EOF was spelled -1.

This should be in 2.2.
1997-03-03 17:53:02 +00:00
bde
1b71c44ec9 Don't export kernel interfaces to applications. msdosfs_mount probably
didn't compile before this change.

Added idempotency ifdef.
1997-03-03 17:36:11 +00:00
bde
50810d80a2 Added missing #include, cleaned up #includes.
Print VFCF_UNICODE flag in the unlikely event that it is set.
1997-03-03 17:21:57 +00:00
bde
2a670d60f7 Fixed struct access bug and style bugs in previous revision. The same
fix as for syscons did not work because pcvt uses a struct where syscons
uses a struct pointer.
1997-03-03 16:33:41 +00:00
bde
f0abbb2b2d Removed unused flag IN_RECURSE and unused struct member i_lockcount. 1997-03-03 16:25:46 +00:00
bde
064d53aea0 Removed useless setting of IN_RECURSE. The (anti) locking for this needs
to be done in a different way, if at all.
1997-03-03 16:23:15 +00:00
bde
55030479cb Merged Cortex frame grabber entry from 2.2. 1997-03-03 16:13:35 +00:00
imp
f8a5871d89 Use .Sq Li \&\e0 rather than NUL to describe the character with no bits
set, as suggested by Garrett Wollman.   This is more consistant with how
things like strncpy are done, as well as harder to confuse NUL and NULL.
1997-03-03 15:39:06 +00:00
bde
7de8df2b4b Updated mount_msdos to use the Lite2 getvfsbyname() interface. 1997-03-03 13:23:54 +00:00
bde
1d929b9ddb Enabled the Lite2 getvfsbyname(). It's actually named new_getvfsbyname()
for now so that we don't lose library compatibility.  Applications should
define _NEW_VFSCONF and use getvfsbyname() instead of new_getvfsbyname()
if they want the new vfsconf interface.  Parts of the old interface
(enough to load vfs modules, I hope) are still available.
1997-03-03 13:08:33 +00:00
bde
5fc94677bd Merged Lite2's vfs_sysctl(). It doesn't fit very well into FreeBSD's
(phk's) sysctl framework, and I needed special code to disambiguate
the VFS_GENERIC node from the VFS_VFSCONF leaf, so I only converted
the leaves to the FreeBSD framework.  The error handling isn't quite
right.  CSRGS's sysctls seem to return ENOTDIR too much and FreeBSD's
sysctls don't agree with the man page.
1997-03-03 12:58:20 +00:00
asami
2d87f1b6fa Add Itsuro Saito <saito@miv.t.u-tokyo.ac.jp> and Makoto Matsushita
<matusita@ics.es.osaka-u.ac.jp> for their recent port submissions.
1997-03-03 12:07:53 +00:00
bde
d66c414650 Fixed the getvfsbyname macro hack. 1997-03-03 11:55:47 +00:00
ache
c030a5f0b6 Use MAXLOGNAME for stricter size check in setlogin() syscall instead of
sizeof of padded s_login array
1997-03-03 10:15:48 +00:00
ache
deb10b28e8 Use stricter MAXLOGNAME now 1997-03-03 09:52:26 +00:00
ache
2656c7c863 Use roundup(MAXLOGNAME, sizeof(long)) as e_login/s_login arrays size
instead of all hardcoded assumptions historically used
(i.e. sizeof(long) == 4)

Use MAXLOGNAME == 17 for stricter setlogin() size checking. Since
it rounds up to 20, all sizes remains the same
1997-03-03 09:51:15 +00:00
imp
e5f21340d7 Check the size of the IP address reutrned from gethostbyname2, per PR
2578 from Julian A.  Likely not strictly needed, but it doesn't hurt
and protects ping against possible buffer overflows if the resolver
were to return large IP addresses.
1997-03-03 09:50:21 +00:00
dg
1e7a910ca1 Improved performance of hash algorithm while (hopefully) not reducing
the quality of the hash distribution. This does not fix a problem dealing
with poor distribution when using lots of IP aliases and listening
on the same port on every one of them...some other day perhaps; fixing
that requires significant code changes.
The use of xor was inspired by David S. Miller <davem@jenolan.rutgers.edu>
1997-03-03 09:23:37 +00:00
ache
43ee6e6220 Reflect current MAXLONGNAME value and specify that null included 1997-03-03 09:17:16 +00:00
ache
434796834d Bump MAXLOGNAME to 20 to really hold 16-bytes user names + NUL
and decrease spare array by one to keep the same size of eproc
1997-03-03 08:34:08 +00:00
ache
648176d7b8 Use MAXLOGNAME-1 for width because MAXLOGNAME includes NUL 1997-03-03 08:20:28 +00:00
ache
681c062a91 Don't add/subtract 1 to MAXLOGNAME, it is already NUL-terminated 1997-03-03 08:11:28 +00:00
ache
cb0b007ac1 Restore MAXLOGNAME comment, but in slightly different form 1997-03-03 08:05:03 +00:00
ache
78407f0914 Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL 1997-03-03 07:59:54 +00:00
mpp
09cbe4801b Remove the -g option from the "find ... | xargs -ls ..." line.
The -g option to ls has been depreciated.
1997-03-03 07:03:50 +00:00
mpp
cff32b65f6 An odd merge from 2.2 to -current. Somehow that 2.2 nologin.5
man page was in better shape than the 3.0-current version,
so I'm committing the 2.2 version to 3.0.  Whatever happened,
it was my fault :-).
1997-03-03 06:47:27 +00:00
mpp
16adac7326 Change vfc_typenum back to vfc_index in response to bde's
commit to getvfsent.c rev 1.10.
1997-03-03 06:02:54 +00:00
bde
d2d0d9bc8b Changed vfc_typenum back to vfc_index. The old vfsconf struct is now
visible again, and the new vfsconf struct didn't match reality.
1997-03-03 05:53:54 +00:00
adam
1736bc201c new codes for Czech and Slovakia 1997-03-03 05:01:54 +00:00
hanai
89e15148ca Added candy@fct.kgc.co.jp for his translation of bsd-style-copyright. 1997-03-03 04:56:31 +00:00
hanai
59529b95c1 Include the bsd-style-copyright which was translated into Japanese
by candy@fct.kgc.co.jp
Submitted by: Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1997-03-03 04:51:24 +00:00
hanai
bd67a47ff1 Sync with the original.
Submitted by: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
1997-03-03 04:46:59 +00:00
wosch
7345179fde Fix broken output. It did not work due the obj dir changes
in make(1) some months ago.
1997-03-03 01:09:51 +00:00
wosch
9c7b325021 Add enviroment variable MAKEOBJDIRPREFIX, still undocumented except
in bsd.obj.mk.
1997-03-03 00:57:48 +00:00
jmg
8137e0fb8f fix man page to use marcos instead of parens, quotes and braces
plus other minor fixes
1997-03-02 23:38:05 +00:00
ache
05c8126ef7 Add +1 to NUL terminate after MAXLOGNAME 1997-03-02 21:52:02 +00:00
ache
08d63c99ae MAXLOGNAME currently 16, not 12 1997-03-02 21:47:03 +00:00
jmg
b6a02cdd45 mdoc'ify man page 1997-03-02 21:43:10 +00:00
ache
26bd0fe0b6 Fix MAXLOGNAME usage, the code has wrong assumption that it must be
NULL terminated
1997-03-02 21:40:17 +00:00
ache
099f4dd08d Fix MAXLOGNAME usage, the code has wrong assumption that
it must be NUL terminated
1997-03-02 21:36:17 +00:00
ache
fab230ff15 Back out 1.21 change because MAXLOGNAME _not_ includes NUL character in BSD 1997-03-02 21:21:08 +00:00
wosch
55c5f30ac3 Use soelim preprocessor. 1997-03-02 21:17:53 +00:00
imp
d2c3804867 Pendantic change of null to NUL. Also warn that this function does not
NUL terminate in the case of buffer overflow.
1997-03-02 20:07:37 +00:00
imp
914ff23b93 1) Minor nits in the usage message from bde. I took out the hard tabs and
used spaces to align the second line under the program name.
2) Cache uid after call to setuid(getuid()) so we don't waste a system call
   for each packet with a call to getuid for the -v case.
3) Update manual to reflect new restriction on -l from last delta.

Suggested by:	bde, Bill Fenner
1997-03-02 20:01:13 +00:00
joerg
4bd9c1366c Make more not immediately exit on a short file, if the -e option is
given.  This makes more -e basically usable at all when your termcap
entry supports an alternate screen buffer (like xterm-r6).

I wonder whether we should make more -e the default.  Oure more seems
to be the only one on the world with this funny behaviour.

2.2 candidate

Submitted by:	dawes@rf900.physics.usyd.edu.au (David Dawes)
1997-03-02 18:55:42 +00:00
bde
fa46b708cb This commit was generated by cvs2svn to compensate for changes in r23291,
which included commits to RCS files with non-trunk default branches.
1997-03-02 18:13:14 +00:00
bde
3327bb1de0 Attempt to import Lite2's getvfsbyname.c. 1997-03-02 18:13:14 +00:00
wosch
0b8c20ea1a Do not include nonexisting file /usr/src/share/man/man0/toc8. 1997-03-02 17:58:05 +00:00
bde
a42104c77d Restored some pre-Lite2-merge source-level compatibility to the mount()
and getvfsbyname() interfaces.  The new interfaces are now hidden from
applications unless _NEW_VFSCONF is defined.  The new vfsconf interfaces
don't work yet.
1997-03-02 17:53:37 +00:00