Commit Graph

96448 Commits

Author SHA1 Message Date
mrg 0ce90a9fef build the netbsd32_compat* objects into libcompat.a, so they are available
to emulations not just netbsd itself.  rename the compat_10 functions to
match everything else.  fixes a problem reported by julian coleman.
2002-04-29 09:53:39 +00:00
uch 7eaf6db5bd remove #if 0 #endif 2002-04-29 09:33:30 +00:00
uch 01eebf7a36 KNF. 2002-04-29 09:32:56 +00:00
lukem 9d32fc1a83 add postinstall info 2002-04-29 08:36:20 +00:00
lukem c83924b939 ssh: try renaming /etc/ssh/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config before
/etc/ssh{,d}.conf -> /etc/ssh/ssh{,d}_config.
2002-04-29 08:31:01 +00:00
lukem 244b762de1 Complete the conversion back to the OpenSSH default configuration files of
"/etc/ssh/ssh_config" (from "/etc/ssh/ssh.conf") for ssh(1) and other
userland tools, and "/etc/ssh/sshd_config (from "/etc/ssh/sshd.conf")
for sshd(8).

etc/postinstall will detect this, and if "fix" is given, rename the files.
2002-04-29 08:23:34 +00:00
lukem 21d59649a5 add (optional) etc/postinstall 2002-04-29 07:28:27 +00:00
lukem a65f716c1b - ssh: check for obsolete sshd_conf_dir
- add extra arg to cmpdir() (before files list), which is the target
  mode of copied files
- implement rcconf_isset(), which checks if an rc.conf(5) variable is set
  and warns if so.
- minor tweaks
2002-04-29 06:05:24 +00:00
lukem 8323badb7a deprecate $sshd_conf_dir (and hardcode as "/etc/ssh").
$sshd_conf_dir wasn't as flexible as liked (it didn't work for ssh(1),
host keys or known_hosts).
2002-04-29 05:56:25 +00:00
lukem b3cffe8cbf deprecate $sshd_conf_dir and hardcode /etc/ssh.
$sshd_conf_dir wasn't as flexible as liked (it didn't work for ssh(1),
host keys or known_hosts).
2002-04-29 05:55:05 +00:00
sommerfeld dbe42df9af Insert .WAIT between maketars and makesums in sets: dependancy.
An explicit makesums: maketars dependancy was not used because a
release engineer might want to regenerate the sums only and not the
tarballs; there's no explicit dependancy tracking here or elsewhere
between the input files and the output tarballs so everything gets
rebuild always.

XXX The existing "maketars" script is also not friendly to parallel
builds -- all of the sets files should be visible to the makefile so
they can be built in parallel.
2002-04-29 05:02:57 +00:00
sommerfeld bf3e3eb4dc Make all elements of SRCS (set in arch-specific makefile) depend on
the message headers; previous list was woefully incomplete and caused
parallel builds to explode.
2002-04-29 04:40:00 +00:00
sommerfeld 128f7ba0f7 Invoke the "make crunchgen_objs" submake with -B so we aren't confused
if we're being invoked in the context of a parallel build.
2002-04-29 04:20:56 +00:00
rafal e9ca49cdee Fix nasty crashes on IP22 machines with console running at 38.4kbps (which
generally translates to "high interrupt load") -- the old code re-enabled
interrupts in the machine-specific hardware interrupt handler causing the
handler to be re-entered, possible multiple times.  Could lead to kernel
stack overflows, and all sorts of mysterious crashes/hangs as a result.

While here, fix up the IP32 interrupt handler code to also not re-enable
interrupts.

Thanks for ideas/comments go to Chuq and Stephen Ma.
2002-04-29 02:06:14 +00:00
thorpej 7be035e7c7 Only print console messages about SIGSEGV and SIGILL if the
kernel was built with DEBUG.
2002-04-29 01:54:11 +00:00
simonb eb0846961e Remove <sys/types.h> from synopsis, as per latest SUS/Posix specs. 2002-04-29 01:41:43 +00:00
enami cb3d9867b6 Log who invoked the s[ug]id program. Tested by mozilla. 2002-04-28 22:35:19 +00:00
bjh21 2b918abe52 I believe I've fixed nbmake's dependency on /bin/sh. 2002-04-28 22:28:38 +00:00
bjh21 8dd390a3ac This script is run on the host for cross builds, so it can't use mktemp -d.
Use a tidied-up version of my shell fragment from maketars instead.
2002-04-28 22:17:43 +00:00
mjacob 85fc807bc1 suggestion from Jason: have (in non-verbose boot case) card type printed out
on same line as attachment line.
2002-04-28 21:32:14 +00:00
manu adc1ff6c40 Added pread() and pwrite() 2002-04-28 20:23:21 +00:00
manu fc1efb9ee8 Use stack rlimit for the stack size, and not the current stack size. This
avoids requestion 2*rlimit on second sproc call.
2002-04-28 19:42:13 +00:00
manu c2f72d8d1c Updated PR_GETNSHARE and added PR_TERMCHILD 2002-04-28 17:56:53 +00:00
briggs 98ec565a96 Catch up with 1.5 branch... Allow nvram device to be omitted from kernel
configuration.  Fix noted by Izumi Tsutsui <tsutsui@ceres.dti.ne.jp> and
problme noticed by Louis Guillaume <lguillaume@berklee.edu>.
2002-04-28 17:55:47 +00:00
wiz b1017b64f1 Formatting, grammar, spelling, and other improvements. 2002-04-28 17:44:43 +00:00
manu 3568060679 Implements IRIX sproc(2) and friends.
There may be a problem with stack size overflow in this implementation
2002-04-28 17:21:58 +00:00
atatat c583268d4e That should be "ls -lTd", not "ls -lT" 2002-04-28 17:21:33 +00:00
uch 6d338ff407 Use "#define<tab>", white space nits. 2002-04-28 17:10:32 +00:00
atatat 66ffa38431 Provide some documentation on the EPASSTHROUGH new world order. 2002-04-28 14:13:38 +00:00
msaitoh c67dc60a0a add missing postsig() call.
I don't know whether this is true fix or not.
2002-04-28 12:51:14 +00:00
zuntum 0f1273fc58 Xref fabs(3)
OK'd by Jaromir Dolecek
2002-04-28 11:52:43 +00:00
msaitoh ccc0ee640f add missing softintr_establish() call. 2002-04-28 11:38:48 +00:00
isaki 12c2ab4d69 use ${PWD_MKDB} instead of pwd_mkdb. 2002-04-28 11:29:29 +00:00
isaki 7b175df846 Add 'newdisk' entry dropped at previous commit. 2002-04-28 11:28:44 +00:00
isaki dada32dfc5 Fix path. 2002-04-28 07:31:54 +00:00
wormey b487c11bb6 Supply missing "flags" keyword. 2002-04-28 06:19:45 +00:00
thorpej 690a4cfca8 * vax-dis.c (print_insn_arg): Pass the insn info to print_insn_mode.
(print_insn_mode): Print some basic info about floating point values.
2002-04-28 05:27:46 +00:00
shin 1db7e557d6 sync with hpcmips(rev. 1.7).
delete csh, netstat, tset, and vi to reduce GOT size.
otherwise, libc.a and other objects which was not compiled with -xgot
won't link. (in general, you can't mix -xgot and no -xgot binaries.)


current GOT size is 0000f590 (see below).

 10 .got          0000f590  10010360  10010360  00269360  2**4
                  CONTENTS, ALLOC, LOAD, DATA
2002-04-28 04:16:27 +00:00
enami 88ee31f5b9 Fix the return value of logioctl() for unhandled ioctl; return EPASSTHROUGH
instead of -1.  Fix suggested by Andrew Brown.
2002-04-28 04:13:51 +00:00
thorpej 0be5820cdf Use the disassembler from libopcodes, not a private one. 2002-04-28 02:34:53 +00:00
thorpej fe11f8da0b Use MEXTADD() rather than open-coding it. 2002-04-28 01:00:26 +00:00
thorpej dc12059c9e Use M_READONLY() rathern than testing to see if ext_free is set
or MCLISREFERENCED().
2002-04-28 00:54:41 +00:00
thorpej 143be0a01b Use M_READONLY() rathern than a home-grown M_SHAREDCLUSTER(). 2002-04-28 00:53:34 +00:00
shin c0bca8554c delete csh, netstat, tset, and vi to reduce GOT size.
otherwise, libc.a and other objects which was not compiled with -xgot
won't link. (in general, you can't mix -xgot and no -xgot binaries.)

current GOT size is 0000f618 (see below).

 10 .got          0000f618  10010460  10010460  0026c460  2**4
                  CONTENTS, ALLOC, LOAD, DATA
2002-04-27 23:38:22 +00:00
shin 37b76b7ea4 (forgot to commit this file...)
* make kloader optional.
* default value of kernel path is KLOADER_KERNEL_PATH.
* options KLOADER_KERNEL_PATH can override kernel path.
* when bootstr is passed (RB_STRING), use it as kernel path.
2002-04-27 23:24:55 +00:00
enami 9a9bf29bcf A loop to expand file descriptor table and retry is move from fdalloc()
to caller.  So, no longer need to loop in fdalloc().
2002-04-27 21:36:50 +00:00
enami a58680a4e2 KNF. 2002-04-27 21:31:41 +00:00
shiba a26fd009c9 Add IDE drive support.
Note:
   (1) Character device major number chages to 49 from 48(in my original
       code). So it is necessary to rebuild device files.
   (2) Must use Booter 2.0.0a10 or later.
   (3) Default mode is cpu busy wait. It is defined by flags 0x1000.
       It will be more slow than before.
       No flags means hardware interrupt mode. But it might be able to
       get no interrupts.

Support machines:
   (1) Quadra 630 series
   (2) PowerBook 150

Non tested machine:
   (1) PowerBook 190 series

Approved by: briggs
2002-04-27 19:29:08 +00:00
atatat e621222ce7 Add stat(1) to sets lists 2002-04-27 19:17:16 +00:00
bouyer 027861788c Regen: use a u_int32_t in script RAM to pass flags between script and driver. 2002-04-27 18:47:31 +00:00