Commit Graph

9338 Commits

Author SHA1 Message Date
marcel
ee3605f01e o Add PART_EFI so that we can use it instead of PART_FAT on ia64
to better deal with the fact that we need an EFI partition and
   that we need to have a mountpoint for it.
o  When creating a new partition, add EFI to the list of types
   the user can select from. This makes it easy to create an EFI.
o  Do not include wizard.c on ia64.
o  The user cannot create a partition on ia64 that's a multiple of
   the cylinder size. We don't have a notion of cyclinders.
2003-11-02 08:58:57 +00:00
marcel
5ba493dd23 o Do not define WITH_SYSCONS and WITH_MICE on ia64. We cannot have
a generic kernel with syscons.
o  Do not define WITH_SLICES on ia64. We only label because we're
   going to create GPT disks.
2003-11-01 20:17:11 +00:00
marcel
6c2cd7aba2 o Compile-out "wizard" mode on ia64.
o  Also allow swap and filesystem partitions outside a freebsd slice.
   This is typically the case for GPT.
o  Allow chunks of type "whole" to be displayed at the top. This is
   to allow a GPT disk to be labeled. We need a slice out of which we
   can make partitions, but a GPT disk doesn't have slices. For GPT
   disks a chunk of type "whole" can then be used as a placeholder.
2003-11-01 20:14:06 +00:00
marcel
bca7c7155b o Compile-out "wizard" mode on ia64.
o  Do not set bootblocks on ia64. It's not even a functionality in
   libdisk on ia64.
2003-11-01 20:04:12 +00:00
bde
6c7fafd896 Fixed breakage of my world in rev.1.30. #include <sys/time.h> instead of
depending on namespace pollution in <sys/stat.h> for the declarations of
struct timeval and utimes().

Fixed some style bugs in rev.1.30 and some nearby style bugs (mainly
unsorting and missing or extra blank lines).

Removed a wrong comment that was obtained from NetBSD in rev.1.14.  It said
that chflags() reset the times that were set "above" by utimes(), but
utimes wasn't "above" in FreeBSD until rev.1.30, and chflags() does't
actually reset the times.
2003-11-01 08:43:54 +00:00
brooks
e8a6af647d Temporarily disconnect ipfstat, ipnat, and ipftest to unbreak world.
Pointy hat to:	brooks
2003-10-31 18:54:46 +00:00
brooks
4290fbacd1 Replace the if_name and if_unit members of struct ifnet with new members
if_xname, if_dname, and if_dunit. if_xname is the name of the interface
and if_dname/unit are the driver name and instance.

This change paves the way for interface renaming and enhanced pseudo
device creation and configuration symantics.

Approved By:	re (in principle)
Reviewed By:	njl, imp
Tested On:	i386, amd64, sparc64
Obtained From:	NetBSD (if_xname)
2003-10-31 18:32:15 +00:00
phk
cded8eeadb Make mtree's update function update the modification time too.
Submitted by:	Dan Nelson <dnelson@allantgroup.com>
PR:	53063
2003-10-31 13:39:19 +00:00
suz
89afdea402 fixe remote panic on short packet
Obtained from: KAME
2003-10-31 03:18:45 +00:00
peter
4ad3feafde Use -D to rename the log() function (extensively used) rather than
using the gcc-specific -fno-builtin-log switch.
2003-10-30 22:59:41 +00:00
peter
8546b6d9cb Rename the 'log' variable rather than -fno-builtin-log 2003-10-30 22:57:43 +00:00
peter
ab35ea62af Rather than use the gcc -fno-builtin-log flag, just rename the 'int log'
variable.
2003-10-30 22:56:44 +00:00
ume
9092c16bea add ip6addrctl(8) which is a command to configure address
selection policy for IPv6 and IPv4 described in RFC3484.
source address selection part of RFC3484 is not merged
from KAME, yet.

Obtained from:	KAME
2003-10-30 17:46:40 +00:00
phk
f8ccdc1dbe Update test-case to also fail on filenames containing '#' 2003-10-30 12:40:54 +00:00
phk
670097c87d Use vis(3) to encode/decode the target for symlinks.
Make vis(3) decode errors fatal for both symlink targets and fienames.
2003-10-30 12:03:25 +00:00
phk
013d7d5d53 Add another test-script for mtree(8): Check symlinks with space in them. 2003-10-30 12:01:32 +00:00
phk
4302fb15aa Fix bug in mtree(8)'s create mode where files or directories with had
names containing glob(3) expressions would appear verbatim in the
output.

If such an mtree file were used by mtree in update mode, wrong things
would happen.
2003-10-30 10:48:43 +00:00
phk
833518ce61 Add a test script which Mtree fails. 2003-10-30 10:46:23 +00:00
ru
93158a4c7b Basic PAM authentication support. 2003-10-29 20:32:19 +00:00
peter
c308353db9 Disclaim ownership of pppd/chat. It is vendor code, but has been badly
neglected here.
2003-10-29 19:24:04 +00:00
njl
0c907eb7e8 Add a newline even if IAPC_BOOT_ARCH == 0. 2003-10-29 17:59:05 +00:00
mbr
56524229ca Don't pass NULL as an integer.
Obtained from:  NetBSD
2003-10-29 09:31:41 +00:00
mbr
7f5a522a9e Don't compare a char to NULL.
Obtained from:  NetBSD
2003-10-29 09:30:37 +00:00
ume
53db537d5e fix comment. 2003-10-26 10:30:17 +00:00
ume
38a9108647 one more IPV6_PKTINFO -> IPV6_RECVPKTINFO. 2003-10-26 06:21:16 +00:00
peter
04a08aa1be Deal with xdrproc_t casts. Make these compile cleanly with WARNS=2
(but I haven't turned it on)
2003-10-26 06:14:10 +00:00
ume
24f40bc47e Since semantic of IPV6_PKTINFO was changed in RFC3542, we need to
use IPV6_RECVPKTINFO instead.

Reported by:	someone (I had removed the mail wrongly, sorry)
2003-10-26 06:11:31 +00:00
peter
9526d22643 Make this compile cleanly. It passes WARNS=2, but I haven't checked
it is so on more platforms.
2003-10-26 06:10:44 +00:00
peter
c023b0197a Fix a 64 bit time_t bogon that I missed from before. lastlog.ll_time is
not a time_t.
2003-10-26 06:01:06 +00:00
peter
518a620134 Use -fno-builtin-log. Fix svc_sendreply() missing required casts.
It is now WARNS=2 clean again.
2003-10-26 05:58:21 +00:00
peter
7f8c7f8d4f Use -fno-builtin-log so gcc doesn't get ideas about using a math function
to log data.  Clean up an unused variable that was hidden by the WARNS?=2
being commented out.  Uncomment it now that it compiles cleanly again.
2003-10-26 05:54:07 +00:00
peter
8154c20b3b Make this compile cleanly. Switch to using rpcgen to generate
code that can be compiled on an ansi-C compiler, so that it puts the
xdrproc_t casts in.  This also implies a slight function name change.
2003-10-26 05:51:51 +00:00
peter
c4afb49bc5 Make 64 bit safe. 2003-10-26 05:33:59 +00:00
peter
fd6acc8e26 Disable the log() builtin (the math function), because it will not do much
logging of information like the program expects.
2003-10-26 03:15:54 +00:00
peter
3e72c4757a When we pass a string as auxillary data (type long), be sure to convert
it to a suitable type for the initialization.
2003-10-26 03:12:47 +00:00
peter
69d4cb1712 Fix a warning about mismatched pointers. A pointer to "void *" is not the
same as a pointer to "char *".  Tell the compiler this is ok.
2003-10-26 03:01:24 +00:00
jmg
0cb0ca5402 fix spelling of ATTACH
Submitted by:	Johny Mattsson
MFC after:	2 week
(do to code freeze)
2003-10-25 22:03:10 +00:00
simokawa
55f5951780 update for conserver-8.0.4. 2003-10-25 14:53:53 +00:00
simokawa
9c4a205f4a remove debug message. 2003-10-25 14:51:36 +00:00
jhb
33798d330f - Renumber the skerberos4 dist to fill in the gaps left when krb4 was axed.
- Update the DIST_CRYPTO_ALL value to match reality.
2003-10-24 20:55:15 +00:00
ume
b1e714b905 Switch Advanced Sockets API for IPv6 from RFC2292 to RFC3542
(aka RFC2292bis).  Though I believe this commit doesn't break
backward compatibility againt existing binaries, it breaks
backward compatibility of API.
Now, the applications which use Advanced Sockets API such as
telnet, ping6, mld6query and traceroute6 use RFC3542 API.

Obtained from:	KAME
2003-10-24 18:26:30 +00:00
ume
f7fc357c1f show maxmtu.
Obtained from:	KAME
2003-10-24 18:00:17 +00:00
simokawa
d5b189bcd0 Add dumb console driver and related bits.
dcons(4): very simple console and gdb port driver
dcons_crom(4): FireWire attachment
dconschat(8): User interface to dcons

Tested with: i386, i386-PAE, and sparc64.
2003-10-24 15:44:10 +00:00
harti
c95a31567a Mention the fact that our crontab is not fully POSIX.2 conform, because
it doesn't allow the dangerous variant of calling it without any
argument.
2003-10-24 13:02:39 +00:00
harti
cf80f761e5 Allow nghook to execute a program with the data socket connected to
stdin and stdout instead of relaying the data. Now it is possible
to say:

	nghook -e path: hook /usr/local/bin/foo arg1 arg2

and foo will have the hook to path: at file descriptors 0 and 1.

Add an option to specify control messages to be send to the node before
either executing the program or entering the data relay loop.
2003-10-24 10:01:36 +00:00
ume
6453a37abd - style
- index() -> strchr()
- stop use of MAXHOSTNAMELEN

Obtained from:	KAME
2003-10-23 17:36:29 +00:00
simokawa
3f492cb2ff Add '0x' in front of EUI64 to avoid confusion. 2003-10-22 07:23:27 +00:00
ume
0c85c7ec36 stop use of NI_WITHSCOPEID. it was deprecated.
Obtained from:	KAME
2003-10-21 20:11:47 +00:00
phk
1df98ec39d Remove clause 3 in the copyrights (according to permission in src/COPYRIGHT)
Remove trailing whitespace.
2003-10-21 08:27:05 +00:00
phk
4a75754af3 Remove "register" keywords.
Use newspeak functions definitions.
2003-10-21 07:58:52 +00:00