Thomas Veerman
e09714ab53
Turn off block read debugs and turn on mount debugs
2011-08-22 13:24:35 +00:00
Thomas Veerman
4ee157f5ce
Report error instead panicing
2011-08-22 13:08:38 +00:00
Thomas Veerman
1f28a4b83e
Remove verbosity
2011-08-22 13:08:03 +00:00
Thomas Veerman
68011701bd
Reduce block special file (thread) lock scope
2011-08-22 11:51:29 +00:00
Thomas Veerman
55d926cbaa
Allow block special files to be file locked
2011-08-22 11:51:01 +00:00
Thomas Veerman
63a49a4b90
Add entry for ntfs-3g
2011-08-22 11:50:26 +00:00
Thomas Veerman
ae2159c371
Fix locking issues with back calls from FSes
2011-08-19 14:17:35 +00:00
Ben Gras
195190912f
malloc build fixes
2011-08-18 22:30:51 +00:00
Ben Gras
e81a0fd9c1
use minix malloc
...
. default jemalloc is not too easy to compile without threads
libraries/types
. non-default malloc has odd virtual address space binge problem
. switch to ack/minix malloc in old libc for now
2011-08-18 21:52:09 +00:00
Arun Thomas
43e574558f
tools/Makefile: tweak AVFS/APFS logic
...
-Fixes GCC/clang build issue
2011-08-18 18:54:52 +02:00
Ben Gras
88e57eee69
make time functions pass PCTS test
...
. fixes a problem in building gawk wanting to provide
its own mktime otherwise
2011-08-18 14:02:57 +00:00
Arun Thomas
27c0e801f2
Cleaner MKSYSDEBUG option
2011-08-18 15:21:29 +02:00
Ben Gras
6811647e20
mtree: skip all major-0 devices, not just (0,1)
2011-08-18 13:05:27 +00:00
Ben Gras
cc64313b80
is: stopgap for broken _USEVFS check
2011-08-17 16:27:46 +00:00
Ben Gras
f984dbba70
increase system-wide filename limit to 255
...
. move mfs-specific struct, constants to mfs/, so
mfs-specific, on-disk format structs and consts are
fully isolated from generic structs and functions
. removes de and readfs utils
2011-08-17 16:00:01 +00:00
Thomas Veerman
e2bdf44720
Update UPDATING document on how to build AVFS
2011-08-17 13:53:22 +00:00
Thomas Veerman
a18a007361
Range fix from PFS
2011-08-17 13:42:38 +00:00
Thomas Veerman
a6bd3f4a22
Merge AVFS and APFS
2011-08-17 13:40:36 +00:00
Ben Gras
ee48228aa0
pfs: fix range check
...
. debugged and fixed by Jan Wieck
2011-08-17 12:39:33 +00:00
Ben Gras
e187d30348
add mail group
2011-08-17 11:38:41 +00:00
Ben Gras
e3dafb45b4
add postfix, postgresql users
2011-08-17 08:42:59 +00:00
Evgeniy Ivanov
bc434254ea
MFS: optimize dentry acllocation.
...
When search for free slot always cache position of last allocated slot,
so next time when need to allocate new slot, we can search from that
position.
2011-08-17 08:41:35 +00:00
Ben Gras
164789226c
install: correct error message
2011-08-16 20:40:52 +00:00
Arun Thomas
593e3221fc
Rename MKDEBUG to MKSYSDEBUG
2011-08-16 22:30:10 +02:00
Ben Gras
1f198f75d7
pre-install pkg_tarup
2011-08-16 15:24:59 +00:00
Arun Thomas
40592de32d
Optionally disable kernel debug code
2011-08-16 17:18:55 +02:00
Ben Gras
4c3e216cbd
release.sh: generic package names
2011-08-15 21:46:23 +00:00
Ben Gras
2e84a3f594
release.sh: minor -L fix
2011-08-15 21:40:14 +00:00
Evgeniy Ivanov
13ded5339f
Fix ext2 dentry allocation glitch.
...
When remove dentry, check if cached position is greater than removed
one.
2011-08-15 17:33:51 +00:00
Evgeniy Ivanov
426cddbb30
Add missing put_inode().
...
Fixes bug from a9a45cddc
.
2011-08-15 16:20:06 +00:00
Ben Gras
65de5d71a9
test set build fixes for clang/gcc
2011-08-15 16:07:21 +00:00
Thomas Cort
940bbe18b6
mkdir: allow 'mkdir -p' with trailing '/'
...
Let's suppose that /usr/tmp exists and one wants /usr/tmp/a/b
If one runs "mkdir -p /usr/tmp/a/b/" (the '/' at the end is
important), then a "File exists" error comes up. Example:
$ rm -rf /usr/tmp/a
$ mkdir -p /usr/tmp/a/b/
/usr/tmp/a/b/: File exists
This breaks gcc47 installation when C++ is enabled, and this
isn't the behaviour of mkdir on NetBSD nor Linix.
This patch fixes the above issue by dropping the trailing '/'.
2011-08-15 09:14:36 +00:00
Ben Gras
58c4a9b5f4
kernel: don't use -ffreestanding
...
. workaround for clang's stdint.h __STDC_HOSTED__ test
that causes the host stdint.h to be ignored for -ffreestanding,
causing a type to be double-defined in the kernel
2011-08-13 11:04:37 +00:00
Ben Gras
ca5e8b2c2d
kernel: show segment-adjusted pagefault addr
2011-08-12 15:16:52 +00:00
Arun Thomas
7b70f548e4
minlib: Add vm_query_exit
2011-08-12 17:15:42 +02:00
Ben Gras
35cc7fbeb8
kernel: invlpg facility
...
. only use for single-page invalidations initially
. shows tiny but statistically significant performance
improvement; will be more helpful in certain VM debug
modes
2011-08-12 13:08:27 +00:00
Evgeniy Ivanov
55c6f3f507
Fix bugs in ext2 found by clang static analyzer
2011-08-12 12:38:53 +00:00
Arun Thomas
9602f63a72
pm: remove dead function
2011-08-11 17:51:27 +02:00
Evgeniy Ivanov
a9a45cddc4
Fix bugs found in MFS by clang static analyzer.
2011-08-10 20:47:16 +00:00
Ben Gras
10375d2629
don't keep minix-port.patch files in repo
...
. causes git noise, and unnecessary conflicts
. are easily generated with 'make nbsd_diff' in tools/
2011-08-10 13:38:12 +00:00
Ben Gras
cd05a95afc
recognize ccc-analyzer as gnu-style compiler
...
. for clang static analysis
2011-08-10 10:39:45 +00:00
Ben Gras
3a44cd477b
tty: handle REVIVE case on console device
...
. can happen on e.g. ^S
. reported by Stephen Hatton
2011-08-09 16:59:01 +00:00
Arun Thomas
86b061078b
Build gcov code only if MKCOVERAGE is yes
2011-08-09 10:39:33 +02:00
Arun Thomas
4dece73bf0
bsd.prog.mk: skip 'install -S' rule for GCC/clang
2011-08-08 14:18:25 +02:00
Ben Gras
4a8ceeebff
allow bind() with addr len >= sizeof(sockaddr_in)
...
. specifically, if it's struct sockaddr, which is
1 byte larger than sockaddr_in
. unbreaks some applications
. debugged and solved by Jan Wieck
2011-08-05 22:58:03 +02:00
Ben Gras
d477a9ed82
vm/ipc: only report signals when it matters to ipc
...
. ipc wants to know about processes that get
signals, so that it can break blocking ipc operations
. doing it for every single signal is wasteful
and causes the annoying 'no slot for signals' message
. this fix tells vm on a per-process basis it (ipc)
wants to be notified, i.e. only when it does any ipc calls
. move ipc config to separate config file while we're at it
2011-08-05 20:52:32 +00:00
Arun Thomas
862fb8354d
minix.ack.mk: use CPPFLAGS for ACK asm files
2011-08-05 14:16:48 +02:00
Ben Gras
c484bc1dc8
unbreak oxpcie in kernel
2011-08-04 17:26:39 +00:00
Ben Gras
1abfde0e03
remove info after #undef _POSIX_TIMERS
2011-08-04 18:11:16 +02:00
Ben Gras
3977443581
terminfo fixes
...
. add TERM=minix to builtin terms
. regenerate compiled-in compile_terms.c
. fix terminfo db path
. update termcap command
. By Antoine Leca
2011-08-04 16:50:57 +00:00