Commit Graph

210965 Commits

Author SHA1 Message Date
joerg
0fe4b4b06b Remove matchall handling for now, it doesn't work correctly and as such,
it is a premature optimisation.
2012-05-06 22:27:00 +00:00
joerg
40b375f194 Make the matchall case a full short cut. 2012-05-06 21:56:08 +00:00
tsutsui
bf4f59d877 Make x68k's floppy driver actually work with proper bounce buffer xfer ops
on machines with extended high memories:

- dev/fd.c:
 - add missing bus_dmamap_sync(9) POSTREAD/POSTWRITE ops

- x68k/machdep.c:
 - update avail_end variable (which is used to check DMA'able memory range
   in intio.c) properly per probed extended memory regions

The problem was found during debugging XM6i's FDC emulation by
Y.Sugahara, isaki@, and me.

Should be pulled up to netbsd-6.
2012-05-06 19:46:18 +00:00
martin
d0518d9cf8 Comment out the expected failure, as it does not trigger anymore. 2012-05-06 17:27:22 +00:00
martin
a4c413ac1a When ejecting a medium, invalidate the in core disklabel - it is not
meaningfull anymore. This makes the following cdclose() use silent
mode and finally fixes PR kern/43785.
2012-05-06 17:23:10 +00:00
martin
a8e0448e41 Revert previous and add a comment - I misunderstood what this code is
emulating.
2012-05-06 16:58:31 +00:00
martin
11c99eb4d6 In cdopen: make the test for media presence always silent. In all cases
requiring a message, we will most likely get that from the spinup attempt
anyway.
This avoids the spurious "Check Condition on CDB, Not Ready, Medium Not
Present, Tray Closed" messages at boot/shutdown time.
2012-05-06 16:42:19 +00:00
martin
6dfd42c24f If we are not delivering a host iso file (USE_TOSI_ISO is undefined), use
-1 as file descriptor initially. The -2 value confused a few other checks
later and led to inconsistent "media present" reports.
2012-05-06 16:33:02 +00:00
agc
b032516602 Document the new agc-netpgp-standalone branch under
src/crypto/external/bsd/netpgp, used to develop a version of netpgp
with its own BIGNUM/MPI, cipher and signature libraries.  This will
allow netpgp to be used without bootstrapping openssl first, in turn
allowing netpgp to be used in places it would otherwise not be able to
be used.
2012-05-06 07:28:48 +00:00
christos
3a2a43f2ca - match format with the linux map printing
- fix PK_32 map printing for linux processes
should fix 32 bit java stack guard setting.
2012-05-06 03:13:11 +00:00
rmind
3e491282a2 - Fix double-free case on ICMP return case.
- npf_pfil_register: handle kernels without INET6 option correctly.
- Reduce some #ifdefs.
2012-05-06 02:45:25 +00:00
christos
ba12b0dcec oops, forgot to commit: add tgamma and tgammaf 2012-05-05 22:07:57 +00:00
dholland
d66ac51d84 Mark these obsolete as well. 2012-05-05 21:24:19 +00:00
dholland
cf2f172048 Bump date for previous. 2012-05-05 21:18:43 +00:00
dholland
1d1104dd8c rest of previous.
BQS: 1. dholland: 0.
2012-05-05 21:16:16 +00:00
dholland
aa368b88e1 Describe these as obsolete. 2012-05-05 21:14:55 +00:00
christos
57ca898c48 remove ancient crap 2012-05-05 21:03:02 +00:00
dholland
f88a50da82 typo in comment 2012-05-05 20:48:51 +00:00
rmind
c6170bf370 Describe PG_ flags (for struct vm_page). Reviewed by yamt@. 2012-05-05 20:45:35 +00:00
christos
5cebef3f28 regen 2012-05-05 19:49:13 +00:00
christos
8692f82623 use sy_call() so that l->l_sysent gets set, so that we can autoload modules
that define new syscalls properly.
2012-05-05 19:44:02 +00:00
christos
fae991ec2f Add a new type of syscall "EXTERN" which is meant for modules that live
outside the tree (in pkgsrc). Use it to define afssys (210) which has
been reserved for years, and make it autoload the "openafs" module.
2012-05-05 19:37:37 +00:00
rmind
269014127a G/C POOL_DIAGNOSTIC option. No objection on tech-kern@. 2012-05-05 19:15:10 +00:00
christos
a898920ce2 Add tgamma{,f} from FreeBSD via rudolf, netbsd at eq dot cz 2012-05-05 17:54:13 +00:00
christos
9f6de85630 add tgamma{,f} 2012-05-05 17:52:27 +00:00
tsutsui
56ed3d51fc Don't use "#if defined(__i386__) || defined(__x86_64__)" conditionals
in C source file to define option features.
Define proper options in each Makefile per ${MACHINE_ARCH} variable instead.

Previously if a host is x86 and it has /usr/mdec/mbr file in its system,
tools fdisk implicitly installs it as mbr bootcode even for !x86 targets.
2012-05-05 16:03:55 +00:00
christos
a4deae0de5 fix typo, WARNS=5 2012-05-05 15:57:45 +00:00
jym
07829955b6 Add latest CR4 bits:
- CR4_VMXE: VMX operations, used for hardware virtualization.
- CR4_SMXE: SMX operations, used for safer Mode Extensions (ground for
            Intel's TXT - Trusted Execution Technology - platform).
- CR4_FSGSBASE: enable *FSBASE and *GSBASE instructions, for R/W access
                to FS/GS segment base addresses.
- CR4_PCIDE: enable Process Context IDentifiers (other architectures may call
             these "address space identifiers").
- CR4_OSXSAVE: enable xsave and xrestore instructions
- CR4_SMEP: Supervisor Mode Execution Prevention. Allows enforcing --x rights
            from cpl 0.

From Intel® 64 and IA-32 Architectures Software Developer’s Manual,
March 2012.

Align declarations.

CPUID_* bits for these features follow.
2012-05-05 15:08:29 +00:00
christos
2cb8b46c96 avoid using cpp variadic macros and explain why. 2012-05-05 15:04:57 +00:00
macallan
648feb69e9 make sure opt_sunkbd.h exists 2012-05-05 13:47:07 +00:00
yamt
9b10dd1106 comments and cosmetics. no functional changes. 2012-05-05 04:08:53 +00:00
jnemeth
a8f4028e66 Update all variable days
- religious holidays taken from Wikipedia where available
- floating days (i.e. X day of Y month) taken from cal(1)
- NetBSD releases taken from http://www.netbsd.org/releases/formal.html#history
  - hopefully somebody will update this for the 6.0 release

Hopefully, these days will be correct for the first year of NetBSD 6.0.
2012-05-05 01:29:56 +00:00
wiz
66c3a8d39a The new apropos(1) incorrectly displays hyphens in the first line
of the search results for a few man pages (for man(7) based man
pages).

Use patch from Abhinav Upadhyay in PR 46408 to fix this.
2012-05-04 23:50:26 +00:00
christos
4af0aec9a5 comment out debugging printfs 2012-05-04 17:57:22 +00:00
joerg
1ffe43311f Do not depend on failing malloc to set errno 2012-05-04 16:45:05 +00:00
joerg
615642201d Drop obsolete pthread restriction. 2012-05-04 12:28:03 +00:00
joerg
8050d45d71 Simplify check for TLS definition to not hide code. Drop it in another
place as it is redundant.
2012-05-04 12:26:33 +00:00
christos
73e25da1dd - match regular ioctl prototype (3rd argument is optional)
- fix lint issues
2012-05-04 11:48:12 +00:00
christos
b01ba4dca4 depend on "vcoda" since it has symbols we need. 2012-05-04 02:06:27 +00:00
christos
b6690e266f fix locking in getpages when running executables. 2012-05-04 01:40:13 +00:00
christos
89fb5ce609 remove variable names from prototypes. 2012-05-04 01:38:56 +00:00
bsh
5a5aba4464 use uint64_t for sc_disksize512.
fixed the problem with ataraid volumes larger than 2 TiB.
2012-05-03 21:21:08 +00:00
mishka
89872c6470 Drop extra ")" symbol near "OpenSSH". 2012-05-03 19:07:13 +00:00
christos
b43ddeabe0 move the assert after the locked case. 2012-05-03 14:26:42 +00:00
rmind
b10bf4690c Revert posix_spawn() clean up for now, there are some bugs. 2012-05-02 23:33:11 +00:00
wiz
d4a2bd08b2 Remove trailing whitespace. 2012-05-02 22:38:31 +00:00
rmind
d9290bb010 do_open: move pathbuf destruction to the callers, thus simplify and fix a
memory leak on error path.
2012-05-02 20:48:29 +00:00
christos
e4d18b9bd2 Instead of sharing the coda vnode lock with the ffs vnode lock, share the
ffs vnode lock with coda.
2012-05-02 16:51:01 +00:00
gendalia
7591311640 Add the ability for staticroute to evaluate lines from /etc/route.conf
as shell script fragments, add example to the route.conf man page of
evaluating variables.

Remove route.conf man page statement that staticroute is enabled in
rc.conf since that's incorrect.

Wrap the staticroute while in parens, per <apb> & <christos>, and
quote all the arguments for the evals.
2012-05-02 15:57:15 +00:00
jakllsch
ccce006c72 Bump date to date of previous change. 2012-05-02 15:42:58 +00:00