Commit Graph

154113 Commits

Author SHA1 Message Date
alc
d876d4f262 Add my name to the developers list
Hello everybody ;-)
2006-11-29 04:34:37 +00:00
dogcow
48de5cde28 deal with VERIEXEC_LOAD/SPKRTONE conflict 2006-11-29 03:48:57 +00:00
mhitch
d2a191da79 It's possible to use RaidFrame now, add some raid devices on the install
miniroot.
2006-11-29 03:26:39 +00:00
dyoung
2f9c32c833 Fix a spelling error.
Annotate a memory leak.

When copying one multicast address list to another, IFAREF before IFAFREE
to protect against using an ifaddr after (accidentally) freeing it.

LIST_REMOVE() a multicast address from its old list before
LIST_INSERT_HEAD() on its new list.

Do not count on in6_delmulti() removing its multicast-record argument
from the multicast address list that the record belongs to, because
clearly that is not what it (always) does.
2006-11-29 03:05:12 +00:00
christos
75df0a7821 block a few more signals, from anon 2006-11-29 01:29:46 +00:00
christos
c77cd73835 don't block sigterm otherwise a forked process that sends a sigterm to itself
never exits (gv), from anon
2006-11-29 01:25:28 +00:00
elad
6b6dc6a617 Type changed from size_t to uint64_t, adjust format string.
Pointed out by Tom Spindler, thanks!
2006-11-29 01:12:00 +00:00
ad
a80609203c Improve error handling. Related to PR/21900. 2006-11-28 23:06:33 +00:00
elad
646f2112d3 Make Veriexec use proplib(3) for kernel-userland data passing.
Obviously, this breaks the already unstable Veriexec ABI, but that's
it. Some cool additions are planned to be introduced, and this just
makes it so that NetBSD 4.0 users will be able to easily use them as
well.

This also removes the fingerprint type name limit, so relevant code
was adjusted.

Thoroughly tested (even uncovered a bug in proplib! thanks for fixing
that cube@!). Documentation updated.
2006-11-28 22:22:02 +00:00
drochner
0b5d054c71 Remove the code which tried to guess the toggle bit after a short
transfer. It was wrong because it didn't consider block boundaries.
Instead, use the updated toggle from the transfer descriptor -- this
is supposedly cheaper than modulo arithmetics.
This fixes a problem similar to PR kern/34070 for me.
2006-11-28 20:58:12 +00:00
ad
dfe7788c29 Avoid sleeping with a held simple_lock. 2006-11-28 20:35:16 +00:00
christos
3a9442af4c pointers should be either casted to intptr_t or even better not casted... 2006-11-28 20:29:25 +00:00
ad
8b4b54cb8d Improve error handling. Related to PR/21900. 2006-11-28 20:29:14 +00:00
pooka
0dd37417ef match description of VOP_PUTPAGES with reality 2006-11-28 19:26:30 +00:00
christos
f20e38f662 pass lint. 2006-11-28 18:46:04 +00:00
christos
f309875081 From Anon Ymous:
1) Statification of modules.

2) Implement the 'detach' and 'Detach' commands for extracting mime
   parts from messages.

3) Teach mail to output "In-Reply-To" and "References" header fields
   when replying so others can thread us.

4) Implement threading, sorting, and tagging, supported by the
   following commands: 'flatten', 'reverse', 'sort', 'thread',
   'unthread', 'down', 'tset', 'up', 'expose', 'hide', 'tag',
   'untag', 'invtags', 'tagbelow', 'hidetags', 'showtags'.
   See the manpage for details (when available - soon).

5) Implement a 'deldups' command to delete duplicate messages based on
   their "Message-Id" field, e.g., in replies to a mailing list that
   are also CCed to a subscriber.  (This can also be accomplished with
   the threading and tagging commands.)

6) Implement 'ifdef' and 'ifndef' commands, and make the conditionals
   nestable (i.e., implement a conditional stack).  The if/else/endif
   commands existed before, but they were primitive and undocumented.
   The 'if' command currently recognizes the "receiving", "sending",
   and "headersonly" mode keywords.

7) Teach the message selecting routine to understand regular
   expressions if "regex-search" is defined.  Otherwise only case
   insensitive substring matches are done (as in the past).

8) Teach the message selection routine to understand boolean
   expressions.  Improved "colon-modifier" support.  See the manpage
   for details (when available - soon).

9) Extend paging to all commands (where relevant).

10) Add shell like piping and redirection of (standard) output (if
   "enable-piping" is defined).  Extend completion to these contexts.

11) The manpage should follow soon!!!!
2006-11-28 18:45:32 +00:00
cube
bb54157110 Add a comment to explain how the value for uaddr is chosen. Maybe uvm_mmap
should do that instead of sys_mmap...
2006-11-28 18:36:26 +00:00
cube
00fbe2b725 In _prop_object_copyout_ioctl, uaddr was not initialised, although it is
used by uvm_mmap() as a hint for the virtual address to map memory to.  As
a consequence, it tended to fail a lot on some architectures.

We cannot use 0, so instead use the value that would have been used if we
were calling mmap(2) with 0 as the first argument.

Fixes PR#34639 by xtraeme@.
2006-11-28 18:30:47 +00:00
elad
233dc909a8 Kill process_checkioperm().
While here, adjust comments.
2006-11-28 17:58:10 +00:00
elad
8bb202af97 Move ktrace, ptrace, systrace, and procfs to use kauth(9).
First, remove process_checkioperm() calls from MD code. Similar checks
using kauth(9) routines (on the process scope, using appropriate action)
are done in the callers.

Add secmodel back-end to handle each subsystem.
2006-11-28 17:27:09 +00:00
christos
cc00177a7d Separate -Os into COPTS; pointed out by Izumi Tsutsui. 2006-11-28 16:24:54 +00:00
christos
edc54bf23f s/COPTS/CPUFLAGS/
s/-O2 //
2006-11-28 16:15:36 +00:00
jdc
80c18fce28 Allow ada-exp.c and c-exp.c to be built when using a read-only source tree. 2006-11-28 13:44:52 +00:00
christos
17a81bf4b3 PR/35146: George Michaelson: minor fix to let radeonfb.c compile 2006-11-28 13:38:39 +00:00
tsutsui
2e0739074e Pull fixes from FreeBSD's rgephy.c:
Revision 1.9:
> Make the rgephy driver advertise both 1000_FD and 1000_HD bits in
> autoneg mode. A couple of the devices don't autoneg correctly unless
> configured this way.

Revision 1.11:
> Due to the poor PHY documentation from RealTek I can't sure but I
> think the RealTek PHY needs driver to set RGEPHY_BMCR_AUTOEN bit of
> RGEPHY_MII_BMCR register and proper ANAR register setting for manual
> media type selection.
> This fixes long standing manual media type selection bug in rgephy(4).
2006-11-28 13:36:29 +00:00
pooka
898c6532b4 don't allow mmap if operating uncached 2006-11-28 13:20:03 +00:00
yamt
c6970b82a3 uvm_fault: unwrap a short line. 2006-11-28 13:16:37 +00:00
yamt
ec1dd90a2a uvmpdpol_pagedequeue: clear PQ_INITIALREF.
otherwise, dequeue/enqueue cycles (eg. page loaning) can cause
an assertion failure in clockpro_pageenqueue.
2006-11-28 13:14:53 +00:00
elad
64c69c4ece No need to copy fp_type twice. 2006-11-27 23:05:18 +00:00
agc
a43651f235 Modify netmask calculation so that /0 is fast-tracked, and so that network
addresses with bit 31 set are processed properly.

Fix from Hiroshi Nakamoto in PR 34578.

	[22:09:17] agc@inspiron1300 ...dist/iscsi/src 26 > ./n 10.4/16 10.4.0.29 10.4/16 10.5.0.29 10.4/0 10.4.0.19 10.4 10.4.0.19 10.4.3/8 10.4.3.7 10.4.3/24 10.4.3.7
	addr 10.4.0.29 00000a04, mask 10.4.0.0 00000a04, slash 16
	mask 10.4/16 matches addr 10.4.0.29

	addr 10.5.0.29 00000a05, mask 10.4.0.0 00000a04, slash 16
	No match for mask 10.4/16 from addr 10.5.0.29

	mask 10.4/0 matches addr 10.4.0.19

	addr 10.4.0.19 0a040013, mask 10.4.0.0 0a040000, slash 32
	No match for mask 10.4 from addr 10.4.0.19

	addr 10.4.3.7 0000000a, mask 10.4.3.0 0000000a, slash 8
	mask 10.4.3/8 matches addr 10.4.3.7

	addr 10.4.3.7 000a0403, mask 10.4.3.0 000a0403, slash 24
	mask 10.4.3/24 matches addr 10.4.3.7

	[22:09:20] agc@inspiron1300 ...dist/iscsi/src 27 > ./n any 192.168.0.1
	mask any matches addr 192.168.0.1
2006-11-27 22:24:27 +00:00
dogcow
371dea6737 revert last change, as havard's fix is more general. 2006-11-27 20:29:12 +00:00
drochner
aa18e3ca8f match ICH-7M / -DH
(The watchdog doesn't reset the box for me, but it is present according
to the datasheet.)
2006-11-27 19:58:20 +00:00
elad
174436830e Adapt to recent Veriexec sysctl(9) changes. 2006-11-27 17:55:12 +00:00
elad
e0d8be4efc Move Veriexec's sysctl(9) setup routine and helper to kern_verifiedexec.c. 2006-11-27 17:45:36 +00:00
christos
0bc546e589 PR/35136: Gary Duzan: Enable Ultra/133 on newer aceride 2006-11-27 16:56:38 +00:00
christos
f56cde20e9 PR/35135: David A. Holland: timespec patches for utmpentry.c 2006-11-27 16:54:10 +00:00
skrll
6cff9cd2f4 Initialise the result rather than returning garbage. 2006-11-27 07:22:07 +00:00
hubertf
11e3c1d9c6 Remove references to Ultrix gunzip
Discussed with and OK'd by simonb (port-pmax portmeister)

Fixes PR port-pmax/18320
2006-11-27 01:57:25 +00:00
elad
21bc112176 Implement Veriexec's raw disk policy on-top of kauth(9)'s device scope,
using both the rawio_spec and passthru actions to detect raw disk
activity. Same for kernel memory policy.

Update documentation (no longer need to expose veriexec_rawchk()) and
remove all Veriexec-related bits from specfs.
2006-11-26 20:27:27 +00:00
martin
a6d16a29ee If no scsibus is configured, do not silently fail the attach but print
a message pointing at the usscanner(4) manual page.
Addresses PR port-i386/22393.
2006-11-26 20:14:41 +00:00
dsl
d23b6980be Comment where make's internal copy of .OBJDIR gets changed 2006-11-26 20:09:57 +00:00
martin
f1a1cc2e0c dsl says: "you need to use .ie not .if if you want to use .el".
This makes missing descriptions of the misc/ directory appear in the
output.
2006-11-26 19:21:55 +00:00
christos
52e2f11be9 PR/35129: David A. Holland: exit in utmpx code should be _exit 2006-11-26 17:33:23 +00:00
dyoung
c11fb5eece Add 'volatile' to rx/tx descriptor fields. 2006-11-26 17:31:32 +00:00
elad
f7fbd2e8b5 Add an XXX comment so we don't forget what we need to do here:
* XXX: This is bogus. We should be failing the request
* XXX: not only if this specific slice is mounted, but
* XXX: if it's on a disk with any other mounted slice.
2006-11-26 17:21:25 +00:00
wiz
1730a98675 Drop trailing whitespace. 2006-11-26 16:40:44 +00:00
wiz
dee9175769 Bump date for previous. 2006-11-26 16:36:06 +00:00
tsutsui
e2e881bcd1 Match BCM5752 PHY. From Matthias Drochner and FreeBSD/OpenBSD. 2006-11-26 16:31:48 +00:00
hubertf
9382f56fa0 Update a bit, in light of PR 18320:
* update size information
 * fix some paths
 * do we want to ship an Ultrix gunzip again? I think we should...
   I'll ask the portmaster for input.
2006-11-26 16:29:07 +00:00
tsutsui
b9957a3cdf Regen from miidevs rev 1.69:
> Add BCM5752 Gig-E PHY. From Matthias Drochner and FreeBSD/OpenBSD.
2006-11-26 16:28:19 +00:00