jmmv
7a13fe4abf
Remove tmpfs's experimental status. OK'ed by core@.
2006-11-11 18:47:08 +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
gdamore
4ee91c0828
Convert next68k to generic-todr and timecounter.
...
Tested by bouyer@.
2006-09-11 15:07:50 +00:00
dogcow
f2d329dca0
remove more vestiges of CCITT, LLC, HDLC, NS, and NSIP.
2006-09-07 02:40:31 +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
mhitch
26264a025e
gcc4 fix: correct of couple of casting errors picked up by gcc4.
2006-08-04 02:09:19 +00:00
mhitch
7e0fcda313
gcc4 fix: include sy/device.h to pick up a definition of something which
...
I've forgotten - needed by gcc4.
2006-08-04 02:07:59 +00:00
mhitch
ce5b58c8c7
gcc4 fix: gcc3 was apparently more lax in structure declarations - change
...
order of including nextkbdvar.h and wskbbdmap_next.h.
2006-08-04 02:05:12 +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
b3b862261c
include kauth.h for kauth_cred_geteuid.
2006-05-15 12:41:21 +00:00
elad
8ccb6c9341
integrate kauth.
2006-05-14 21:55:09 +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
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
drochner
47fbb9d86b
adapt to uvm_fault() interface cleanup: kill the useless 3rd argument
2006-03-15 18:12:02 +00:00
christos
23a74d17e2
New patch from Cory Bajus
2006-03-15 15:39:26 +00:00
christos
064fae4646
Apply patch from Cory Bajus for writing to the RTC
2006-03-14 02:52:48 +00:00
lukem
a1f606d3fd
Use the SI capitalization for "Hz", "kHz", and "MHz" in comments and strings.
...
Add a space between numbers and Hz unit.
2006-03-08 23:46:22 +00:00
christos
93edf29420
Fix clock reading problem on turbo nexts and color slabs. First
...
reported by: Timm Wetzel twetzel at gwdg.de on 2001-06-22, and now
again by: Cory Bajus cbajus at mts.net
2006-03-08 03:29:49 +00:00
wiz
5d1e8b2745
Fix some typos.
2006-02-25 02:28:55 +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
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
rpaulo
806f7632b5
bpfilter doesn't accept count anymore.
2006-02-04 03:29:57 +00:00
reinoud
a92fdbbc53
Add commented out UDF file-system entry in all GENERIC configurations.
2006-02-02 21:32:08 +00:00
christos
606bb2caed
free -> dealloc
...
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
perry
5f1c88d70d
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
2005-12-24 20:06:46 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
elad
4591e5acfd
Add (commented out) Veriexec options and pseudo-device to GENERIC kernels,
...
and remove the i386 GENERIC_VERIEXEC config.
2005-12-09 23:34:01 +00:00
tsutsui
ff9b47d69e
Adjust comments for options FFS_NO_SNAPSHOT.
...
XXX: This option should be mentioned in options(4).
2005-12-07 09:10:11 +00:00
chs
59fddeceaa
turn off DEBUG and DIAGNOSTIC in GENERIC kernels so that they
...
are compatible with the LKMs that are part of the release.
2005-11-03 16:48:29 +00:00
chs
df1287ee8b
fix crash dumps on m68k platforms, cpu_kcore_hdr_t is larger than
...
512 bytes now so we need a bigger buffer. PR 26958.
2005-10-30 15:49:39 +00:00
yamt
d597202302
make VMSWAP optional again.
2005-09-17 14:38:38 +00:00
yamt
7e71f567e4
include "conf/std".
2005-09-17 09:44:05 +00:00
jmmv
ec93365612
Initial addition of tmpfs, an efficient memory file-system. This project
...
was developed as part of Google's Summer of Code 2005 program. This
change adds the kernel code, the mount_tmpfs utility, a regression test
suite and does all other related changes to integrate these.
The file-system is still *experimental*. Therefore, it is disabled by
default in all kernels. However, as typically done, a commented-out
entry is added in them to ease its setup.
Note that I haven't commited the required mountd(8) changes to be able
to export tmpfs file-systems because NFS support is still very unstable
and because, before enabling it, I'd like to do some other changes.
OK'ed by my project mentor, William Studenmund (wrstuden@).
2005-09-10 19:20:48 +00:00
drochner
41f06eac8c
include machine/intr.h only in the _KERNEL case, as
...
most other ports do.
(In the -KERNEL case, it is needed because the spl*()
stuff ought to be pulled in by <sys/param.h> per the
manpages.)
This saves some namespace headaches.
2005-09-07 19:39:51 +00:00
drochner
9e7bc072c7
namespace sanity: kill includes which are not
...
used directly
2005-09-07 19:35:37 +00:00
drochner
0ffd1b3340
include <sys/devive.h> explicitely because this is the
...
documented header for "evcnt" stuff
(should be separated, later)
2005-09-07 19:33:20 +00:00
drochner
44bf0a7ee2
s/locdesc_t/int/g
2005-08-26 13:19:34 +00:00
christos
93c362d7ef
Enable ptyfs by default on the non-install and non small/tiny/ramdisk kernels
2005-08-19 05:19:49 +00:00
christos
758a209d23
64 bit inode changes.
2005-08-19 02:03:49 +00:00
yamt
38ca5312d2
revert "defflag VMSWAP" changes for now.
...
there seems to be far more people who don't want to edit
their kernel config files than i thought.
2005-07-31 04:04:30 +00:00
yamt
558fded29a
add "options VMSWAP" to non INSTALL kernels.
2005-07-30 06:35:34 +00:00
yamt
1d0891101c
defflag VMSWAP.
2005-07-30 06:33:33 +00:00
hubertf
673730506c
Add support for reading cloop2 compressed filesystem image,
...
enable by putting VND_COMPRESSION into kernel config file.
Written by Cliff Wright, polished up slightly by me.
2005-07-17 00:08:27 +00:00
christos
2f382743c1
Add m68k sunos_machdep.h
2005-07-11 13:13:56 +00:00
tron
04b9c3437f
Add (commented out) IPSEC_NAT_T option.
2005-07-07 17:05:46 +00:00