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
Paul Traina
e08ac58bbe
Import bootpd-2.4.3 from ftp.mc.com
1996-01-23 01:35:04 +00:00
Wolfram Schneider
a270abb407
Add missing manpage zgrep.1 and links zegrep.1, zfgrep.1
...
Add missing links zegrep and zfgrep
1996-01-23 01:00:37 +00:00
Paul Traina
ee3ee9eeaa
Minor cleanups from NetBSD-current.
...
Obtained from: NetBSD
1996-01-23 00:57:19 +00:00
Wolfram Schneider
f92a999ac6
Add manpage links for ex.1 view.1 nex.1 nview.1 nvi.1
1996-01-23 00:26:01 +00:00
Paul Traina
120dd849ce
Disclaimer redundant and man page cleanups
1996-01-22 23:31:20 +00:00
Garrett Wollman
71803c8ba9
Add register definitions for Intel 82437FX (Triton System Controller)
1996-01-22 22:43:48 +00:00
Ollivier Robert
770567095b
Syntax corrections.
...
Submitted by: john@starfire.MN.ORG (John Lind)
1996-01-22 17:44:30 +00:00
Mike Pritchard
298e71bb78
Change ar's internal error routine to call err() instead of errx()
...
so that when ar has a problem (like trying to update a read-only
archive), you get a message like:
ar: xyzzy.a: Permission denined
instead of:
ar: xyzzy.a
Which doesn't really give the user any indication that the operation
really did fail.
This closes PR# 170.
1996-01-22 15:33:20 +00:00
Poul-Henning Kamp
b4b2f81ef3
bounds check the radix, just in case.
1996-01-22 13:21:33 +00:00
Mike Pritchard
e361857343
Change the reference to format(8) (which we don't have) to fdformat(1) and
...
scsiformat(8) (which we do have). Closes PR# 663.
1996-01-22 12:55:16 +00:00
Mike Pritchard
86cfd0dd41
Changed the description of SIGSYS to better reflect what
...
it means when that signal is received. Closes PR# 686.
1996-01-22 12:31:15 +00:00
Mike Pritchard
81e6d46b05
Fix some of the pcvt related man pages to reflect where the
...
various pcvt support files are really installed. Closes PR# 740.
1996-01-22 10:23:25 +00:00