Commit Graph

160742 Commits

Author SHA1 Message Date
pooka 833194271b update CODE REFERENCES to match new module 2007-07-29 09:40:54 +00:00
pooka e97d926940 Move bitmask_snprintf() from subr_prf.c to subr_prf_bitmask.c to permit
standalone compilation.  No functional change.
2007-07-29 09:38:01 +00:00
rumble f486212a0e When computing the superblock checksum, use an unsigned short to avoid an
undesired sign-extension. Now EFS works on big endian machines, too.
2007-07-29 00:56:04 +00:00
rumble 64dd04152b Set the 'ri' pointer before use. 2007-07-28 22:35:56 +00:00
mjf 05619021ad Implement bounds checking in some places in display driver code to avoid
the possibility of a local user panic.
2007-07-28 20:28:56 +00:00
dsl bd8009e530 Don't call P_ZOMBIE(struct kinfo_proc2), it's p_stat field contains
lwp states, not process states!
Since the times are filled with zeros for zombie processes the check
before assuming teh process time is zero is moot - delete it.
Fix the other chact to test the p_realstat.
Fixer PR kern/36295
2007-07-28 17:05:50 +00:00
drochner c6de8226b0 Back out local NetBSD change (range check to avoid buffer overflow),
to reduce diffs to upstream.
This is superseded by another check (TCHECK2) introduced upstream.
2007-07-28 16:09:14 +00:00
drochner 87eb08c4d6 Back out local NetBSD change (attempt to handle FDDI padding), to reduce
diffs to upstream.
This turns out to be a no-op, and it shouldn't be here at all because
the DEC/NetBSD specific FDDI padding is dealt with in libpcap already.
2007-07-28 16:07:32 +00:00
drochner 624d9b0e79 Back out local NetBSD change (typecast to void*), to reduce diffs to
upstream.
Appears unnecessary to me (source and target are unsigned char*) and
compiles w/o for me.
2007-07-28 16:04:44 +00:00
drochner 427fb19923 Back out local NetBSD changes (removal of _U_ which expands to
attribute(unused)), to reduce diffs to upstream.
While that is ugly, we have the _U_ left in at other places.
2007-07-28 16:02:17 +00:00
drochner 68aa07a617 Back out local NetBSD change (addition of #include files), to reduce
diffs to upstream.
Compiles fine without for me, and there is no CVS commit message
telling why it should be necessary.
2007-07-28 15:59:39 +00:00
kiyohara c845e341d1 s/ichsmp/ichsmb/. 2007-07-28 15:01:25 +00:00
kiyohara ad2eb788f6 s/cat4/man4/. 2007-07-28 14:51:36 +00:00
pooka 0a0815b77e Move hashinit() & hashdone() from kern_subr.c to subr_hash.c to
permit standalone compilation.  No functional change.
2007-07-28 12:53:52 +00:00
kiyohara dab69ffee7 s/uint32_t reg/pcireg_t reg/.
Check condition `!= 0'.
2007-07-28 12:31:50 +00:00
kiyohara 5fc45c72a5 Add ichsmb(4). 2007-07-28 11:06:23 +00:00
kiyohara 37b3e2d574 Add support for Intel ICH SMBus controller. 2007-07-28 10:51:56 +00:00
pooka 33f2f6779a minor header cleanup 2007-07-28 08:19:36 +00:00
ad 46022e56e5 Update the blurb to match reality. 2007-07-28 00:12:26 +00:00
tron 8760b54b72 Use the appropriate number of maximum devices for Fibre Channel.
Problem Jarle Greipsland on "current-users" mailing list.
2007-07-27 18:38:13 +00:00
reed cd2b62d931 Add lastlogin(8) to see also. 2007-07-27 16:59:25 +00:00
pooka af927546de Move vfs_attach(), vfs_detach() and vfs_reinit() from vfs_subr.c
to vfs_init.c.  This permits easier standalone compilation of these
routines.
2007-07-27 14:25:21 +00:00
pooka 49e9065012 Expose struct vfsops and VFS_FOO()s if __VFSOPS_EXPOSE is defined. 2007-07-27 13:43:05 +00:00
tsutsui 1983a26b2e Check a correct value on a sanity check in jensenio_eisa_intr_map().
Fixes yet another bug on Jensen found on tracking PR port-alpha/36628.
2007-07-27 13:37:07 +00:00
tron b737847a3a Mention support for new hardware in mpt(4). 2007-07-27 13:08:14 +00:00
tron 14ce5c0a98 Add support for newer SAS and similar devices to mpt(4). Tested with
the LSI SAS1064 in a Sun x4200 server.

These enhancements were developed by Garrett D'Amore and contributed
to NetBSD by the TELES AG.
2007-07-27 13:06:51 +00:00
xtraeme 294ea334f7 Change locking stuff in sysmon_envsys_register() and
sysmon_envsys_createplist().
2007-07-27 11:59:09 +00:00
jnemeth 7de3213369 Update the releng team list based on the current releng mailing list
(including adding the person that is currently spearheading the release).

XXX Somebody from releng should check this over.
2007-07-27 10:40:00 +00:00
yamt c90a0e2579 stop nfs tick when we have nothing to do. 2007-07-27 10:03:58 +00:00
yamt 662e7a9e40 use ubc_uiomove for read as well. 2007-07-27 10:00:42 +00:00
yamt 3822af7031 ubc_uiomove: add an "advice" argument rather than using UVM_ADV_RANDOM blindly. 2007-07-27 09:50:36 +00:00
pooka 1aba0dbed1 Track memory mappings. Close file handles already in close() if there
are no active mappings, otherwise do the standard inactive() run.
2007-07-27 09:46:27 +00:00
yamt 828aae6ba6 remove a debug printf. 2007-07-27 09:33:58 +00:00
pooka 8b45aab0cf include <uvm/uvm_prot.h> 2007-07-27 09:18:54 +00:00
pooka 91f15f1760 whoops, forgot to commit this a while back: initialize new vnode size 2007-07-27 08:38:39 +00:00
pooka c59e414d23 vop_mmap parameter change 2007-07-27 08:32:44 +00:00
pooka 1f1ebcb118 VOP_MMAP fflags -> prot 2007-07-27 08:31:30 +00:00
pooka e4b63c41f0 implement node_mmap and allow to specify accepted mappings on command line 2007-07-27 08:29:10 +00:00
pooka 8631cf4e2b mmap fflags -> prot 2007-07-27 08:28:16 +00:00
pooka 90f58074b5 regen: VOP_MMAP fflags -> prot 2007-07-27 08:27:38 +00:00
pooka 1ce406a846 Change unused fflags parameter in VOP_MMAP to prot and pass in
desired vm protection.
2007-07-27 08:26:38 +00:00
pooka d9970c8066 Use eopnotsupp() instead of vfs_stdsuspendctl() and retire the latter. 2007-07-26 22:57:36 +00:00
pooka daeb749df5 ntfs_unmount:
* panic if flushing system nodes fails: we have released too many
  resources and would die anyway the next time unmount is attempted
* KASSERT that VOP_CLOSE succeeds, but always return 0.  once again
  we have released too many resources

XXX: maybe rewrite to be a bit more robust
2007-07-26 18:43:14 +00:00
pooka 53a9d4abfa Don't do nfs server consistency checks in readdir, especially since
the check depended on the nfs server implementation.
2007-07-26 18:15:42 +00:00
plunky 55e2ff23b1 fix build for the "USE_INET6=no" case, the two variables 'nxt' and 'len32'
are only used in the inet6 code.
2007-07-26 18:15:12 +00:00
pavel 4195ecc3d2 Make the port-specific changelog ($MACHINE/whatis) optional by using .pso
to call a shell script which outputs nothing if the file is not present.

Remove the "whatis" file for ports where it does not contain anything
useful and hasn't been updated for years. OK tsutsui@, hubertf@.
2007-07-26 15:26:35 +00:00
he 40db4f866e Move the include of <machine/intr.h> into the _KERNEL / _LOCORE #ifdefs.
Fixes build problem with the extent regression test.
2007-07-26 14:54:09 +00:00
nonaka a3f23fba88 use WSDISPLAY_TYPE_PXALCD. 2007-07-26 12:17:37 +00:00
nonaka 2462aff88e add WSDISPLAY_TYPE_PXALCD for PXA2x0 LCD controller. 2007-07-26 12:17:14 +00:00
jnemeth dfb7eb763c update portmaster list 2007-07-26 11:43:57 +00:00