Andrey A. Chernov
32f6553e46
Big usernames fixes
1997-03-04 00:33:56 +00:00
Andrey A. Chernov
1e12d1c9d9
Remove words about lower limit needed (from BUGS section), we have
...
precise limit now
1997-03-03 23:50:55 +00:00
Andrey A. Chernov
53490b7634
Oops, fix typo.
1997-03-03 23:02:43 +00:00
Andrey A. Chernov
30cf3ac460
Don't copy more than MAXLOGNAME bytes in getlogin() syscall,
...
it is stricter than padded s_login size check was there.
1997-03-03 22:46:16 +00:00
Bruce Evans
0b7607eaaf
Improved description of the device names.
1997-03-03 18:47:38 +00:00
Bruce Evans
3fbafe0fb2
Updated descriptions of minor numbers and files.
...
Refer to pstat.
Don't attempt to list all the model numbers.
1997-03-03 18:38:37 +00:00
Doug Rabson
fab63cc413
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
Bruce Evans
e836e480dc
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
Bruce Evans
60e0f7e23d
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
Bruce Evans
9361c5abbd
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
Bruce Evans
e4d202a8ae
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
Bruce Evans
9bdc993298
Removed unused flag IN_RECURSE and unused struct member i_lockcount.
1997-03-03 16:25:46 +00:00
Bruce Evans
0d4c2cc0c7
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
Bruce Evans
01645cb5c9
Merged Cortex frame grabber entry from 2.2.
1997-03-03 16:13:35 +00:00
Warner Losh
59e5dcc34f
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
Bruce Evans
8f86703906
Updated mount_msdos to use the Lite2 getvfsbyname() interface.
1997-03-03 13:23:54 +00:00
Bruce Evans
cdd42308ce
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
Bruce Evans
3a76a5949b
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
Satoshi Asami
44a8c476f8
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
Bruce Evans
379184c88d
Fixed the getvfsbyname macro hack.
1997-03-03 11:55:47 +00:00
Andrey A. Chernov
964ca0caee
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
Andrey A. Chernov
ee58dcaeb3
Use stricter MAXLOGNAME now
1997-03-03 09:52:26 +00:00
Andrey A. Chernov
e91f3cb0c3
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
Warner Losh
1ffae4a6dd
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
David Greenman
ddd79a9790
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
Andrey A. Chernov
216a8ce058
Reflect current MAXLONGNAME value and specify that null included
1997-03-03 09:17:16 +00:00
Andrey A. Chernov
1366201aec
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
Andrey A. Chernov
33c4e65a47
Use MAXLOGNAME-1 for width because MAXLOGNAME includes NUL
1997-03-03 08:20:28 +00:00
Andrey A. Chernov
09f3779132
Don't add/subtract 1 to MAXLOGNAME, it is already NUL-terminated
1997-03-03 08:11:28 +00:00
Andrey A. Chernov
3bf4871a36
Restore MAXLOGNAME comment, but in slightly different form
1997-03-03 08:05:03 +00:00
Andrey A. Chernov
08a77c42e1
Back out MAXLOGNAME fix, Bruce points that copyinstr require NUL
1997-03-03 07:59:54 +00:00
Mike Pritchard
27117f574e
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
Mike Pritchard
940783df47
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
Mike Pritchard
10fd17786f
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
Bruce Evans
0df382bd0f
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 David
6f6cd52d6a
new codes for Czech and Slovakia
1997-03-03 05:01:54 +00:00
Hiroyuki Hanai
a299b176c6
Added candy@fct.kgc.co.jp for his translation of bsd-style-copyright.
1997-03-03 04:56:31 +00:00
Hiroyuki Hanai
13c3d47d73
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
Hiroyuki Hanai
257f518314
Sync with the original.
...
Submitted by: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
1997-03-03 04:46:59 +00:00
Wolfram Schneider
a58ae80927
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
Wolfram Schneider
4fbe57dc33
Add enviroment variable MAKEOBJDIRPREFIX, still undocumented except
...
in bsd.obj.mk.
1997-03-03 00:57:48 +00:00
John-Mark Gurney
50ceac8822
fix man page to use marcos instead of parens, quotes and braces
...
plus other minor fixes
1997-03-02 23:38:05 +00:00
Andrey A. Chernov
7c66c05d49
Add +1 to NUL terminate after MAXLOGNAME
1997-03-02 21:52:02 +00:00
Andrey A. Chernov
c3e7a0efd1
MAXLOGNAME currently 16, not 12
1997-03-02 21:47:03 +00:00
John-Mark Gurney
f22592e760
mdoc'ify man page
1997-03-02 21:43:10 +00:00
Andrey A. Chernov
6fa0fa0ec9
Fix MAXLOGNAME usage, the code has wrong assumption that it must be
...
NULL terminated
1997-03-02 21:40:17 +00:00
Andrey A. Chernov
431efa59e3
Fix MAXLOGNAME usage, the code has wrong assumption that
...
it must be NUL terminated
1997-03-02 21:36:17 +00:00
Andrey A. Chernov
3005821598
Back out 1.21 change because MAXLOGNAME _not_ includes NUL character in BSD
1997-03-02 21:21:08 +00:00
Wolfram Schneider
49e9f14378
Use soelim preprocessor.
1997-03-02 21:17:53 +00:00
Warner Losh
8f58838644
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