John Baldwin
f37f15337d
Add some band-aid casts to quiet warnings. This driver still assumes
...
that sizeof(int) == sizeof(void *) == 4. However, it also seems that the
hardware assumes this.
2002-11-06 20:34:38 +00:00
John Baldwin
cb27d4c7cd
More int != pointer stuff.
2002-11-06 20:16:39 +00:00
Poul-Henning Kamp
e6e142398f
Straighten up the geom.ctl config interface definitions.
...
Sponsored by: DARPA & NAI Labs
2002-11-06 20:05:15 +00:00
John Baldwin
a7a1238911
Repeat after me: sizeof(int) != sizeof(void *).
2002-11-06 20:04:41 +00:00
John Baldwin
929791c8cc
Use some long long casts to quiet warnings in debug printf's on alpha.
2002-11-06 19:52:13 +00:00
John Baldwin
ba76c5a2c1
Use a bandaid to fix a warning. However, this driver is very, very far
...
from being MI in any fashion. It currently "assumes" that it can get
a kernel virtual address for a phyiscal address by adding KERNBASE to the
physical address. It also tries to read values out of a the PC BIOS on
all archs. It also uses "manual" inb() and outb()'s to talk to the mcclock
device which just happens to be at that location on both i386 and alpha.
This driver should likely be i386-only.
2002-11-06 19:42:59 +00:00
John Baldwin
8a651d2c4a
Make the ar(4) driver i386-only for now. It has lots of sizeof(int) ==
...
sizeof(void *) assumptions and doesn't use busdma yet (it uses kvtop()
which is not an MI interface).
Recommended by: jake, mux
2002-11-06 19:27:09 +00:00
Tom Rhodes
01f5fdee5c
Restore most (90%) of the text I removed in my previous commit. Remove the
...
part about spelling and grammar.
Discussed with: -developers
2002-11-06 18:58:02 +00:00
John Baldwin
fee174cd9c
Fix warning where sizeof(size_t) != sizeof(int).
2002-11-06 18:55:24 +00:00
Maxime Henrion
361186e5d5
In the !DEBUG case, we were passing foo.ko two times on the
...
rm -f command line when doing a make clean. Fix this.
Reviewed by: ru
2002-11-06 17:40:13 +00:00
Chris Costello
2834b91a8d
o Make the COMPATIBILITY section a bit less redundant.
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Labs
2002-11-06 17:38:18 +00:00
Chris Costello
baae0d7638
o Update man page to reflect the new prototypes for mac_{to,from}_text.
...
o Remove a (currently) no-longer-pertinent entry from errors.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Labs
2002-11-06 17:34:29 +00:00
Hidetoshi Shimokawa
196c0df6ca
Add support for DEVICE_POLLING.
...
PR: kern/44772
Submitted by: Takashi Oono <takashi@yha.att.ne.jp>
MFC after: 1 week
2002-11-06 15:50:32 +00:00
Hidetoshi Shimokawa
1d3e59b1d3
Minor clean up on cdb handling.
2002-11-06 15:34:52 +00:00
Maxim Konovalov
a54587ad70
Kill EOL whitespaces, style(9) fix.
2002-11-06 15:09:34 +00:00
Maxim Konovalov
d6abaeebeb
Fix UID/GID options parsing.
...
PR: bin/42579
Submitted by: Belousov Oleg <oleg@belousov.com>
Approved by: luigi
MFC after: 2 weeks
2002-11-06 14:57:18 +00:00
Juli Mallett
751d91aabd
Remove what was a temporary bogus assignment of bits of siginfo_t, as it does
...
not look like the prerequisites to fill it in properly will be in the tree
for the upcoming release, but it's mostly done, so there is no need for these
to stay around to remind us.
2002-11-06 14:53:35 +00:00
Josef Karthauser
cfccb34a24
There's no need for a locally defined usb_proc_t when we've got
...
usb_proc_ptr that does the same thing.
2002-11-06 14:29:27 +00:00
Juli Mallett
4cdaba7761
Add a MAINTAINERS entry for make(1), to the make@ alias, which anyone can use
...
to run patches to make(1) by. Hopefully this will make it easier to get bugs
fixed in make(1), as well as get review by people with experience working on,
in, around, etc., make(1).
Currently it points to two people who have demonstrated maintainership (ru@
and myself) and one person interested in helping (alane@). That list is
subject to expansion and contraction.
2002-11-06 14:01:08 +00:00
Yoshihiro Takahashi
ab3626d51a
Move adding -DPC98 to CFLAGS from each modules to sys/modules/Makefile.inc.
2002-11-06 13:47:00 +00:00
Yoshihiro Takahashi
c7a1bf8bf3
Include "../Makefile.inc".
2002-11-06 13:41:40 +00:00
Tim J. Robbins
89861638ca
Add missing #includes of <stdio.h>. Correct a few typos in comments.
2002-11-06 09:37:47 +00:00
Doug Barton
a0c161c4e4
Import the latest hints file from Internic. The most important change
...
is that J has moved, however I'm sure you'll all be very disappointed
to hear that you can no longer retrieve this file via gopher.
2002-11-06 09:21:39 +00:00
David E. O'Brien
242bb95312
Clean up a little. Don't need to include fetch.h any more, and I can't
...
find any consumers of HOSTNAME_MAX.
2002-11-06 09:03:53 +00:00
David E. O'Brien
d920cd78f4
Break fileGetURL() out into its own file so that pkg_install/lib consumers
...
pkg_{create,delete} don't need to needlessly link with libfetch.
2002-11-06 08:57:03 +00:00
Matthew N. Dodd
99af1d6f76
Whitespace, style fixes.
2002-11-06 08:08:55 +00:00
Dag-Erling Smørgrav
810a15b120
Add caveats regarding the effect of PAM on PasswordAuthentication and
...
PermitRootLogin.
PR: docs/43776
MFC after: 1 week
2002-11-06 08:04:56 +00:00
David E. O'Brien
837bd2fa82
Better emulate the FSF build for Sparc64.
2002-11-06 07:00:59 +00:00
Marcel Moolenaar
9cdb5b17ea
Don't ever disable ACPI on ia64. We cannot life without it.
2002-11-06 04:59:22 +00:00
Marcel Moolenaar
6e296c0d4e
Define UMA_MD_SMALL_ALLOC so that we can allocate memory with region
...
7 addresses for use by page tables and kernel stacks.
Obtained from: peter
2002-11-06 04:47:38 +00:00
Hidetoshi Shimokawa
aeeb228712
- Let the PCI code try to route interrupt in -current
...
- Print warning in -stable.
2002-11-06 04:07:05 +00:00
Tom Rhodes
ad727d7c98
Remove Realtek discriminating comments from the rl(4) manual page.
...
This leaves us with 'just the facts'
PR: 31271
2002-11-06 03:53:08 +00:00
Robert Watson
ce311c66ec
Hook up the userland wrapper for __mac_execve().
...
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-11-06 03:38:47 +00:00
Marcel Moolenaar
d47aff5ca6
Check the FSLABEL argument and invoke the generic doFS.sh script
...
if it's not defined as efi. This makes sure we create a proper
MFS root filesystem and still allow the boot disk to be EFI
based.
At this time EFI auto boot works and we're properly loading the
MFS root file system. Time to create drivers.conf and get this
show on the road!
2002-11-06 03:36:57 +00:00
Robert Watson
81ccbd2ad1
Reserve a major number for the mdsio driver: RS-485 driver for 8250-family
...
UARTs.
Requested by: doconnor@gsoft.com.au
2002-11-06 02:19:28 +00:00
Tim J. Robbins
e09fdabddf
Use warn() instead of perror() or fprintf() where appropriate.
2002-11-06 01:18:12 +00:00
John Baldwin
364bf7afb2
Mount devfs with nmount(2) instead of mount(2). This error was masked
...
because errors from mount(2) were explicitly ignored. I didn't fix that
bug.
2002-11-05 22:56:44 +00:00
John Baldwin
8bc90fb220
Take sizeof() the right string for fspath's iovec. The old string was the
...
same size so this doesn't fix a bug, but it makes it cleaner.
2002-11-05 20:06:01 +00:00
Dima Dorfman
c00809fcf9
Fix formatting bogon.
2002-11-05 19:23:25 +00:00
Dima Dorfman
489587c5a5
Undelete FILES section (taken from RELENG_4), primarily to give the
...
location of the passwd and master.passwd files.
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-11-05 19:18:19 +00:00
Dima Dorfman
d722865a31
master.passwd, not master.password
...
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>
2002-11-05 19:13:06 +00:00
Kelly Yancey
04ac9b97b5
Spotted a couple of places where the socket buffer's counters were being
...
manipulated directly (rather than using sballoc()/sbfree()); update them
to tweak the new sb_ctl field too.
Sponsored by: NTT Multimedia Communications Labs
2002-11-05 18:52:25 +00:00
Kelly Yancey
247a32f22a
Fix filt_soread() to properly flag a kevent when a 0-byte datagram is
...
received.
Verified by: dougb, Manfred Antar <null@pozo.com>
Sponsored by: NTT Multimedia Communications Labs
2002-11-05 18:48:46 +00:00
Marcel Moolenaar
f3fb0a6c88
o Introduce variable DOFS_SH to hold the path of the doFS.sh.
...
o ia64: Set DOFS_SH to point to an alternate version.
o ia64: Lower BIGBOOTSIZE from 120M (LS-120) to ~5M.
o ia64: Set BIGBOOTLABEL to efi so that we can check for it
in the alternate doFS.sh script. If the label is not efi, we
can invoke the generic doFS.sh.
2002-11-05 18:06:01 +00:00
Robert Watson
0c93266b9c
Correct merge-o: disable the right execve() variation if !MAC
2002-11-05 18:04:50 +00:00
Robert Watson
939b97cba6
Update policy modules for changes in arguments associated with support
...
for label access on the interpreter, not just the shell script. No
policies currently present in the system rely on the new labels.
2002-11-05 17:52:42 +00:00
Robert Watson
670cb89bf4
Bring in two sets of changes:
...
(1) Permit userland applications to request a change of label atomic
with an execve() via mac_execve(). This is required for the
SEBSD port of SELinux/FLASK. Attempts to invoke this without
MAC compiled in result in ENOSYS, as with all other MAC system
calls. Complexity, if desired, is present in policy modules,
rather than the framework.
(2) Permit policies to have access to both the label of the vnode
being executed as well as the interpreter if it's a shell
script or related UNIX nonsense. Because we can't hold both
vnode locks at the same time, cache the interpreter label.
SEBSD relies on this because it supports secure transitioning
via shell script executables. Other policies might want to
take both labels into account during an integrity or
confidentiality decision at execve()-time.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-11-05 17:51:56 +00:00
Robert Watson
051c41caf1
Regen.
2002-11-05 17:48:04 +00:00
Robert Watson
21bb9ea225
Flesh out the definition of __mac_execve(): per earlier discussion,
...
it's essentially execve() with an optional MAC label argument.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
2002-11-05 17:47:08 +00:00
Dag-Erling Smørgrav
dc04779010
Document the current default for VersionAddendum.
2002-11-05 17:25:15 +00:00