chs
74234c1818
don't include <sys/endian.h> when building as a host tool.
2006-12-09 22:02:24 +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
chs
e8295642bd
remove MALLOC_NOINLINE, it doesn't do anything anymore.
2006-10-02 03:28:29 +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
gdamore
382a67e7e4
Convert bebox to MI todr. As part of this, separate out the mc146818
...
clock handling. Originally reviewed with that committed as an MI driver
in dev/isa, crazy MD versions of mcclock made that impossible. So for
now I'm only handling it as an MD driver. Ok garbled@
2006-09-15 08:25:02 +00:00
bjh21
e10108c7f2
Nothing in the kernel now tests __HAVE_NWSCONS, so stop defining it everywhere.
2006-09-03 13:51:23 +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
f474dceb13
Use the LWP cached credentials where sane.
2006-07-23 22:06:03 +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
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
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
thorpej
bf53a8ce6f
Use device_unit().
2006-03-26 04:39:40 +00:00
thorpej
a1050c527b
Use device_is_a().
2006-02-25 17:32:43 +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
df5390003c
bpfilter doesn't accept count anymore.
2006-02-04 02:42:27 +00:00
reinoud
a92fdbbc53
Add commented out UDF file-system entry in all GENERIC configurations.
2006-02-02 21:32:08 +00:00
dsl
6f0f9f8763
Make almost everything #include <sys/bswap.h> instead of <machine/bswap.h>
...
The bswap.h and endian.h files are all rather incestuous, but I want to
get the constant folding stuff into one place - sys/bswap.h
2006-01-29 21:42:40 +00:00
christos
606bb2caed
free -> dealloc
...
unsigned -> size_t for alloc/dealloc
2006-01-25 18:28:25 +00:00
perry
50a256a3a0
__asm__ -> __asm
...
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
2005-12-24 23:23:59 +00:00
perry
2d65de2479
bare asm -> __asm
2005-12-24 22:45:33 +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
2a32b6081e
Remove obsolete options VNODE_OP_NOINLINE.
2005-12-07 12:40:46 +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
thorpej
cfc81086d9
swcr -> swcrypto
2005-11-25 16:41:31 +00:00
thorpej
7385cdd346
"pseudo-device crypto" really refers to the /dev/crypto API to the
...
opencrypto framework, not the framework itself. Update the comment
accordingly.
2005-11-25 16:35:11 +00:00
thorpej
751f32db24
Add "pseudo-device swcr" (commented out if "pseudo-device crypto" is also
...
commented out).
2005-11-25 16:30:23 +00:00
nonaka
292989c8b6
In decr_intr(), update lasttb only when clock interrupt is not masked.
...
(sync with macppc/macppc/clock.c: rev.1.11 -> 1.12)
2005-11-23 13:00:51 +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
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
kleink
aece7a90fd
Change the driver open function's conditional for overriding exclusive tty
...
use from checking the proc's uid to suser(9), and account for the use of
privileges. Noted by David Holland in PR kern/31126.
2005-09-06 21:40:37 +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
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
he
14bbdadd3d
The ANSIfication unconvered that we were calling devlookup() with
...
an extra argument. It seems to be correct just to drop the last arg.
2005-07-15 23:15:00 +00:00
tron
04b9c3437f
Add (commented out) IPSEC_NAT_T option.
2005-07-07 17:05:46 +00:00
junyoung
e63501d234
#include <lib/libsa/stand.h> rather than <stand.h> or "stand.h"
2005-06-28 21:00:41 +00:00
junyoung
886a08c247
- ANSIfy, remove trailing spaces.
...
- Put /* FALLTHROUGH */ to make lint happy.
2005-06-28 20:51:19 +00:00