Commit Graph

12005 Commits

Author SHA1 Message Date
Bruce Evans
ad59a83d3e Fixed spelling of s_namlen so that this compiles again. 1996-01-25 00:45:37 +00:00
Bruce Evans
bf124e256b Restored newline at the end of panic messages. 1996-01-25 00:17:22 +00:00
Andrey A. Chernov
c925658ada Localize it. 1996-01-24 22:50:24 +00:00
Andrey A. Chernov
78b2ac4b74 Use two-letters abbrev. for weekdays
Change months form
1996-01-24 22:49:33 +00:00
Joerg Wunsch
2fb96ab9ba Create symlinks for the MD5 libcrypt's in the bindist.
Jordan, this and my previous commit to lib/Makefile should
re-establish the libcrypt for our releases now. :-)

Well, not sure, perhaps init(8) is linked against the wrong libcrypt
in the bindist. :-(
1996-01-24 21:42:37 +00:00
Joerg Wunsch
7c2f56cca5 Build libscrypt in addition to libdescrypt if RELEASEDIR is set.
Releases do need both libraries (they go into different distributions).
1996-01-24 21:32:46 +00:00
Poul-Henning Kamp
1ce9bf88c3 Use new printf features rather than local kludges. 1996-01-24 21:12:23 +00:00
Poul-Henning Kamp
120f078334 Remove %r hack, we have vprintf() now.
Add %D for "dumping" data.  Good for ethernet/MAC addresses and such.
Handle 1 < radix < 37.
1996-01-24 20:56:20 +00:00
Poul-Henning Kamp
f0fb9bf18f Extend to handle all radix < 37 1996-01-24 20:51:26 +00:00
Garrett Wollman
fde327d6ab Fix memory leak in case of adding a host route on top of another one.
Pointed-out-by:  Bill Fenner <fenner@parc.xerox.com>
1996-01-24 20:27:19 +00:00
Nate Williams
c524c9334d Bring in the man page additions for PT_ATTACH/DETACH|GET/SET_REGS that
were deleted out after the initial import now that Peter's code has
implemented them in -current.
1996-01-24 20:17:17 +00:00
Garrett Wollman
619a6d21a0 Disable $Log$ 1996-01-24 20:01:27 +00:00
Peter Wemm
3b60d376b9 Attempt to fix the procfs LKM after making some of the procfs
code shared with ptrace and "standard" in the config.
1996-01-24 19:34:49 +00:00
Mike Pritchard
97f1b9871e Add a check to prevent a computation from underflowing and causing
a panic due to an attaempt to allocate a buffer for a terabyte or
so of data when an attempt is made to create sparse data (e.g.
a holey file) more than 1 block past the end of the file.

Note:  some other areas of this code need to be looked at,
since they might cause problems when the file size exceeds 2GB,
due to storing results in ints when the computations are being
done with quad sized variables.

Reviewed by:	bde
1996-01-24 18:52:18 +00:00
Peter Wemm
bf6024ee3a Add commands for ptrace get/set registers.. (Same numbers as NetBSD) 1996-01-24 18:51:48 +00:00
Peter Wemm
1530906921 procfs_machdep.c is now shared with ptrace as well. It is now no longer
optional.
1996-01-24 18:47:58 +00:00
Peter Wemm
9ef8f02df6 procfs_{mem|regs|fpregs}.c are now completely shared with ptrace(),
and are no longer optional.  This cuts down some code duplication.
1996-01-24 18:44:42 +00:00
Peter Wemm
0cc7521383 Major fixes for procfs..
Implement a "variable" directory structure. Files that do not make
sense for the given process do not "appear" and cannot be opened.
For example, "system" processes do not have "file", "regs" or "fpregs",
because they do not have a user area.

"attempt" to fill in the user area of a given process when it is being
accessed via /proc/pid/mem (the user struct is just after
VM_MAXUSER_ADDRESS in the process address space.)

Dont do IO to the U area while it's swapped, hold it in place if possible.

Lock off access to the "ctl" file if it's done a setuid like the other
pseudo-files in there.
1996-01-24 18:41:41 +00:00
Peter Wemm
b0281cef04 Major fixes for ptrace()...
PT_ATTACH/PT_DETACH implemented now and fully operational.
PT_{GET|SET}{REGS|FPREFS} implemented now, using code shared with procfs
PT_{READ|WRITE}_{I|D} now uses code shared with procfs
ptrace opcodes now fully permission checked, including ownerships.
doing an operation to the u-area on a swapped process should no longer
panic.
running gdb as root works for me now, where it didn't before.
general cleanup..

Note, that this has some tightening of permissions/access checks etc.
Some of these may be going too far..  In particular, the "owner" of the
traced process is enforced.  The process that created or attached to
the traced process is now the only one that can "do" things to it.
1996-01-24 18:29:00 +00:00
Peter Wemm
bf5bfe45ab proc.h: Add PHOLD()/PRELE() macros to ensure the U area is not swapped
while doing ptrace/procfs in it.
ptrace.h: uncomment PT_ATTACH/PT_DETACH, I am committing code to do this.
1996-01-24 18:11:23 +00:00
Andrey A. Chernov
1f8d3d7485 German LC_TIME
Submitted by: joerg
1996-01-24 11:30:26 +00:00
Wolfram Schneider
98b1043eab man.1 depend on man.man 1996-01-24 00:22:27 +00:00
Wolfram Schneider
7848c5e3b3 manpath.1 depend on manpath.man 1996-01-24 00:18:29 +00:00
Wolfram Schneider
8eeb71d709 add a manpage 1996-01-24 00:11:58 +00:00
Wolfram Schneider
2ae90f756e add a manpage
check for  argument 'path'
1996-01-23 23:59:36 +00:00
Wolfram Schneider
dec89a7984 install manpage 1996-01-23 23:41:50 +00:00
Wolfram Schneider
3f22919355 note in bugs section: madvise not yet implemented 1996-01-23 23:33:55 +00:00
Joerg Wunsch
7a8a029a66 Hide the probe warnings behind `bootverbose'. 1996-01-23 22:55:08 +00:00
Stefan Eßer
dd7610fca4 Make PCI interrupt handlers return void like everybody else does.
Reviewed by:	davidg
1996-01-23 21:48:28 +00:00
Garrett Wollman
ac09ec5108 Spelling error: Busting -> Bursting. 1996-01-23 21:31:51 +00:00
Joerg Wunsch
09a9d67790 `-w' was actually a flag, not an option... 1996-01-23 21:27:39 +00:00
Poul-Henning Kamp
d7c0e66f38 Remove some now unused printfoids. 1996-01-23 21:17:59 +00:00
Joerg Wunsch
216f442d13 Add a hint that the -w flag to catman(1) is actually the command
wakewhatis(1) for us.

Closes PR # docs/966

Submitted by:	obrien@cs.ucdavis.edu (David E. O'Brien)
1996-01-23 21:09:39 +00:00
Joerg Wunsch
74f1d2b4d5 Add an additional warning that a "dangerously dedicated" disk cannot have
a boot selector in sector 0.

Closes PR # conf/963: Using the...

Submitted by:	muir@idiom.com (David Muir Sharnoff)
1996-01-23 21:05:22 +00:00
Garrett Wollman
aacfda3486 Got the sense of the L1 cache enabled test wrong; fixed. 1996-01-23 20:36:49 +00:00
Garrett Wollman
db4a5c0521 Add support for dumping the configuration of the Intel
82371FB PCI ISA IDE Xcellerator (sic) chip.  The IDE function
will not be done until Stefan tells me how to access it.
1996-01-23 20:21:24 +00:00
Mike Pritchard
c2dc2eab50 Add a missing "chmod 755 /usr/include/ufs" when copies of the include
files are installed instead of symlinks.
1996-01-23 15:56:43 +00:00
Bruce Evans
5d391de1d4 Search section 9. 1996-01-23 14:03:26 +00:00
Mike Pritchard
a0f4ffca81 Merged changes to resolve conflicts with file 3.19 import. 1996-01-23 12:40:36 +00:00
Mike Pritchard
c94004bba2 This commit was generated by cvs2svn to compensate for changes in r13584,
which included commits to RCS files with non-trunk default branches.
1996-01-23 12:29:07 +00:00
Mike Pritchard
8356464a86 Upgrade to file version 3.19. 1996-01-23 12:29:07 +00:00
Paul Traina
49a13ac931 Add dhcp aliases for bootp services 1996-01-23 11:14:41 +00:00
Paul Traina
4f5241c655 Fix getif() to work under 4.3bsd and later 1996-01-23 09:44:45 +00:00
Bill Fenner
4dde4205e1 First piece of fixing ppp/proxy arp problem:
If an attempt to add a route fails because an "ARP table" entry is in
the way, remove the ARP entry and retry the add.

Reviewed by:	nate
1996-01-23 05:15:30 +00:00
David Greenman
2924d49169 Simplified savectx() a little and fixed a bug that caused it to return
garbage in the child process rather than "1" like it is supposed to.

Reviewed by:	bde
1996-01-23 02:39:24 +00:00
Paul Traina
21759429e4 Remove bootpgw 1996-01-23 02:24:03 +00:00
Paul Traina
7870f32ed0 Disconnect bootpgw 1996-01-23 02:23:20 +00:00
Paul Traina
6e159bbc62 Merge back in 4.4bsd ARP changes by hand 1996-01-23 02:22:16 +00:00
Paul Traina
0490e2a765 Add bootpgw makefile 1996-01-23 02:02:03 +00:00
Paul Traina
d1c0e75921 Fix conflicts from 2.4.3 merge 1996-01-23 01:58:00 +00:00