Mike Smith
3a558f83dd
Check that vp->v_mount is non-null in fsync() before dereferencing it to
...
obtain the mountpoint's MNT_ASYNC flag.
This is a Very Definite Last-Minute 2.2 Bugfix Candidate.
Reviewed by: sef
1997-03-05 01:42:14 +00:00
Gary Palmer
0b146b65d2
Back out the patch to break up the clock probe lines. Instead, follow
...
Bruce's suggestion of deleting "relative to mc146818A clock ",
thus shortening the line ...
1997-03-05 00:54:00 +00:00
Warner Losh
624ff93821
Fix typo introduced in 1.17.
...
Submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>
1997-03-04 22:05:49 +00:00
Wolfram Schneider
4f55c7f722
Add CVS II: Parallelizing Software Development PSD:28
1997-03-04 20:35:32 +00:00
Bruce Evans
e4c4150e70
Fixed connection of vfs.ffs node to the sysctl tree.
1997-03-04 18:35:15 +00:00
Bruce Evans
4a8b966013
Attach vfs_sysctl() one level lower so that only the levels below
...
VFS_GENERIC aren't done in the FreeBSD way. The previous commit
broke the nfs sysctls.
1997-03-04 18:31:56 +00:00
Wolfram Schneider
d5e90b65d2
Install RCS and CVS documents.
1997-03-04 18:21:07 +00:00
Wolfram Schneider
6b06cd7e84
Add /usr/share/doc/psd/13.rcs and /usr/share/doc/psd/28.cvs. ..
1997-03-04 17:06:23 +00:00
Doug Rabson
ffdbee2566
Formatting tweaks.
1997-03-04 10:02:44 +00:00
Thomas Gellekum
28a771a1b1
Add Matthew Hunt for his angband port.
1997-03-04 09:40:42 +00:00
Gary Palmer
5c5e8d766c
Split the rather long and line-wrapping clock probe messages on boot.
...
(2.2?)
Submitted by: Mathew Dood <winter@jurai.net>
1997-03-04 09:24:01 +00:00
Daniel O'Callaghan
3a7e707703
Typo fix 'and' -> 'an'.
...
This is a 2.2 candidate.
1997-03-04 07:55:43 +00:00
KATO Takenori
5db523b1d5
Fixed devfs code. Old code remained in pc98 tree.
...
Submitted by: URATA Shuichiro <s-urata@nmit.tmg.nec.co.jp>
1997-03-04 06:39:02 +00:00
KATO Takenori
541de8d9a5
Synchronize with sys/i386/isa/syscons.c revision 1.205.
1997-03-04 06:25:54 +00:00
Mike Pritchard
3a9c9c6e42
Typo police.
1997-03-04 06:20:48 +00:00
Hiroyuki Hanai
d18876a142
Sync with the original.
1997-03-04 04:50:07 +00:00
Alexander Langer
b7fee247fd
Comment out _POSIX_THREAD_PRIORITY_SCHEDULING since it's not supported
...
at this time.
Reviewed by: John Birrell <jb@cimlogic.com.au>
1997-03-04 01:30:50 +00:00
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