Commit Graph

53851 Commits

Author SHA1 Message Date
hubertf 22c39e3b98 Drop setgid privs early; via OpenBSD reported in PR 5970 by
Joseph Myers <jsm28@cam.ac.uk>
1999-07-21 03:59:41 +00:00
hubertf 054e79fedd Drop setgid privileges early. Derived from OpenBSD and sent in as PR 5970
by Joseph Myers <jsm28@cam.ac.uk>.
1999-07-21 03:56:53 +00:00
mycroft 01ec1d5609 Don't try to play games with the BSS; just make it work. 1999-07-21 03:32:53 +00:00
briggs a33d38257c Declare struct pmap kernel_pmap_store extern. 1999-07-21 03:18:21 +00:00
oster 5cef006d40 Need to splbio()/splx() protect some of the reconstruction stuff.
Without this, we have potentially bad interatctions with the pool
code.
1999-07-21 03:15:26 +00:00
mjacob 8dd6bc6db8 Correct prototyping- gettimeofday takes an address of a struct timeval.
localtime needs an address of a time_t. A time_t is not the same as
{struct timeval}.tv_sec.
1999-07-21 02:02:27 +00:00
lukem 550a51c5a5 IIRC, "IIRC" == "if i recall correctly". :) 1999-07-21 01:14:49 +00:00
thorpej befbb301fd Use the lock manager to lock the GDT, rather than a non-MP-safe homegrown
method.
1999-07-20 23:07:12 +00:00
perry 914486a01c Note that the dl*() functions are not in a library per se but are
available in every dynamically linked program automatically.
1999-07-20 22:38:49 +00:00
thorpej eff41cf3b1 Implement cpu_wait(), and move the call to tss_free() from switch_exit()
to cpu_wait(); tss_free() may block, and thus requires a valid context.
1999-07-20 22:25:18 +00:00
thorpej 32e1fd0d03 Move the call of cpu_wait() out of the wait4() functions, and into the
body of reaper(), right before the call to uvm_exit().  cpu_wait() must
be done before uvm_exit() because the resources it frees might be located
in the PCB.
1999-07-20 21:54:05 +00:00
drochner 963921febe regen 1999-07-20 20:59:03 +00:00
drochner 62adeef8f6 add TI TVP4020 Permedia 2 1999-07-20 20:58:20 +00:00
bouyer 29664a379a The options actually used are RASTERCONSOLE_{FG,BG}COL, not
RASTERCONS_{FG,BG}COL. defopt the rigth ones.
1999-07-20 18:05:15 +00:00
itojun 31055e9319 cleanup EPSV return code checking part.
remove debug fputs() left by mistake.
1999-07-20 17:52:03 +00:00
tsubai bfba58c1e1 grackle uses different I/O address. 1999-07-20 17:31:59 +00:00
mrg 76b3dde0d6 optionally include Makefile.frag 1999-07-20 10:53:05 +00:00
mrg ba255f8a34 optionally include CRYPTOPATH Makefile.frag files. 1999-07-20 09:47:07 +00:00
mrg 51a96a002f optionally include CRYPTOPATH Makefile.frag files. 1999-07-20 09:35:18 +00:00
kleink 13ca730983 Mention -iregex and -regex primaries being non-standard extensions. 1999-07-20 09:02:24 +00:00
tron 850b3263ac Remap "_res" to "bind_res" to fix link warnings on ELF systems. 1999-07-20 08:59:15 +00:00
dbj 15c0ebc780 fixed TAGS target for emacs style tags 1999-07-20 08:55:30 +00:00
christos 41cc9a0eb8 enable PPP_BSDCOMP, PPP_DEFLATE, PPP_FILTER, PFIL_HOOKS, IPFILTER_LOG
on the GENERIC kernels that had them commented out.
XXX: Please note, that not all the kernels have all the options defined!
1999-07-20 07:40:34 +00:00
cgd 91ff0a1b87 add -regex and -iregex primaries which, like GNU find's primaries of the
same name, match files' entire paths against regular expressions.
-regex is case sensitive, -iregex is case-insensitive.  Note that these
primaries are _not_ entirely compatible with the GNU find primaries,
because their BREs appear to support alternation with \| whereas our BREs
do not.  Also note there are no primaries which provide extended regular
expressions matching, though if they are desired they would be trivial
to implement.
1999-07-20 01:28:41 +00:00
simonb 988906cf52 Put tc_machdep.h back - the X server needs it to build. 1999-07-19 23:35:29 +00:00
thorpej 7f53187a85 From Bill Studenmund: unlock the fdescfs "/dev/tty" vnode before calling
cttyread()/cttywrite(), and lock it again when it returns.

Squashes the somewhat bizarre lossage I was observing w/ more(1), sudo(1),
etc.
1999-07-19 23:00:47 +00:00
christos caf92b66b5 - make sure that host_addr is suitably aligned
- add appropriate casts
- take out & in from array; it is meaningless
1999-07-19 19:42:27 +00:00
hubertf 146de2e635 Back out last due to think o on my side: we don't start banner through
dm(6), so there's no setgid privileges to discard. Pointed out by
Joseph S. Myers <jsm28@cam.ac.uk>
1999-07-19 19:07:17 +00:00
cgd 4eb46531af make sure 'wide' fault handling is actually done only once per fault.
('narrow' was mistakenly set to FALSE instead of TRUE.)  Committed after
discussion with chuq.
1999-07-19 19:02:22 +00:00
itojun 869f140395 fix IPV6_CHECKSUM socket option (length computation was wrong). 1999-07-19 18:37:19 +00:00
thorpej 5310e69363 Fix PR #8023 from Bernd Ernesti: when MADV_FREE'ing a region which spanned
more than one VM map entry, a typo caused amap_unadd() to attempt to
remove anons from the wrong amap.  Fix that typo.
1999-07-19 17:45:23 +00:00
tron 5f9dd87d66 Make sure that "h_addr_list" pointers are longword aligned because some
broken applications depend on it. Fixes PR lib/8032 by David K Brownlee.
1999-07-19 17:43:59 +00:00
ghudson 113b4934fe se_wait stores pids; make it a pid_t. 1999-07-19 15:49:39 +00:00
tron 41267f6ee4 "named.conf" doesn't belong here. 1999-07-19 12:05:37 +00:00
tron 49492782ad Install "named.conf" to "/usr/share/examples/named". 1999-07-19 12:04:03 +00:00
kleink d4c515e694 Add links related to link(8)/unlink(8). 1999-07-19 09:16:34 +00:00
kleink a87a0a6236 For XCU5's sake, and due to popular demand, add link(8) and unlink(8)
utilities.  This addresses PR standards/8027 by Giles Lean, who also submitted
a different implementation along with; I chose to add those files I had written
a while ago for reasons of portability and not requiring being cleaned up wrt.
compile-time warnings.
1999-07-19 09:11:25 +00:00
jlam b1e9d43575 Add description of /proc/#/cmdline to mount_procfs.8.
Closes PR misc/8021.
1999-07-19 08:02:07 +00:00
scottr ba0669d0b6 The Quadra 605 and LC 47x apparently share the same logic board,
and hence need the same video hack.  From Ken'ichi Ishizaka.
1999-07-19 05:20:15 +00:00
abs 538809c8ae Add usr/share/examples/named/named.conf 1999-07-19 04:34:46 +00:00
chs fce05250f9 more cleanup:
remove simplelockrecurse, lockpausetime and PAUSE():
none of these serve any purpose anymore.
in the LOCKDEBUG functions, expand the splhigh() region to
cover the entire function.  without this there can still be races.
1999-07-19 03:21:11 +00:00
chs 327e64d87b remove simplelockrecurse, it's no longer needed. 1999-07-19 03:17:42 +00:00
abs bb69dd0964 bind comes with a very helpful sample named.conf, so install it in
/usr/share/examples/named. I'm not overwhelmed about moving the file
into src/share/examples but there is prior art (amd).
1999-07-19 02:30:43 +00:00
oster ce7cb7114d rf_UnconfigureVnodes() needs to be called in the DO_RAID_FAIL macro. 1999-07-19 01:36:07 +00:00
oster 0c7600ca4e sectorsPerStripeUnit should be larger than 0. If it isn't, simply fail.
(Thanks to Thor Lancelot Simon for noting the problem).
1999-07-19 01:35:19 +00:00
hubertf ccb3350fe4 Drop setgid privs passed from dm(6).
Patch submitted in PR 5945 by Joseph S. Myers <jsm28@cam.ac.uk>
1999-07-19 00:42:59 +00:00
hubertf 3521abbb40 As in previously sent patches: backgammon(6) does not need setgid
games privileges from dm, so should revoke them on startup.

Patch submitteed in PR 8024 bye Joseph Myers <jsm28@cam.ac.uk>
1999-07-19 00:33:58 +00:00
eeh 5e22318a8d More fun with pmap. 1999-07-18 23:55:57 +00:00
eeh c6a358d0a8 Lower spl for softints. 1999-07-18 23:54:20 +00:00
eeh 27bc6dd353 Switch to NetBSD/sparc ELF for 32-bit userland. 1999-07-18 23:52:58 +00:00