Commit Graph

249 Commits

Author SHA1 Message Date
jmmv 8e0a777ab1 wiz@ remembers that the preferred way to spell file-system in NetBSD is
file system.
2005-09-10 22:28:57 +00:00
jmmv c6a6458ca8 Lower the maximum number of vnodes while running this test. Otherwise,
it won't ever succeed with default values.
2005-09-10 19:39:18 +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
yamt e55179f33a cast f_fileno to uint64_t to be more portable. 2005-08-20 05:25:16 +00:00
christos d0fa934dc3 More fallout from ino_t 64 bit changes (from Kurt) 2005-08-19 12:47:10 +00:00
lukem 7f4d732106 appease gcc -Wuninitialized 2005-06-02 11:10:00 +00:00
martti 58b8abcbf8 Upgraded IPFilter to 4.1.8 2005-04-03 15:05:30 +00:00
martti c775aec128 Import IPFilter 4.1.8 2005-04-03 15:01:04 +00:00
bouyer e9e4c49142 Add a test for the bug fixed in subr_extent.c rev 1.51. 2005-03-15 18:27:23 +00:00
perseant 5d2f3e4908 Various minor LFS improvements:
* Extend the lfs library from fsck_lfs(8) so that it can be used with a
  not-yet-existent LFS.  Make newfs_lfs(8) use this library, so it can
  create LFSs whose Ifile is larger than one segment.
* Make newfs_lfs(8) use strsuftoi64() for its arguments, a la newfs(8).
* Make fsck_lfs(8) respect the "file system is clean" flag.
* Don't let fsck_lfs(8) think it has dirty blocks when invoked with the
  -n flag.
2005-02-26 05:45:54 +00:00
martti 460bbcc960 Upgraded IPFilter to 4.1.6 2005-02-19 21:30:24 +00:00
martti 76b5d9e30f Import IPFilter 4.1.6 2005-02-19 21:26:02 +00:00
martti a023cb1d19 Upgraded IPFilter to 4.1.5 2005-02-08 07:01:52 +00:00
martti 4d6a62d250 Import IPFilter 4.1.5 2005-02-08 06:52:59 +00:00
perry dd334ae584 de-__P, remove obsolete "register" declarations. 2005-02-06 06:05:18 +00:00
martti 52e16f3d20 Use correct checksum (approved by darrenr). 2005-01-06 12:20:35 +00:00
yamt d9a63ae94a flush stdout before switching output to stderr. 2004-10-25 20:35:40 +00:00
yamt a2e8d4b465 short results are not fatal. 2004-10-25 20:34:50 +00:00
yamt 9351f524bd redo the previous (rev.1.2) differently. use t modifier. 2004-10-07 10:29:46 +00:00
he 132a99257c Cast a pointer difference to int before printing with %x.
Should fix build problem for our LP64 ports.
2004-10-04 22:33:16 +00:00
yamt fc9b8f9a4f test getdents(2). currently fail on nfs. 2004-10-03 12:35:15 +00:00
martti 7ff15b917f Upgraded IPFilter to 4.1.3 2004-07-23 05:39:03 +00:00
martti 9e82a8bf0d Import IPFilter 4.1.3 2004-07-23 05:33:55 +00:00
yamt 6d5c6db5cf a test for kern_sa.c rev.1.52. 2004-07-06 12:28:20 +00:00
jmc f648d12d47 Add missing NetBSD ID tags 2004-06-30 03:26:26 +00:00
martti 621e9bac7f Sync with official IPFilter 2004-03-28 09:01:26 +00:00
martti ad9b29ed97 Import IPFilter 4.1.1 2004-03-28 08:55:20 +00:00
thorpej 1cda93b426 Use the new RAS_*() macros. 2004-03-03 21:06:07 +00:00
yamt 6c726a105b tweak a test to detect a bug described in kern/24595 from Stephan Uphoff. 2004-03-02 10:13:13 +00:00
drochner 40bcd2aa76 MACHINE_ARCH is x86_64 for amd64; noticed by Nicolas Joly 2004-02-19 18:25:56 +00:00
drochner 8f89c664eb enable stack_noexec where a non-executable stack is supported 2004-02-19 16:56:52 +00:00
drochner 8d4559c4ee Use tramptest.c on GNU_ARCHs where stack trampolines are emitted
(based on grep'ing gcc /config), and a dummy otherwise.
2004-02-19 16:55:30 +00:00
drochner 9b4a0e83fc After reading manpages, and feedback by Chuck Silvers, change this
test to expect SIGSEGV if code execution on the stack is attempted.
Also use SA_SIGINFO and check si_code for SEGV_ACCERR.
2004-02-19 16:49:43 +00:00
yamt cb8d483e24 add function prototypes. 2004-02-15 12:50:38 +00:00
yamt 0c12e11dfc use different values for each run to fill the mmaped region. 2004-02-15 12:49:27 +00:00
yamt 88bdc13921 a simple test of uvm page loanout. 2004-02-15 12:20:26 +00:00
jonathan 9c301eca05 Removed by request of Theo Deraadt <deraadt@cvs.openbsd.org>, pending
further resolution or re-implementation.
2004-01-21 03:01:16 +00:00
jonathan 70c91c4341 Add NetBSD RSSid. 2004-01-21 02:14:14 +00:00
jonathan d222896fe4 Opencrypto "cryptotest" tool, from FreeBSD 4.8, courtesy of Sam
Leffler.  Sam obtained the original code from OpenBSD, attributed
largely to Theo Deraadt.
2004-01-21 02:06:25 +00:00
martin 8625845ca6 Nuke all userland uses of __HAVE_RAS in favor of runtime detection. 2004-01-18 16:47:06 +00:00
martin 9bff0c1a82 Remove previous makefile hack (disabling optimization) and add
__insn_barrier()s instead.
2004-01-07 19:42:22 +00:00
martin 266b7c2701 Avoid optimizations that move common code out of the RAS.
The compiler does not understand RAS, so it makes wrong assumptions
about the lifetime of register values.
2004-01-06 21:40:57 +00:00
martin 0d9a131abe On archictectures not supporting RAS make this regression tests
print a message to that effect and let them pass.
2004-01-02 22:16:43 +00:00
drochner 7e4c34eca1 Add a check whether the stack is executable when needed, and one whether
the stack is non-executable if not explicitely enabled.
The latter one is not enabled in the Makefile yet because it cannot
succeed on platforms where the non-exec stack is not implemented.
Both checks rely on the fact that gcc puts trampoline onto the stack
for nested functions. On platforms where no such trampolines are used,
no meaningful results can be expected.
While not perfect, this is much easier than hand-coding trampolines for
each CPU type.
2003-12-10 13:24:59 +00:00
yamt f1e9f5f0af less magic constant. 2003-11-29 19:09:21 +00:00
lukem f85d2d1c14 Use ${HOST_SH} instead of `sh'.
If necessary, pull in <bsd.sys.mk> to get the definition of HOST_SH;
Makefiles that pull in one of (most of) <bsd.*.mk> will get this anyway.
2003-10-26 07:25:33 +00:00
lukem 857ab1bdd0 use ${HOST_SH} instead of /bin/sh 2003-10-26 03:50:07 +00:00
itojun 73704c4ce4 NULL/integer mixup 2003-10-21 09:42:07 +00:00
agc 492f508473 Don't use NULL inappropriately. 2003-10-21 09:32:54 +00:00
thorpej 8655c7d7eb Add a MAP_WIRED flag to mmap(2), which causes the new mapping to be
wired as if by mlock(2).
2003-10-07 00:17:09 +00:00