Commit Graph

227520 Commits

Author SHA1 Message Date
joerg
94adc2671a Provide sysctl for namecache statistics. 2014-06-03 21:16:15 +00:00
christos
175b819734 For consistency, handle REQUISITE modules the same way as we handle REQUIRED
and BINDING.
2014-06-03 20:22:54 +00:00
christos
dab998a96b CVE-2014-3879: Incorrect error handling in PAM policy parser:
Missing module files were treated as soft failures leading to
unexpected behavior if policy files were copied between hosts with
differently installed modules or in the short period during upgrades
when module files were being replaced.
2014-06-03 20:21:32 +00:00
palle
1a4ece95a2 sun4v: rename upaid_from_node() to cpuid_from_node() - make the function able to extract the cpuid from the cpu nodes reg property (sun4v only) - ok martin@ 2014-06-03 20:01:34 +00:00
riastradh
a8f2a2efec Rework gen6 aperture/gtt size detection. Mark variables __diagused. 2014-06-03 19:49:37 +00:00
joerg
0ae69ecb1a Don't play loop games, just enumerate the 10 fields explicitly. 2014-06-03 19:42:17 +00:00
riastradh
c910302de2 Mark variables __diagused. 2014-06-03 19:40:37 +00:00
joerg
57f7a68562 Regen. 2014-06-03 19:30:48 +00:00
joerg
11581dcbbb Introduce two helper functions to centralise the namecache statistics
in vfs_cache.c. Use consistent locking around the per-cpu data.
2014-06-03 19:30:29 +00:00
reinoud
d906f0570d Add used pmu registers, sysreg registers and usb phy registers for USB2. More
are added when used.
2014-06-03 15:56:14 +00:00
reinoud
0aa48c65c7 Explicitly mark MCUCTL_ISP_OFFSET as an unknown module to prevent confusion 2014-06-03 15:51:59 +00:00
riastradh
db479d6e55 Ensure we call uvmfault_unlockall on every exit from i915_gem_fault. 2014-06-03 15:06:36 +00:00
riastradh
a21c03fe5f Fix atomic_dec_and_test in <linux/atomic.h>: test 0, not -1. 2014-06-03 14:59:30 +00:00
wiz
82d04f72be Fix a bug that caused an error about a UNIQUE constraint violation.
Patch from Abhinav Upadhyay.
2014-06-03 14:42:41 +00:00
msaitoh
dac18f56e9 Avoid buffer overflow which was added in rev. 1.52.
This change fix a panic at boot time (PR#47950 Reported by Bert Kiers).

 OK'd by tls.
2014-06-03 13:53:28 +00:00
riastradh
c1c5dda87a libdrm_intel needs libpciaccess (kinda spuriously, but whatever). 2014-06-03 13:51:52 +00:00
macallan
5dbd45e441 actually get rid of actually unused variables, still works on my Indy
thanks mrg
2014-06-03 12:15:00 +00:00
njoly
954ca52517 Add testcase that check lstat(2) values for symbolic links (PR
kern/48864).
2014-06-03 11:56:07 +00:00
ozaki-r
f71f52bb9b Call ifp->if_output in revarprequest with KERNEL_LOCK held
Otherwise, it hits KASSERT(KERNEL_LOCKED_P()) in ether_output
when nfs_boot fails and tries RARP.
2014-06-03 01:24:32 +00:00
joerg
93b8079710 GC unused variables. 2014-06-02 22:57:50 +00:00
joerg
a300913f30 Remove remaining kvm glue. 2014-06-02 19:29:58 +00:00
joerg
11c4049413 Drop kvm-based access for driver statistics. 2014-06-02 19:29:00 +00:00
gdt
335863a998 Add test environment considerations from tests.atf.7.
Bump date in an attempt to avoid provoking wizd(1).
2014-06-02 19:17:08 +00:00
joerg
8670ce0cf0 Make missing kern.evcnt an error, don't try to fallback to kmem use. 2014-06-02 19:16:10 +00:00
joerg
b760a206df Remove majority of KVM usage. 2014-06-02 18:17:51 +00:00
joerg
80a70b4c48 Remove !BSD and lint branches. 2014-06-02 17:40:05 +00:00
macallan
78137629d4 more __unused() 2014-06-02 15:16:23 +00:00
macallan
834a163f3d sprinkle __unused() 2014-06-02 15:07:24 +00:00
tsutsui
b13a31e41c Apply patch in PR port-alpha/48697 (with some tweaks).
Tru64 UNIX's disklabel is the same format as BSD disklabel,
and it seems Tru64 stores incorrect geometry values in
d_nsectors (sectors/track) and d_secpercyl (sectors/cylinder).
d_secperunit seems always reliable so use it to get
dlsec (sectors/track) and dlcylsize (sectors/cylinder) values.

Should be pulled up to netbsd-6 branches.
2014-06-02 15:03:47 +00:00
joerg
fca46cebb6 Use explicit initializer. 2014-06-02 11:02:20 +00:00
joerg
b319e84295 Re-add -cxx-isystem and -iremap, lost in the GCC 4.8 transition. 2014-06-02 10:14:35 +00:00
mrg
d316f09705 apply __diagused. 2014-06-02 04:57:02 +00:00
dholland
a6869e0836 add MPVERBOSE, noted missing in PR 48733. 2014-06-02 02:11:51 +00:00
mrg
2c6fc41c81 catch up with GCC_SUBDIR changes for new-to-gcc 4.8 directories. 2014-06-01 20:24:45 +00:00
mrg
5beaf704be port over 3 changes made here in the GCC 4.5 tree that we'll need
when GCC 4.8 becomes "gcc.old" eventually.

this tree still needs to be tested for more, but this should be the
bulk of the work.

----
Log Message:
prepare for moving GCC 4.5 into gcc.old:

- convert to using ${EXTERNAL_GCC_SUBDIR}
- define base-external-gpl3-gcc* subdir as GCC_SUBDIR
- use <bsd.init.mk> over <bsd.own.mk> for a bunch of places; mostly
  because it arranges for ../Makefile.inc to be included earlier, and
  don't bother including the latter if the former is already included.
- move all .PATH: settings after <bsd.{own,lib}.mk> so that all
  valid variables are set before it is evaluated
- rename mknative-gcc* to match their subdir name.

XXX the relationship between the Makefile.inc/Makefile.gcc_path files
    is kind of sketchy, it would be great if this was fixed.

----
Log Message:
oops, avoid re-setting DIST to something that might be wrong now.

----
Log Message:
fix another dated DIST.
2014-06-01 19:51:01 +00:00
christos
2e317a68f7 PR/48843: Jarmo Jaakkola: Soften the language in the manual page,
making less promises about behavior not explicitly stated in the standard.
2014-06-01 17:46:06 +00:00
phx
66c8502fa8 Use int32_t, int16_t, int8_t. 2014-06-01 17:21:50 +00:00
njoly
88a8e0469e Cleanup pipe(2) flags, now that native handle them. 2014-06-01 13:42:12 +00:00
martin
755f765c3a PR kern/48815: do not skip ';' twice when comparing file versions.
Patch from Thomas Schmitt.
2014-06-01 11:01:18 +00:00
mrg
d26da1a6c3 make sure that files containing version numbers are rebuilt when
the version actually changes.
2014-05-31 22:55:16 +00:00
joerg
0cfeec7c2c Mark files without llvm-209886 tag as dead. 2014-05-31 22:42:11 +00:00
rmind
410bae3ffd npfctl_build_code: generate TCP/UDP check for ports case when other blocks
do not imply L4 check; add an assert in npfctl_bpf_proto() and elsewhere.
2014-05-31 22:41:37 +00:00
joerg
7429e1daf1 Mark files without clang-209886 tag as dead. 2014-05-31 22:40:30 +00:00
rmind
5866b12dae npfctl: allow group of zeroes in IPv6 address; noted by spz@. 2014-05-31 22:37:05 +00:00
christos
9cf96bf22e add missing files for dotcmd tests 2014-05-31 20:26:51 +00:00
christos
3ad0225b3d Add different defines to force weak pthread symbols.
XXX: I think these should be generated automatically.
XXX[2]: Why:
gthr-default.h -> $NETBSDSRCDIR/external/gpl3/gcc/dist/libgcc/gthr-posix.h
and wes still have old arch/*/gthr* files?
2014-05-31 20:09:15 +00:00
palle
422f4329cf Updated TODO with relevant things to fix on sun4v 2014-05-31 18:27:03 +00:00
palle
6e65a7da80 sun4v: added missing dtsb miss handling for trap level 1 - with this update the kernel now reaches configure() on sun4v systems 2014-05-31 18:22:29 +00:00
christos
9d4efc49bd PR/48858: Roy Bixler: siside0:0:1:0: lost interrupt, submitter claims this
makes the cdrom work.
2014-05-31 16:25:29 +00:00
macallan
94fa2b1472 we don't need or want COMPAT_NETBSD32 in a 32bit kernel
should cure pkgsrc MACHINE_ARCH mismatches
2014-05-31 16:16:52 +00:00