Commit Graph

73166 Commits

Author SHA1 Message Date
mycroft
9a8fbe25bc Handle the VM86-mode syscall problem by changing the syscall vector when
jumping in or out of VM86 mode.
2000-12-11 17:36:03 +00:00
ws
8132c2a6aa Fix the previous differently:
The intent was to protect the full range of ports on the board by the
barriers.  But the start address was wrong.  Fix it.

While here, change two other barriers to also protect the full range
(not only the nic ports), and add yet another similar barrier.
2000-12-11 17:07:38 +00:00
mycroft
1ef2795be9 Separate the syscall handlers into two versions -- one which does ktrace, and
one which doesn't.  Dynamically switch.
There's more to do on this, but I have to go to work.
2000-12-11 16:49:15 +00:00
mycroft
11fcbfe7a6 Call e_syscall_intern every time ktrace flags are modified. 2000-12-11 16:39:01 +00:00
is
aaed06d422 Identical on m68k. 2000-12-11 16:17:18 +00:00
is
f06406d722 uuchk is not program-called; it is called by the administrator to check the
configuration file.
2000-12-11 15:49:07 +00:00
ad
a52c851297 London switched area codes earlier this year. While there's supposedly only
one code, for the moment they still map to inner and outer London (as the
old ones did), so supply two codes.
2000-12-11 15:44:19 +00:00
tsutsui
c8a3a939e3 space -> TAB 2000-12-11 15:38:43 +00:00
tsutsui
7212823f47 Set USPACE_ALIGN to USPACE on mips. 2000-12-11 15:37:32 +00:00
tsutsui
aaa48a8d25 Use USPACE_ALIGN for an alignment argument on allocating U-area.
The default value is 0, and could be overridden by machine/vmparam.h.
2000-12-11 15:35:42 +00:00
hubertf
e2c37ca77d Update, submitted by petri.koistinen@iki.fi in PR 11691 2000-12-11 15:35:09 +00:00
ad
c87303f168 Put back missing line break. 2000-12-11 14:38:43 +00:00
wiz
9bf97e8322 Back out sysctl part for now, awaiting the result of further discussion,
on request of Andrew Doran.
2000-12-11 14:33:51 +00:00
ad
d299ad2a0f Fix compiler warnings. 2000-12-11 13:58:46 +00:00
jdolecek
a780efe627 reformat the module type descriptions, add stuff from former
/usr/share/lkm/README
add (short) Emulation module description, update Execution Interpreters
entry
add NOTES sections, mention secutiry considerations here and note that
module can crash system easily (part of the latter was also taken from
/usr/share/lkm/README)
don't xref /usr/share/lkm (that doesn't exist anymore) - reference
lkm/ under kernel source tree
remove BUGS section - the bit about 'killing machine' is under NOTES now,
and the streams note is outdated
2000-12-11 13:58:02 +00:00
ad
18900b7349 Note a bug. 2000-12-11 13:55:16 +00:00
ad
f7e9cac3fa Xr iopctl 8 2000-12-11 13:53:11 +00:00
jdolecek
4772ad1b89 add new LKMs: compat_linux.o and exec_linux_elf.o
pointed out by Bernd Ernesti
2000-12-11 13:51:49 +00:00
ad
9af5448e0a Add a basic control program for iop devices. 2000-12-11 13:48:52 +00:00
jdolecek
128eb4ec07 bring in 'syscall' and 'misc' example modules from former /usr/share/lkm,
updated to current LKM programming style
even through the modules do work, they are not built nor installed by default -
they are here solely as a help to potential LKM writer
2000-12-11 13:48:10 +00:00
jdolecek
02ab8e1e3f nuke /usr/share/lkm - kernel modules are inherently depedant upon kernel,
so the example lkms should be included in kernel sets only; furthermore,
the stuff was highly outdated
relevant items will be moved to lkm(4) and under syssrc/sys/lkm/
2000-12-11 13:44:00 +00:00
ad
2940363203 Report soft-errors-per-unit once per minute at most. 2000-12-11 13:19:50 +00:00
ad
119e6fa6aa Document the ioctl() interface. 2000-12-11 13:15:43 +00:00
ad
5ffa79d642 Remove junk. 2000-12-11 13:11:59 +00:00
ad
f92936a714 Fix typo, and sync with reality. 2000-12-11 13:10:24 +00:00
tron
d0de1ec852 Protect against multiple inclusion. 2000-12-11 11:39:06 +00:00
tron
c6cdb692f3 Include "machine/frame.h" to avoid lint errors while building "libc". 2000-12-11 10:22:55 +00:00
jdolecek
624b2ecd81 nuke vfs LKM examples - we have enough examples in kernel sources 2000-12-11 09:18:03 +00:00
jdolecek
fe3aea6c34 nuke vfs examples - we have enough examples in kernel sources 2000-12-11 09:14:28 +00:00
jdolecek
384e2929b7 nuke, mostly obsolete 2000-12-11 09:11:22 +00:00
itojun
93292b8aaa do not touch region after free 2000-12-11 07:52:48 +00:00
mycroft
e6d33b69ec Nuke reference to trace.h. 2000-12-11 05:41:06 +00:00
augustss
6e11678a15 Get rid of UQ_ASSUME_CM_OVER_DATA quirk; it's handled differently now. 2000-12-11 05:41:00 +00:00
mycroft
0f17615da7 There is no Berkeley code in any of these files. 2000-12-11 05:37:01 +00:00
mycroft
f495cd9dc6 Introduce 2 new flags in types.h:
* __HAVE_SYSCALL_INTERN.  If this is defined, e_syscall is replaced by
  e_syscall_intern, which is called at key places in the kernel.  This can be
  used to set a MD syscall handler pointer.  This obsoletes and replaces the
  *_HAS_SEPARATED_SYSCALL flags.
* __HAVE_MINIMAL_EMUL.  If this is defined, certain (deprecated) elements in
  struct emul are omitted.
2000-12-11 05:28:59 +00:00
thorpej
105cf38061 Add some basic statistics to pool_cache. 2000-12-11 05:22:55 +00:00
mycroft
fef5184d84 Regen. 2000-12-11 04:56:01 +00:00
mycroft
fc774b14ce getuid -> getuid_with_euid
getgid -> getgid_with_egid
2000-12-11 04:55:50 +00:00
mycroft
75fbdc005e Nuke LINUX_MACHDEP_PASS_PPID. 2000-12-11 04:55:09 +00:00
mycroft
cfe0002fc5 Regen. 2000-12-11 04:54:29 +00:00
mycroft
6d0c28a87c getpid -> getpid_with_ppid 2000-12-11 04:54:13 +00:00
chs
bb61d9c5e4 in flush_inodedep_deps(), drop the big softdep lock while flushing pages. 2000-12-11 03:53:54 +00:00
mycroft
e99a608974 Regen. 2000-12-11 03:09:10 +00:00
mycroft
c0341b165d Round up sysent table size. 2000-12-11 03:09:02 +00:00
mycroft
f0689d5505 Regen. 2000-12-11 03:07:06 +00:00
mycroft
23babc12e5 Round up sysent table size. 2000-12-11 03:06:49 +00:00
chs
a8a757cd0a implement VOP_GETPAGES(). 2000-12-11 02:50:17 +00:00
mycroft
6a4dfe5f24 Slight tweak. 2000-12-11 02:48:07 +00:00
itojun
d27da0bebf avoid twists with alloca. 2000-12-11 00:23:00 +00:00
itojun
25296369e5 make sure t_family has the correct protocol family, after connect(2)
and/or bind(2).  sync with kame
2000-12-11 00:07:48 +00:00