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
yamt
0f0ac5fba9
vmapbuf: don't try to modify non-lvalue.
2006-11-05 08:04:55 +00:00
simonb
c7f58e7f3e
Make mcount static.
...
Same problem as described in port-alpha/10582 by ITOH Yasufumi.
pc532 problem pointed out by Valeriy Ushakov.
2006-10-26 23:53:27 +00:00
mrg
648bbec934
in cpu_dumpconf(), don't panic() if we can't bdevsw_lookup() the
...
dumpdev. this occurs when we try to set the dumpdev to a device
with no driver loaded. this fixes PR#34872.
in sys_swapctl, if bdevsw_lookup() fails, set dumpdev = NODEV
before calling cpu_dumpconf(). (this also fixes PR#34872.)
XXX: cpu_dumpconf() should probably be changed to take a dumpdev
XXX: and return an error in such cases, but that is a much more
XXX: intrusive change.
XXX2: this is only run-tested on sparc64 and compile tested on a
XXX2: couple of platforms.
2006-10-21 05:54:31 +00:00
simonb
e8ff7d18f3
Use "U" suffixes for largest unsigned type values.
...
Pointed out by Nick Hudson.
2006-10-19 12:05:26 +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
elad
65792a0340
More from Matt Fleming:
...
Adapt to KAUTH_DEVICE_TTY_PRIVSET and KAUTH_DEVICE_TTY_OPEN.
2006-10-01 20:31:49 +00:00
elad
e8373398dc
Adapt MD code to KAUTH_DEVICE_TTY_OPEN. Patch from Matt Fleming, thanks!
2006-10-01 18:56:21 +00:00
manu
f309b668fd
- Document COMPAT_15 as doing nothing
...
- Add COMPAT_15 to all the kernel that had COMPAT_14, for the sake of coherency
- Remove the only occurences of #ifdef COMPAT_15 in the tree: for the ARM
ports, COMPAT_15 was always used in conjunction with EXEC_AOUT. Only EXEC_AOUT
matters here.
This address kern/18407
2006-09-27 21:42:04 +00:00
simonb
cec3b712bd
Use %p to print a pointer.
2006-09-09 04:12:00 +00:00
simonb
996ce3b799
Fix some cast-qual lossage.
2006-09-09 04:11:43 +00:00
simonb
4f4791b37f
Switch pc532 to timecounters and generic TODR.
...
From Garrett D'Amore, with only a couple of minor tweaks by me.
2006-09-07 15:56:01 +00:00
simonb
0c05b6c17e
DEBUG="-g" wasn't good enough to remove the "objcopy -x" step, the
...
library makefiles want the "-g" in COPTS instead.
2006-09-07 15:50:04 +00:00
simonb
58f251e245
Catch up with changes from files in arch/i386/include to make compiling
...
happier with new compilers and compiler warnings settings.
2006-09-04 01:04:29 +00:00
simonb
c0b7864181
Add ``makeoptions DEBUG="-g"''. From the comment in GENERIC:
...
# XXX
# Need "-g" so that link sets in libraries work. The "objcopy -x" step
# will strip out static link set info from an a.out object.
2006-09-03 05:58:19 +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
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
liamjfoy
aeee5deab9
Add CARP to GENERIC kernel configs. CARP is not enabled by default.
...
ok: christos
2006-06-28 15:19:27 +00:00
yamt
c85ee8cf59
wrap a long line.
2006-05-15 20:50:38 +00:00
yamt
304270c5ca
include kauth.h for kauth_cred_geteuid.
2006-05-15 20:50:05 +00:00
dogcow
e04236d6b3
remove bitrotted functions that have never been used, and have been
...
cargo-culted from one port to another.
2006-05-15 12:47:42 +00:00
elad
8ccb6c9341
integrate kauth.
2006-05-14 21:55:09 +00:00
skrll
214053461e
Fix some more comments.
2006-05-13 08:56:08 +00:00
simonb
c1924fc56d
KNF, ANSIfy, white space clean up.
2006-05-12 06:05:22 +00:00
skrll
a337e06c5e
ANSIfy
2006-05-12 05:42:36 +00:00
simonb
247e7a1d03
Don't install an empty <machine/mtpr.h> that seems to be an artifact of
...
when this port was created and has long since been removed from the i386
port.
2006-04-18 06:59:39 +00:00
cherry
d600e81a73
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:44:58 +00:00
thorpej
ff5e3107c9
No need to check if dv_cfdata is NULL here.
2006-03-29 03:58:48 +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
thorpej
39cd836ee1
Use device_unit().
2006-03-28 17:38:24 +00:00
drochner
47fbb9d86b
adapt to uvm_fault() interface cleanup: kill the useless 3rd argument
2006-03-15 18:12:02 +00:00
simonb
c66cd10ee8
Trim use of "volatile" a little.
2006-03-11 14:07:35 +00:00
simonb
fd0ea3e657
Remove some blank lines.
2006-03-11 13:56:18 +00:00
simonb
e30b0d0cb4
Use syscall_intern() to give a process a plain or fancy syscall,
...
moving system call functionality from trap.c to new syscall.c
Split out userret from trap.c to <machine/userret.h> and use
mi_userret().
This gets approx 20% speed improvement (45us to 36us) with lmbench's
"lat_syscall null" benchmark(!).
2006-03-11 13:52:58 +00:00
thorpej
61dd49d3bc
Syscall debug tracing is handled by trace_enter() / trace_exit(). Change
...
trace_is_enabled() to return TRUE if SYSCALL_DEBUG is defined, and g/c
all of the SYSCALL_DEBUG handling from individual system call dispatch
routines.
2006-03-07 07:21:50 +00:00
thorpej
be8b235384
Clean up fallout proc_is_traced_p() change:
...
- proc_is_traced_p() -> trace_is_enabled(), to match trace_enter() and
trace_exit().
- trace_is_enabled() becomes a real function.
- Remove unnecessary include files from various files that used to care
about KTRACE and SYSTRACE, but do no more.
2006-03-07 03:32:04 +00:00
kleink
774f60551c
Fix inverted device_is_a() use logic in previous.
2006-02-28 23:08:20 +00:00
thorpej
132ce1f07f
Use device_is_a()
2006-02-26 05:24:52 +00:00
thorpej
458b3e43f7
Use device_parent().
2006-02-23 05:37:46 +00:00
perry
fbae48b901
Change "inline" back to "__inline" in .h files -- C99 is still too
...
new, and some apps compile things in C89 mode. C89 keywords stay.
As per core@.
2006-02-16 20:17:12 +00:00
simonb
949d314e64
Const poisoning, fix shadow variable problem.
2006-02-11 02:19:31 +00:00
simonb
660e5df892
Const poisoning.
2006-02-11 02:19:06 +00:00
cube
6ff13154dd
Remove 'count' argument for pseudo-devices that ignore it
...
(vnd, bpfilter, ppp, gif, gre, tun, sl, strip, faith, stf).
2006-02-05 05:01:48 +00:00