Commit Graph

10593 Commits

Author SHA1 Message Date
Andrey A. Chernov
f550ee3d9b Cleanup make process per Bruce suggestions
Add ru_SU.CP866 time locale
1995-11-03 15:08:10 +00:00
Peter Wemm
118617f4f6 This commit was generated by cvs2svn to compensate for changes in r12032,
which included commits to RCS files with non-trunk default branches.
1995-11-03 15:06:04 +00:00
Peter Wemm
16c2ba9395 Import NetBSD's quot command, filling the gap in our sources
(We only have the man page...)

Obtained from: NetBSD; Wolfgang Solfrank / TooLs GmbH.
1995-11-03 15:06:04 +00:00
Andrey A. Chernov
3861c86a42 Cleanup make process per Bruce suggestions 1995-11-03 14:53:53 +00:00
Andrey A. Chernov
1b31f20e14 Add $id$ and ${COPY} 1995-11-03 14:51:45 +00:00
Andrey A. Chernov
40e33105d2 Cleanup make process per Bruce suggestions 1995-11-03 14:39:11 +00:00
Andrey A. Chernov
15b31aa05a Fix isspecial/isphonogram, they was swapped
Remove EOF hack, now it is recognized per ANSI/POSIX
Add upper bounds check
Handle all negative chars inside locale functions
1995-11-03 12:25:14 +00:00
Jordan K. Hubbard
1babea36ca Lots-o-cleanup(tm):
1. Fix the bogon I introduced that made some root filesystems fail to be
   made with `unable to make filesystem on sd1s1a' or some such error
   message.

2. Latest installment in the never-ending chapter on making FTP do the right
   thing on a cruel internet.

3. Make `express install' a truly express install and split off what it used
   to do into a `novice install' that's even more geared to the novice
   by asking questions in order, rather than forcing them through the menu
   interface.

4. Make anonymous FTP setup truly DTRT.

5. Build lndir directly into sysinstall and make the novice install offer
   to set up the ports tree.  Also make the ports setup truly explanatory
   about what it's doing, and always link the ports destination to /usr/ports
   if necessary so that bsd.port.mk doesn't need to be tweaked.
1995-11-03 12:02:45 +00:00
Peter Wemm
84c60f0d3f Workaround for the setlogin()-in-same-session-as-inetd bug.
This causes:
1: inetd to clear it's getlogin() name at startup (in case the sysadmin
	logged in and su'ed to root and restarted inetd)
2: inetd to start each spawned process in it's own session.
3: inetd to call setlogin() on non-root processes (eg: uucp for uucico)
4: log failures more extensively

This means that root spawned processes from inetd remain responsible for
setting their login name if they change their uid. (eg: rshd, login, etc).

If they do not do so, it is safer for them to have no "login name" than a
wrong one (like "root") because the getlogin() system call is documented
as "secure" on 4.4BSD.  inetd when started from /etc/rc would have no login
name anyway, so this isn't really a change - it's making it consistant with
the bootup state...

The setsid() change *may* cause something to break that is doing a setsid()
itself and checking the result - it will fail now because it's already been
done.  The consensis seems to be that this is unlikely. David G. thinks
this is acceptable as it is cleaner from an architectural point of view.
1995-11-03 09:30:13 +00:00
Andrey A. Chernov
42ef439996 Add more stuff moved out from XPG3 1995-11-03 09:03:00 +00:00
Andrey A. Chernov
f9cbdf410e Move more stuff out to XPG4
Handle negative chars inside runetype/tolower/toupper
1995-11-03 08:59:02 +00:00
Peter Wemm
96673e6696 Fix the incomplete merge for the IPX code - the internals are different.
Note, the IPX in pppd support is not really there. I suspect that
it may work if you ifconfig it up manually.
1995-11-03 08:42:21 +00:00
Nate Williams
1e37fc9d59 Changed the terminology for what used to be called the "memorizing"
vector.  Now it is called the "symbol caching" vector.  This was made
possible and unconfusing by other changes that allowed me to localize
everything having to do with the caching vector in the function
reloc_map().

Switched to alloca() for allocating the caching vector, and eliminated
the special mmap-based allocation routines.  Although this was motivated
by performance reasons, it led to significant simplification of the
code, and made it possible to confine the symbol caching code to the
single function reloc_map().

Got rid of the unnecessary and inefficient division loop at the
beginning of rtld().

Reduced the number of calls to getenv("LD_LIBRARY_PATH") to just 1, on
suggestion from <davidg@root.com>.

Added breaks out of the relocation loops when the relocation address is
found to be 0.  A relocation address of 0 is caused by an unused
relocation entry.  Unused relocation entries are caused by linking a
shared object with the "-Bsymbolic" switch.  The runtime linker itself
is linked that way, and the last 40% of its relocation entries are
unused.  Thus, breaking out of the loop on the first such entry is a
performance win when ld.so relocates itself.  As a side benefit, it
permits removing a test from md_relocate_simple() in
../i386/md-static-funcs.c.

Unused relocation entries in other shared objects (linked with
"-Bsymbolic") caused even bigger problems in previous versions of the
runtime linker. The runtime linker interpreted the unused entries as if
they were valid. That caused it to perform repeated relocations of the
first byte of the shared object.  In order to do that, it had to remap
the text segment writable.  Breaking out of the loop on the first unused
relocation entry solves that.

Submitted by:	John Polstra <jdp@polstra.com>
1995-11-02 18:48:15 +00:00
Andrey A. Chernov
01eddd5836 Remove startup_locale reference.
Add LANG variable description.
1995-11-02 12:53:26 +00:00
Andrey A. Chernov
082249ace6 Remove startup_locale reference 1995-11-02 12:46:20 +00:00
Andrey A. Chernov
3e912c9dee Remove my locale hack. Sigh. 1995-11-02 12:42:42 +00:00
Peter Wemm
43732dbeda When the sync-on-shutdown fails to clear all buffers, this bit of code
can print them out.
I have seen that MFS can leave BUSY buffers, preventing a clean reboot...
1995-11-02 09:52:40 +00:00
Peter Wemm
0839e0de72 Make putc and b_to_q deal with clists with no reserved blocks in a more
civilised manner than panicing.  This only happens as a result of another
state botch somewhere else, eg: from a tty driver calling putc or b_to_q
on a closed device.  Apparently, it's also been implicated in a panic
with a status (^T) event on ptys.

This change should pretty well be in it's final form now.
1995-11-02 08:37:22 +00:00
David Greenman
23922ccaca Move page fixups (pmap_clear_modify, etc) that happen after paging input
completes out of vm_fault and into the pagers. This get rid of some
redundancy and improves the architecture.

Reviewed by:	John Dyson <dyson>
1995-11-02 06:42:47 +00:00
Garrett Wollman
054ef37088 Instrument the IP input queue with two new read-only MIB entries:
net.inet.ip.intr-queue-maxlen (=== ipintrq.ifq_maxlen)
and	net.inet.ip.intr-queue-drops (=== ipintrq.ifq_drops)

There should probably be a standard way of getting the same information
going the other way.
1995-11-01 17:18:27 +00:00
Nate Williams
58fe9a2131 Don't have ldconfig look in /usr/gnu/lib since it was removed before 2.0R. 1995-11-01 16:53:25 +00:00
Peter Wemm
a317bc2c36 Clean up the previous commit I did on this file.
The Jury has not reached a verdict yet on this approach - a better fix
may be thought of, but for now this works.
1995-11-01 15:59:55 +00:00
Peter Wemm
30a4b938d0 Add a DRIVER_S= definition that config wants to use for assembler
source.  This was copied from NORMAL_S..
1995-11-01 15:03:02 +00:00
Mark Murray
9d38201e5d Add the man directory to the SUBDIR list - some pages were bing lost.
Thes pages will move for 2.2.

Please put this in 2.1
1995-11-01 13:38:22 +00:00
Adam David
56c78cb71a Fix the :S modifier to substitute in each word of the variable, according
to the description in the manpage. g flag means "replace every occurence
in each word", and its absence means "replace first occurence in each word".
Previously, absence of the g flag was implemented to mean "replace first
occurence found in all words, and then stop replacing", which was incorrect.
1995-11-01 12:18:32 +00:00
Andrey A. Chernov
74e1c9782c Fix ranlib to work with odd-length extended names.
Submitted by: Jim Leppek <jleppek@harris.com>
1995-11-01 08:06:01 +00:00
Peter Wemm
f2d642f969 Re-Zap unused variables in their new location.. :-) 1995-11-01 00:58:43 +00:00
Gary Palmer
6c680b8484 Minor changes. Note that the ICMP code will either send a host unreachable
or port unreachable as appropriate.
1995-11-01 00:42:17 +00:00
Andrey A. Chernov
bf66fd8815 If accounting becomes enabled and /var/account/acct
not exist, touch it, or accounting is never started
(it must be pre-existen file).
1995-11-01 00:22:45 +00:00
Julian Elischer
1b3f472e51 Submitted by: Mike Mitchell (mitchell@ref.tfs.com)
these patches bring the ipx code up to the point that it compiles cleanly with
the -W arguments suggested by bruce.
1995-10-31 23:36:47 +00:00
Peter Wemm
9f65f104f5 Merge in changes from ppp-2.2's chat onto the mainline... 1995-10-31 23:28:29 +00:00
Peter Wemm
698ac68e11 This commit was generated by cvs2svn to compensate for changes in r11987,
which included commits to RCS files with non-trunk default branches.
1995-10-31 23:07:20 +00:00
Peter Wemm
2253b28816 Vendor branch import of chat from ppp-2.2 package.. 1995-10-31 23:07:20 +00:00
Peter Wemm
5d889ad3e1 Merge pppstats from ppp-2.2 onto mainline..
This version uses specific interface ioctl()'s rather than groveling
around in /dev/kmem
1995-10-31 21:41:59 +00:00
Peter Wemm
4599db98a6 Import pppstats from the ppp-2.2 package onto vendor branch. 1995-10-31 21:35:36 +00:00
Peter Wemm
25c2c2fd8b Whoops.. ppp-comp.h -> ppp_comp.h... 1995-10-31 21:29:25 +00:00
Peter Wemm
60f531a365 Bring pppd from ppp-2.2 onto the mainline..
(more work needs to be done here, I'm trying to beat the supscan)
1995-10-31 21:21:51 +00:00
Joerg Wunsch
e046098fa9 Include a prerequisite header (so this is consistent again with the
NFSv2 state).
1995-10-31 21:17:59 +00:00
Peter Wemm
945f93070b Import pppd onto the vendor branch from the ppp-2.2 package.. 1995-10-31 21:11:19 +00:00
cvs2svn
560c30efa3 This commit was manufactured by cvs2svn to create branch 'MACKERRAS'. 1995-10-31 21:10:15 +00:00
Peter Wemm
8c430818c6 Initial revision 1995-10-31 21:10:14 +00:00
Peter Wemm
7dbdd057a4 We no longer need the spltty() == splimp() hack if PPP is configured into
the kernel.  ppp_tty.c goes to some lengths to minimise the inter-layer
calling (including a soft ISR).  ppp_tty.c takes care of the soft masking
that was needed still.

(I've discovered that bugs in this area show up within an hour if the
masking was not correct.. :-}  This combination has proven stable on
specialix serial ports, although there was some concern about the softtty
parts of sio/cy and netisr colliding - but Bruce has fixed that now)
1995-10-31 21:03:57 +00:00
Paul Traina
e42f2d599a Pad out MSDOS boot block to 512 bytes (bugfix only)
Submitted by: Andreas Haakh, ah@alman.RoBIN.de
1995-10-31 20:54:33 +00:00
Peter Wemm
ba886c3099 Update if_ppp lkm to pull in the new files... 1995-10-31 20:54:15 +00:00
Peter Wemm
1aea408caf Remove the old pppcompress files (btw: these look net-2 derived)
commit merge for bsd_comp.c - I missed this with a *ppp* wildcard.
1995-10-31 20:51:24 +00:00
Peter Wemm
f2fdf012d4 Drat.. Missed this one, which #includes ppp-comp.h, not ppp_comp.h 1995-10-31 20:41:32 +00:00
Peter Wemm
099a8761f8 Update the file list for the new ppp files.. 1995-10-31 20:33:23 +00:00
Jordan K. Hubbard
58a00a4f4c Fix the `pkg_add relative to .' bug. Thank you, Ville!
Submitted by:	Ville Eerola <ville@vlsi.fi>
1995-10-31 20:30:18 +00:00
Peter Wemm
45e829f5a5 Merge/update ppp-2.2 kernel parts onto mainline.
Note that the old if_ppp.c has been split in half into if_ppp.c and
ppp_tty.c
1995-10-31 20:24:14 +00:00
Peter Wemm
25742fbca8 Import the FreeBSD specific kernel parts of the ppp-2.2 package..
This is the unmodified files vendor branch import, the working stuff 
will follow shortly..
1995-10-31 20:07:34 +00:00