ragge
0dc4689916
GCC constraints error for inline assembler, causing in_cksum to calculate
...
the checksum wrong in the non-optimized case. Fix provided in PR#14614
by Rhialto, so this solves this PR.
2006-12-31 10:52:52 +00:00
yamt
3f0f3de613
update comments on NFS_V2_ONLY after nqnfs removal. no functional changes.
...
from Arnaud Lacombe.
2006-12-29 21:49:03 +00:00
elad
504c71d9fe
Make machdep scope architecture-agnostic by removing all arch-specific
...
requests and centralizing them all. The result is that some of these
are not used on some architectures, but the documentation was updated
to reflect that.
2006-12-26 10:43:43 +00:00
elad
3d11477c94
Add requests indicating access to unmanaged memory for arm, pc532, powerpc,
...
sh3, sh5, and vax, and use them instead of KAUTH_GENERIC_ISSUSER.
Update documentation and example secmodel code.
2006-12-22 11:13:21 +00:00
yamt
8bf7662829
merge yamt-splraiseipl branch.
...
- finish implementing splraiseipl (and makeiplcookie).
http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
- complete workqueue(9) and fix its ipl problem, which is reported
to cause audio skipping.
- fix netbt (at least compilation problems) for some ports.
- fix PR/33218.
2006-12-21 15:55:21 +00:00
scw
e07faf8a74
Replace the myriad copies of bounds_check_with_label() with a single MI
...
version.
Add disk_blocksize(9) so that disk drivers can record the physical
block size of a disk if it is different to DEV_BSIZE. Right now this
simply initialises dk_blkshift and dk_byteshift according to the
supplied block size. This information is used in the MI version of
bounds_check_with_label().
2006-11-25 11:59:55 +00:00
wiz
6919c6578c
s/independant/independent/, from Zafer.
2006-11-24 22:04:21 +00:00
jmmv
7a13fe4abf
Remove tmpfs's experimental status. OK'ed by core@.
2006-11-11 18:47:08 +00:00
he
87a71ab54f
Propagate const, prompted by new gcc.
2006-10-25 07:04:13 +00:00
oster
2cc8598250
Add #inclusion protection.
...
vax/uba/qevent.h has been vax/qevent.h for ages now.
Fixes -current build on vax.
2006-10-09 18:42:59 +00:00
christos
2b5046cce5
include headers needed for the ioctls.
2006-10-09 17:04:36 +00:00
tnozaki
44eb8f042e
fix gcc -Werror -Wmissing-braces problem
...
mbstate_t(this is opaque object)'s initializer should be ``{ 0 }'',
so changed 1st field of union from character array to integer.
2006-10-04 13:51:59 +00:00
chs
e8295642bd
remove MALLOC_NOINLINE, it doesn't do anything anymore.
2006-10-02 03:28:29 +00:00
chs
164df76537
remove details of the kernel malloc() implementation from header files:
...
- change MALLOC() and FREE() to just call their function equivalents.
- remove references to other malloc()-related constants.
2006-10-02 02:59:38 +00:00
elad
bdc51baebb
Adapt MD code to KAUTH_DEVICE_TTY_OPEN, batch #2 from Matt Fleming, thanks!
...
Also, add forgotten splx() calls in some places.
2006-10-01 19:28:43 +00:00
gdamore
06522e0f81
Pass the filesystem time to clock drivers in the todr_chip_handle, so that
...
vax, and pmax can use it.
2006-09-16 00:50:52 +00:00
matt
92ae0af8bc
Don't include <sys/device.c> unless this is a _KERNEL
2006-09-06 00:31:50 +00:00
matt
3d1a5167c6
Define LIBCRTBEGIN/LIBCRTEND so we don't need to build userland before
...
building the bootloaders.
2006-09-06 00:31:22 +00:00
matt
0cbed11bde
#define __HAVE_GENERIC_TODR
2006-09-05 19:33:55 +00:00
matt
27176f3722
Switch VAX over to generic TODR
2006-09-05 19:32:57 +00:00
matt
d2fa9e5329
Make cpu_coredump dependent on COREDUMP
2006-08-31 16:49:21 +00:00
yamt
e527ebac6f
- remove unused bdbtofsb.
...
- move the following macros from MD headers to sys/param.h.
ctod
dtoc
ctob
btoc
dbtob
btodb
2006-08-28 13:43:35 +00:00
christos
e0df1e4c51
PR/34283: Gene ENonymous: Add IPFILTER_LOOKUP to the default kernel options
...
Also remove CCITT,NS,NIP
2006-08-26 20:26:43 +00:00
tsutsui
6ff205ce76
Remove obsolete #options VERIFIED_EXEC, found by grep(1).
2006-08-26 07:59:21 +00:00
christos
b300b74469
Disable SYSTRACE by default on all kernels (discussed with core)
2006-08-12 15:29:52 +00:00
ad
d8360081f7
Remove RASTERCONSOLE support from the pmax port.
2006-07-29 19:10:56 +00:00
drochner
84f50d1b92
don't install <machine/db_machdep.h>, this is kernel only
2006-07-26 19:54:56 +00:00
ad
f474dceb13
Use the LWP cached credentials where sane.
2006-07-23 22:06:03 +00:00
ad
2b79369c7e
- Hold a reference to the process credentials in each struct lwp.
...
- Update the reference on syscall and user trap if p_cred has changed.
- Collect accounting flags in the LWP, and collate on LWP exit.
2006-07-19 21:11:37 +00:00
matt
46d05ada18
Don't bcopy to 0 because gcc4 doesn't like. Instead use a structure copy
...
to 0 to do the equivalent thing. XXX this is evil.
2006-07-08 00:27:30 +00:00
matt
c266c91b24
Reorganize pmap_extract so that *pap is always set to quash gcc4
...
uninitialized use warnings.
2006-07-08 00:26:21 +00:00
matt
08f6d0142a
Make GCC3/GCC4 happy with these asms.
2006-07-08 00:25:24 +00:00
mrg
5bf1ad3744
fix pointer signedness and build with GCC4.
2006-07-01 05:55:34 +00:00
liamjfoy
aeee5deab9
Add CARP to GENERIC kernel configs. CARP is not enabled by default.
...
ok: christos
2006-06-28 15:19:27 +00:00
he
9c72169b1f
Correct mistakes I made when getting rid of lvalue casts.
2006-06-11 08:35:00 +00:00
he
34155cf541
Correct a mistake I introduced when getting rid of lvalue casts.
2006-06-11 08:29:03 +00:00
he
bc5f506d49
Get rid of another instance of an lvalue cast.
2006-06-08 08:18:13 +00:00
he
6f8829a0d2
Get rid of lvalue casts by either using an extra temporary variable
...
or by using the appropriate casts in the first place.
2006-06-08 07:03:11 +00:00
mrg
db19e89e04
remove support for building (with) GCC 2.95. also:
...
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.
2006-06-02 22:16:18 +00:00
yamt
b146bf6cab
include kauth.h for kauth_cred_geteuid.
2006-05-15 20:55:47 +00:00
elad
8ccb6c9341
integrate kauth.
2006-05-14 21:55:09 +00:00
he
06d42ba224
Make this build again (replace indirection with field access).
2006-04-16 09:34:56 +00:00
matt
8b8889400b
No reason to do *(vaddr_t *)& dance. We only assign to vaddr_t
2006-04-15 17:52:56 +00:00
blymn
3c0adb7d99
Make i/o statistics collection more generic, include tape drives and
...
nfs mounts in the set of devices that statistics will be reported on.
2006-04-14 13:09:05 +00:00
jmmv
7a51d4dddc
Add an extra cookie to the ioctl and mmap wsdisplay accessops that points
...
to the screen on which they are being called. The driver cannot guess
this by itself but it is needed to implement, at least, the getwschar and
putwschar functions in the correct place. There are no functional changes
yet.
Tested on i386 (vga, vga_raster, machfb, vesafb), macppc and sparc64.
Suggested and reviewed by macallan@.
2006-04-12 19:38:22 +00:00
mrg
0db1500b43
retire HAVE_GCC3/HAVE_GCC4 and introduce HAVE_GCC that is set to 2, 3 or 4.
2006-04-07 19:38:58 +00:00
cherry
93447d7ac4
closes: PR kern/32359
...
modifies machine/db_machdep.h: BKPT_SET(inst) to BKPT_SET(inst, addr) for all archs ie; passess the
breakpoint address as well.
Patch from cherry@mahiti.org
2006-04-01 15:45:00 +00:00
chs
788c9819d4
vmapbuf() does not tolerate failure to get virtual space, use UVM_KMF_WAITVA.
2006-03-30 04:07:13 +00:00
thorpej
2be6494fc9
Use device_cfdata().
2006-03-29 04:16:44 +00:00
pavel
dc1372c547
Add stf to all kernel configs which have INET6 and gif, except the INSTALL
...
ones and those for specific machines of developers. PR 32304.
OK'ed by rpaulo.
N.B. stf is a cloning device, so it still must be enabled by
"ifconfig stf0 create".
2006-03-28 20:58:39 +00:00