Commit Graph

31821 Commits

Author SHA1 Message Date
veego
4f72ff44fd Changes for ipf 3.2beta5:
- Add the main Makefile and Makefile.inc for src/usr.sbin/ipf
- New rules subdirectory
- Remove a include directory from ipftest/Makefile
- Add a MLINKS for ipnat.5 -> ipnat.conf.5
- Add new Manpages: ipresend.1, ipsend.1, ipsend.5, iptest.1
- Add new iplang files for src/usr.sbin/ipf/ipsend
- Copy the tcpip.h. It has now a BSD license and remove a comment about it
- Add ip_log.c to sys/lkm/netinet/Makefile
- Add *.y and *.l files to the list of transformed files
- Remove the ipsend.h fix because we now use only one ip_compat.h
- Fix file and directory permissions during the import
1997-09-21 16:34:31 +00:00
is
ca6159327e tlseep -> tsleep 1997-09-21 14:35:00 +00:00
mrg
6b39891881 update for less332. 1997-09-21 12:45:04 +00:00
mrg
8a84baa498 merge less 332. 1997-09-21 12:40:58 +00:00
mrg
ae2bff5948 oops, this is less 332, not 322. 1997-09-21 12:34:31 +00:00
mrg
5eb1412525 less 322. 1997-09-21 12:22:44 +00:00
jeremy
f83ae6979b Quell gcc 2.7.2 initialization warning. 1997-09-21 08:32:04 +00:00
lukem
e808c63383 unnecessary file from lite-2 merge 1997-09-21 04:08:55 +00:00
lukem
ea79507baf reintroduce clarity changes made in rev1.14 that were lost in the lite2 merge 1997-09-21 03:51:34 +00:00
lukem
90c9455b48 remove -g from CFLAGS= 1997-09-21 03:49:53 +00:00
perry
6edc5287fc fix pr 4109 from SAITOH Masanobu 1997-09-21 03:37:35 +00:00
lukem
103e158ba5 remove some code that was obsoleted by mycroft's changes to
propagate() in dir.c rev 1.14.

this was accidentally re-introduced in the lite-2 merge, and could
cause filesystem corruption.
1997-09-21 03:06:47 +00:00
enami
0ac5bcaa77 Cosmetic changes:
- Use syslog(..., "...%m") instead of syslog(..., "...%s",
  strerror(errno)).
- Don't put a simple and single statement into a block.
- Indent continuation line by four space.
- Add an empty line at the beginning of a function if it doesn't have
  local variable.
- Use err() or errx() instead of fprintf(stderr, "progname: ....\n")
  and exit() (there was two place left).
- Use MOUNT_PORTAL, which is defined as "portal" in sys/mount.h,
  instead of using "portal" directly.
- Fold long line to fit column < 80.
1997-09-21 02:35:40 +00:00
lukem
8732be2e09 More cleanups from Todd Miller <Todd.Miller@courtesan.com>:
* Use an int, not "union wait".
* Move the "parsed_url" label so that the next statement is not an "else" --
  some ansi C compilers don't like it the old way (SGI's for example).
* Deal with the possibility of getlogin(2) failing.
* Don't error out if the remote server doesn't support the "MDTM" command.
1997-09-21 01:06:30 +00:00
lukem
d2f145c7a6 a quad_t is an int64_t, not a u_int64_t... 1997-09-21 00:24:55 +00:00
pk
3aa9abb4d8 Use the copied-in string to pass to cpu_reboot(), not a pointer into user space. 1997-09-20 19:32:15 +00:00
mjacob
03a798a3fd Add some defines for alpha interrupt types. 1997-09-20 19:02:34 +00:00
pk
fca3465b96 Do not skip over a break trap instruction, now that the DDB code can
do it properly.
1997-09-20 19:00:40 +00:00
mjacob
2896e07556 Allow SDOUTSTANDING to be defined elsewhere (e.g., config file). 1997-09-20 18:56:30 +00:00
pk
7dad7db427 The `cpu_kcore' header has changed allowing libkvm to be independent of
the kernel's link address (KERNBASE).
1997-09-20 18:26:20 +00:00
pk
9b3d64edb9 Remove the `segmap' array from the header. Insert an offset and count
field to get to it instead.

Add field `kernbase' so libkvm can be independent of the kernel's link address.
1997-09-20 18:23:51 +00:00
pk
59ed02a11b pmap_dumpsize() returns a number of disk blocks. 1997-09-20 18:18:33 +00:00
pk
1cd19dc013 Change crash dump layout a bit so the size of the `cpu_kcore' structure
does not depend on the value of KERNBASE.

Change pmap_dumpsize() to return disk block units, in stead of pages.
1997-09-20 18:14:01 +00:00
christos
24002425ac Work around ggc-2.7.2 off_t initialization bug on m68k. 1997-09-20 16:28:00 +00:00
lukem
b0f016ea70 - cleanup for WARNS=1
- use fgetln() correctly; the last line may not have a trailing \n
1997-09-20 14:55:00 +00:00
lukem
d829744648 - WARNSify
- deprecate register
- getopts returns -1 not EOF
- last character returned by fgetln() isn't always \n
- cleanup .Nm use
1997-09-20 14:28:16 +00:00
drochner
7de20a5b45 Call device_register() on i386 too. 1997-09-20 14:16:43 +00:00
drochner
1f1e574146 -implement a "device_register()" function to identify network interfaces
by bus type / address (for diskless boot)
-add some (experimental, commented out) code which could be used for
 identification of boot disks - should help for BIOS remappings
1997-09-20 14:15:54 +00:00
drochner
6c6328cc8f enable "device_register()" for the i386 too 1997-09-20 14:08:27 +00:00
drochner
610abce93b Copy data passed by the boot loader into an array "bootinfo".
The former "cyloffset" argument is used as an (indirect) pointer to the
information structures. "cyloffset" has always been set to zero in the
past, so this should be save to do.
1997-09-20 14:01:26 +00:00
drochner
968f26b9d3 -define a buffer for information passed by the bootloader
-add a function ("lookup_bootinfo") to extract data
-use passed console information, if present, for console attachment
-arrange definitions for console and KGDB device a bit nicer
1997-09-20 12:51:13 +00:00
drochner
b8a47d06da Define "machdep.booted_kernel" for sysctl. 1997-09-20 12:40:25 +00:00
drochner
c03122fcb1 In some future (ie, without COMPAT_OLDBOOT), we don't want to bother
with the disk type (IDE or SCSI) here - the BIOS doesn't do it either.
Set "#ifdef"s accordingly.
1997-09-20 12:36:05 +00:00
drochner
dc0b04e0ad Note use of common menu functions and new framework for argument passing
to the kernel.
1997-09-20 12:28:21 +00:00
drochner
041680f614 don't forget to save the partition number for the kernel 1997-09-20 12:17:41 +00:00
drochner
9b4679d869 -Don't pass hardware address, it is not of much use for the kernel.
-define "addr" differently for ISA and PCI devices - for PCI, it is
 (bus,device,function) now, in the format used by the PCI BIOS
1997-09-20 12:13:01 +00:00
leo
1e11bfa8b7 Move the definition of MSGBUFSIZE up to the machine-arch level if
possible. Pointed out by Bernd Ernesti.
1997-09-20 12:12:24 +00:00
leo
2b138578d7 Correct for the extra member in 'struct kern_msgbuf' when calculating
the number of bytes we want to allocate.
1997-09-20 12:10:09 +00:00
drochner
1d47009a08 Use <machine/bootinfo.h> for definitions shared with the kernel. 1997-09-20 12:10:06 +00:00
leo
ef6f3f7e25 Move the definition of MSGBUFSIZE up to the machine-arch level if
possible. Pointed out by Bernd Ernesti.
1997-09-20 12:08:24 +00:00
drochner
17b42ff68d Data structures passed from the boot loader to the kernel. 1997-09-20 12:08:21 +00:00
leo
c5ba7a3102 Move the definition of MSGBUFSIZE up to the machine-arch level if
possible. Pointed out by Bernd Ernesti.
1997-09-20 12:06:37 +00:00
enami
8c389fd0c2 Cosmetic change;
- indent continuation line by four space.
- put an empty line at the beginning of function which has no local variable.
1997-09-20 09:48:35 +00:00
enami
c6e5d31119 Fix revived bug, described in PR#3285. But use a bit simple way;
Use loop count instead of hackery pointer play.
1997-09-20 09:43:22 +00:00
enami
2d4b680a58 Don't include <sys/cdefs.h> twice in same file. 1997-09-20 06:26:43 +00:00
lukem
af479c48b8 - don't indiscriminately include <stdlib.h> and <unistd.h> in "fsck.h"
- explicitly pull in <stdio.h>, <stdlib.h> and <unistd.h> in *.c as necessary
1997-09-20 06:16:23 +00:00
mikel
c833d17bf1 xref rmail(8) not nonexistent rmail(1) 1997-09-20 06:02:44 +00:00
mikel
6e9797c617 set WARNS?=1 1997-09-20 05:51:40 +00:00
mikel
f08412063c update for use with WARNS=1:
- use <sys/cdefs.h> __COPYRIGHT() and __RCSID() macros
- add parens and main() prototype to shut up gcc -Wall
also replace {,r}index() with str{,r}chr(), nuke 'register', and
  otherwise KNFify and clean up
1997-09-20 05:50:45 +00:00
mikel
28cd33c439 xref syslog(3) not nonexistent syslog(8) 1997-09-20 05:24:36 +00:00