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
wosch
94009b0474
Cosmetic change: remove a redundant ${.OBJDIR} in the html realinstall
...
target. The current dir is ${.OBJDIR} so ${.OBJDIR} shouldn't be in
the rule.
Pointed out by: bruce
1997-03-02 15:52:34 +00:00
peter
efd139c9da
This commit was generated by cvs2svn to compensate for changes in r23285,
...
which included commits to RCS files with non-trunk default branches.
1997-03-02 15:50:35 +00:00
peter
4c6cc15963
Import ipfilter 3.1.8 kernel components
1997-03-02 15:50:35 +00:00
peter
240550ea53
Import ipfilter 3.1.8 kernel components
1997-03-02 15:50:35 +00:00
peter
1ba699df8a
This commit was generated by cvs2svn to compensate for changes in r23282,
...
which included commits to RCS files with non-trunk default branches.
1997-03-02 15:49:41 +00:00
peter
89e688499d
Replacement import of ipfilter 3.1.7 components used in kernel.
...
(This is to repair the vendor branching)
1997-03-02 15:49:41 +00:00
peter
f0c7769b1f
Replacement import of ipfilter 3.1.7 components used in kernel.
...
(This is to repair the vendor branching)
1997-03-02 15:49:41 +00:00
peter
5c943c5a62
This commit was generated by cvs2svn to compensate for changes in r23279,
...
which included commits to RCS files with non-trunk default branches.
1997-03-02 15:40:21 +00:00