Commit Graph

53860 Commits

Author SHA1 Message Date
tsubai a192e5bd20 Enable soft poweroff on PowerBook. 1999-07-11 16:59:31 +00:00
minoura 93a7108a18 Fixed md_newdisk().
I commited an old debug version by mistake at the last commit.
1999-07-11 14:12:21 +00:00
tsubai f2d2ad6b17 Cleanup. 1999-07-11 12:44:04 +00:00
sommerfeld 8da02df781 Add permission checking (execute-only innermost directory) 1999-07-11 09:54:41 +00:00
sommerfeld c4fe7934c5 Fix kern/7944: getcwd permission checking was overly restrictive.
(Don't require start directory to have read permission).
1999-07-11 09:27:23 +00:00
thorpej b4da0f0b3c Nuke some whitespace. 1999-07-11 03:04:14 +00:00
thorpej 580c3519b7 Put the RCS ID in the correct place. 1999-07-11 03:00:07 +00:00
thorpej 5a0addc0ef Add a mechanism for specifying that ${.CURDIR} will be searched last
in the presence of .PATH directives by specifying:

.PATH: .DOTLAST

This will be used to fixup the build system to work with both crypto-us
and crypto-intl sub-trees.

Make(1) changes by Christos Zoulas, after much badgering by me :-)
1999-07-11 02:06:57 +00:00
kim 0dc60ae78c Build bootblocks to always use COM0 for console. 1999-07-11 01:23:53 +00:00
kim f93a90f888 Use same Makefile for biosboot_com0 too. 1999-07-11 01:22:45 +00:00
christos 17e6e111b9 oops, need to declare tos. 1999-07-11 00:41:59 +00:00
bad 54b747eb16 In pcmcia_pars_cis_tuple(): in the PCMCIA_TPCE_FS_MEMSPACE_TABLE case
there is one more memspace in the table then the PCMCIA_TPCE_MS_COUNT
mask produces.
1999-07-11 00:34:37 +00:00
bad c95ed3d2e5 In pcmcia_print_cis(): When printing io and mem spaces don't append trailing
0s if length or hostaddr are zero, instead DTRT.
1999-07-11 00:26:29 +00:00
fvdl d25150d087 Don't try to convert the CHS values if not needed. Add extra flag
to write_mbr to for this.
1999-07-10 23:07:15 +00:00
christos 0c2a15c04a we don't need no-fpu; anyway this has been renamed in new version of egcs 1999-07-10 22:18:34 +00:00
ragge 73d339e9e8 Rewrite the page table entry routines. Don't take a pte invalid fault for
missing pte's, instead map in pte entries in pmap_enter(). The user ptes
is no more handled by the VM system. All this made swapping start working
on VAX again.
Still to do:
- Keep refcount per pte page, so that those pages get free'd when the
  process is swapped out. Right now they are only free'd when the pmap
  is destroyed.

Many thanks to Chuck Silvers for all help finding the deadlock problems.
1999-07-10 22:04:59 +00:00
ragge e2a9d46897 After swapin of a process, restore the red zone in kernel stack at the
correct place.
1999-07-10 21:55:17 +00:00
thorpej a0555db3e0 Simplify uvm_fault_unwire_locked() a little. 1999-07-10 21:46:56 +00:00
christos 5d5741e3ba Kludge around non 4.4BSD systems that don't have a length field in struct
sockaddr*.
1999-07-10 20:46:42 +00:00
thorpej c0389be5da Make a comment reflect reality. 1999-07-10 20:40:23 +00:00
thorpej d75fb0f6b0 Slightly better test for "object with no real pages". Test for NULL
pgo_releasepg rather than if the pager is the device pager.
1999-07-10 20:29:24 +00:00
christos 6e1a032789 cast args to strcmp; 1999-07-10 20:17:21 +00:00
christos ac6f0fa99e Arrange so that we can compile from a different location 1999-07-10 20:04:03 +00:00
christos ac79e98358 fix thinko in mtime stuff. 1999-07-10 19:59:28 +00:00
thorpej 011b02e348 Clean up some printfs(), and mark a few for possible later nuking,
since they appear to be for debugging purposes only.
1999-07-10 19:46:10 +00:00
christos 7e3d65379b isurl does not return a pointer! 1999-07-10 19:41:15 +00:00
christos 2107d6d2da remove unused variable 1999-07-10 19:41:01 +00:00
christos c2a03912bb don't do unnecessary const castaways 1999-07-10 19:40:36 +00:00
christos dc1c2ccb47 don't compare non-pointer values against NULL. 1999-07-10 17:48:54 +00:00
kleink 2422638ad5 Fix a buglet in the driver's DMA buffer list ipmlementation, causing the next-
in-list (wrong) descriptor structure of the buffer in question to be freed.
1999-07-10 16:46:19 +00:00
tron 247bd5d560 Remove "parse.c" and "parse.h" during "make cleandir". 1999-07-10 11:31:28 +00:00
thorpej 267920eb1a defopt INET6, and put it in opt_inet.h (most places already include this
file, which is why the file list is so short).
1999-07-09 23:41:16 +00:00
thorpej f9a7668b3f defopt IPSEC and IPSEC_ESP (both into opt_ipsec.h). 1999-07-09 22:57:15 +00:00
itojun f7bf9de42a remove duplicated "files.crypto-intl" inclusion. 1999-07-09 20:14:26 +00:00
thorpej 72e0621cc8 Fix a typo. 1999-07-09 19:43:40 +00:00
thorpej 0945bf58b0 Add examples for including the kernel crypto bits from either crypto-us
or crypto-intl, commented out, with instructions to use only one, and
adjust the prefix as necessary.
1999-07-09 18:55:33 +00:00
thorpej 95a36e1425 Fix bug in previous; allprefixes didn't work if there were multiple prefixes. 1999-07-09 18:46:09 +00:00
thorpej 64f20db21b Make the outputted INCLUDES directives a bit more cosmetically appealing. 1999-07-09 18:45:31 +00:00
jwise ca956f1985 Minor change to at(1) description. Time to get back to work on this. 1999-07-09 16:13:53 +00:00
minoura 4b69c08a24 x68k part of sysinst. 1999-07-09 15:29:44 +00:00
perry 0c91d3d222 Note that you can find out the system page size with sysconf(3). 1999-07-09 14:41:26 +00:00
fvdl 6899d20694 Synch with reality. 1999-07-09 11:55:32 +00:00
mrg ecdad0ec33 clean up a bit after jason :)
- fix emitrules() like emitfiles() to deal with the prefix (otherwise it
  would attempt to find the file in the normal base for the NORMAL_C rule).
- add emitincludes() which adds include directives for each prefix to the
  $INCLUDES variable in the makefile.
- add %INCLUDES to each Makefile.arch to deal with the above.

this makes "prefix" actually work in a usable manner, and now i can move
on to fixing compiler warnings (errors) in the ESP code. :)
1999-07-09 09:52:55 +00:00
garbled 61abb01179 libz works much better when the examples aren't compiled into the
library.  This caused severe pain with c++, as the example contained
a main().
1999-07-09 07:07:13 +00:00
thorpej d3568efde2 Remove the IPSec ESP related file specs from here; they're now handled
in config spec fragments in the various crypto trees.
1999-07-09 06:51:47 +00:00
thorpej 152af09e65 Add a mechanism to specify prefixes that are transparently prepended
to file specifications.  The prefixes are arranged in a stack, and
nest, so that file, object, and include specifications are normalized,
and all end up relative to the kernel compile directory.

For example, in the kernel config file:

# Pull in config fragments for kernel crypto
prefix ../crypto-us/sys 			# push it
cinclude "conf/files.crypto-us"			# include it if it's there
prefix						# pop it

and in files.crypto-us:

file netinet6/esp_core.c                ipsec & ipsec_esp
file netinet6/esp_output.c              ipsec & ipsec_esp
file netinet6/esp_input.c               ipsec & ipsec_esp

...generates the following in the kernel Makefile:

        $S/../crypto-us/sys/netinet6/esp_core.c \
        $S/../crypto-us/sys/netinet6/esp_output.c \
        $S/../crypto-us/sys/netinet6/esp_input.c \

By placing this all in the kernel config file, all the magic involved in
reaching into non-standard kernel source directories is placed into a file
that the user is expected to edit anyway, and reasonable examples (and
sane defaults, for typical source checkouts) can be provided.
1999-07-09 06:44:58 +00:00
christos 3d42469030 compile with WARNS = 2 1999-07-09 03:05:49 +00:00
thorpej 02a4ec93e9 Nuke the work-around for non-normalized include paths. They have all
been fixed up.
1999-07-09 02:37:26 +00:00
thorpej b2781586c4 Normalize include paths. 1999-07-09 02:32:28 +00:00
thorpej b0ea1d45ec Fix a type problem. 1999-07-08 23:44:57 +00:00