]>
Zhao Yanbai Git Server - minix.git/log
Thomas Veerman [Mon, 22 Aug 2011 15:02:13 +0000 (15:02 +0000)]
Tell VFS how many requests an FS can handle concurrently
Thomas Veerman [Mon, 22 Aug 2011 16:24:29 +0000 (16:24 +0000)]
Store and use max concurrent requests
Vivek Prakash [Sun, 14 Aug 2011 14:49:39 +0000 (14:49 +0000)]
import NetBSD mkdir
. add symlink from old location /usr/bin/mkdir for
for compatability
Thomas Veerman [Mon, 22 Aug 2011 13:44:24 +0000 (13:44 +0000)]
Increase max number of arguments
Thomas Veerman [Mon, 22 Aug 2011 13:24:35 +0000 (13:24 +0000)]
Turn off block read debugs and turn on mount debugs
Thomas Veerman [Mon, 22 Aug 2011 13:08:38 +0000 (13:08 +0000)]
Report error instead panicing
Thomas Veerman [Mon, 22 Aug 2011 13:08:03 +0000 (13:08 +0000)]
Remove verbosity
Thomas Veerman [Mon, 22 Aug 2011 11:48:16 +0000 (11:48 +0000)]
Reduce block special file (thread) lock scope
Thomas Veerman [Mon, 22 Aug 2011 11:46:58 +0000 (11:46 +0000)]
Allow block special files to be file locked
Thomas Veerman [Mon, 22 Aug 2011 10:10:03 +0000 (10:10 +0000)]
Add entry for ntfs-3g
Thomas Veerman [Fri, 19 Aug 2011 14:12:07 +0000 (14:12 +0000)]
Fix locking issues with back calls from FSes
Ben Gras [Thu, 18 Aug 2011 22:30:51 +0000 (22:30 +0000)]
malloc build fixes
Ben Gras [Thu, 18 Aug 2011 00:08:38 +0000 (00:08 +0000)]
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
Arun Thomas [Thu, 18 Aug 2011 16:06:24 +0000 (18:06 +0200)]
tools/Makefile: tweak AVFS/APFS logic
-Fixes GCC/clang build issue
Ben Gras [Thu, 18 Aug 2011 13:45:10 +0000 (13:45 +0000)]
make time functions pass PCTS test
. fixes a problem in building gawk wanting to provide
its own mktime otherwise
Arun Thomas [Thu, 18 Aug 2011 12:56:34 +0000 (14:56 +0200)]
Cleaner MKSYSDEBUG option
Ben Gras [Thu, 18 Aug 2011 13:05:27 +0000 (13:05 +0000)]
mtree: skip all major-0 devices, not just (0,1)
Ben Gras [Wed, 17 Aug 2011 16:27:46 +0000 (16:27 +0000)]
is: stopgap for broken _USEVFS check
Ben Gras [Thu, 4 Aug 2011 23:15:16 +0000 (23:15 +0000)]
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
Thomas Veerman [Wed, 17 Aug 2011 13:53:22 +0000 (13:53 +0000)]
Update UPDATING document on how to build AVFS
Thomas Veerman [Wed, 17 Aug 2011 13:42:38 +0000 (13:42 +0000)]
Range fix from PFS
Thomas Veerman [Wed, 17 Aug 2011 13:23:45 +0000 (13:23 +0000)]
Merge AVFS and APFS
Ben Gras [Fri, 5 Aug 2011 16:13:33 +0000 (16:13 +0000)]
pfs: fix range check
. debugged and fixed by Jan Wieck
Ben Gras [Wed, 17 Aug 2011 11:38:41 +0000 (11:38 +0000)]
add mail group
Ben Gras [Mon, 15 Aug 2011 17:33:11 +0000 (17:33 +0000)]
add postfix, postgresql users
Evgeniy Ivanov [Thu, 11 Aug 2011 15:12:07 +0000 (19:12 +0400)]
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.
Ben Gras [Tue, 16 Aug 2011 20:40:52 +0000 (20:40 +0000)]
install: correct error message
Arun Thomas [Tue, 16 Aug 2011 19:48:03 +0000 (21:48 +0200)]
Rename MKDEBUG to MKSYSDEBUG
Ben Gras [Tue, 16 Aug 2011 15:22:48 +0000 (15:22 +0000)]
pre-install pkg_tarup
Arun Thomas [Tue, 16 Aug 2011 15:18:55 +0000 (17:18 +0200)]
Optionally disable kernel debug code
Ben Gras [Mon, 15 Aug 2011 21:46:23 +0000 (21:46 +0000)]
release.sh: generic package names
Ben Gras [Mon, 15 Aug 2011 21:40:14 +0000 (21:40 +0000)]
release.sh: minor -L fix
Evgeniy Ivanov [Thu, 11 Aug 2011 18:48:26 +0000 (22:48 +0400)]
Fix ext2 dentry allocation glitch.
When remove dentry, check if cached position is greater than removed
one.
Evgeniy Ivanov [Fri, 12 Aug 2011 17:40:52 +0000 (21:40 +0400)]
Add missing put_inode().
Fixes bug from
a9a45cddc .
Ben Gras [Sun, 14 Aug 2011 12:35:55 +0000 (12:35 +0000)]
test set build fixes for clang/gcc
Thomas Cort [Sun, 14 Aug 2011 12:41:39 +0000 (12:41 +0000)]
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 '/'.
Ben Gras [Fri, 12 Aug 2011 20:59:23 +0000 (20:59 +0000)]
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
Ben Gras [Fri, 12 Aug 2011 14:14:48 +0000 (14:14 +0000)]
kernel: show segment-adjusted pagefault addr
Arun Thomas [Fri, 12 Aug 2011 15:05:08 +0000 (17:05 +0200)]
minlib: Add vm_query_exit
Ben Gras [Mon, 1 Aug 2011 13:35:34 +0000 (15:35 +0200)]
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
Evgeniy Ivanov [Wed, 10 Aug 2011 20:56:44 +0000 (20:56 +0000)]
Fix bugs in ext2 found by clang static analyzer
Arun Thomas [Thu, 11 Aug 2011 15:45:20 +0000 (17:45 +0200)]
pm: remove dead function
Evgeniy Ivanov [Wed, 10 Aug 2011 20:46:33 +0000 (20:46 +0000)]
Fix bugs found in MFS by clang static analyzer.
Ben Gras [Wed, 10 Aug 2011 13:37:20 +0000 (13:37 +0000)]
don't keep minix-port.patch files in repo
. causes git noise, and unnecessary conflicts
. are easily generated with 'make nbsd_diff' in tools/
Ben Gras [Wed, 10 Aug 2011 10:39:45 +0000 (10:39 +0000)]
recognize ccc-analyzer as gnu-style compiler
. for clang static analysis
Ben Gras [Tue, 9 Aug 2011 16:59:01 +0000 (16:59 +0000)]
tty: handle REVIVE case on console device
. can happen on e.g. ^S
. reported by Stephen Hatton
Arun Thomas [Tue, 9 Aug 2011 08:39:33 +0000 (10:39 +0200)]
Build gcov code only if MKCOVERAGE is yes
Arun Thomas [Mon, 8 Aug 2011 12:04:58 +0000 (14:04 +0200)]
bsd.prog.mk: skip 'install -S' rule for GCC/clang
Ben Gras [Fri, 5 Aug 2011 20:55:57 +0000 (20:55 +0000)]
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
Ben Gras [Thu, 4 Aug 2011 23:52:03 +0000 (23:52 +0000)]
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
Arun Thomas [Fri, 5 Aug 2011 11:59:44 +0000 (13:59 +0200)]
minix.ack.mk: use CPPFLAGS for ACK asm files
Ben Gras [Wed, 13 Jul 2011 18:14:19 +0000 (20:14 +0200)]
unbreak oxpcie in kernel
Ben Gras [Thu, 4 Aug 2011 16:11:16 +0000 (18:11 +0200)]
remove info after #undef _POSIX_TIMERS
Ben Gras [Thu, 4 Aug 2011 01:02:02 +0000 (01:02 +0000)]
terminfo fixes
. add TERM=minix to builtin terms
. regenerate compiled-in compile_terms.c
. fix terminfo db path
. update termcap command
. By Antoine Leca
Ben Gras [Wed, 3 Aug 2011 10:53:01 +0000 (12:53 +0200)]
release.sh: fix -l, add -L option for local packages
. by Jan Wieck
Ben Gras [Wed, 3 Aug 2011 10:51:28 +0000 (12:51 +0200)]
added missing m_closefrom.c
Ben Gras [Tue, 2 Aug 2011 17:22:08 +0000 (19:22 +0200)]
getsid() implementation
Ben Gras [Tue, 2 Aug 2011 17:21:29 +0000 (19:21 +0200)]
closefrom() as library call
Arun Thomas [Tue, 2 Aug 2011 13:24:47 +0000 (15:24 +0200)]
kernel: don't build cprofile code by default
Arun Thomas [Tue, 2 Aug 2011 11:57:31 +0000 (13:57 +0200)]
Add MKMCONTEXT option
Ben Gras [Wed, 27 Jul 2011 10:34:50 +0000 (12:34 +0200)]
rename -lutil to -lminixutil
. in preparation for netbsd -lutil
Ben Gras [Mon, 1 Aug 2011 11:17:47 +0000 (13:17 +0200)]
don't define _POSIX_TIMERS
Arun Thomas [Mon, 1 Aug 2011 09:05:17 +0000 (11:05 +0200)]
MKEMBED is now MKSMALL
Arun Thomas [Sun, 31 Jul 2011 14:20:34 +0000 (16:20 +0200)]
Add MKAPIC and MKACPI options
Arun Thomas [Sat, 30 Jul 2011 11:14:00 +0000 (13:14 +0200)]
ramdisk: For MKEMBED, skip ext2, achi, and acpi
Arun Thomas [Fri, 29 Jul 2011 18:36:42 +0000 (20:36 +0200)]
Add MKWATCHDOG option
Ben Gras [Thu, 28 Jul 2011 15:12:57 +0000 (17:12 +0200)]
add /var/tmp/ for groff
Ben Gras [Wed, 22 Jun 2011 15:22:57 +0000 (17:22 +0200)]
libvassert: vmware VAssert support.
- BSD-licensed Code gratefully taken from the project at
http://en.sourceforge.jp/projects/sfnet_vassertlinuxsdk/
- For more information on vmware VAssert, a powerful debugging
facility usable under vmware, see:
www.vmware.com/pdf/ws65_vassert_programming.pdf
Ben Gras [Wed, 27 Jul 2011 16:01:44 +0000 (18:01 +0200)]
mk: single mk fragment for new libc
. allow commands to use it by setting NEED_NBSDLIBC
. also add mkfiles to clean and cleandepend so they
don't break on missing new mkfiles
Arun Thomas [Wed, 27 Jul 2011 15:13:56 +0000 (17:13 +0200)]
Remove legacy swapfs utility
Thomas Veerman [Wed, 27 Jul 2011 15:49:42 +0000 (15:49 +0000)]
Add support for VFS-FS transaction IDs
Thomas Veerman [Wed, 27 Jul 2011 12:23:03 +0000 (12:23 +0000)]
Add DEV_CLONE_A dev type
Thomas Veerman [Wed, 27 Jul 2011 09:30:26 +0000 (09:30 +0000)]
Clean up mthread
Antoine Leca [Tue, 26 Jul 2011 11:49:20 +0000 (13:49 +0200)]
ash: don't rely on libc signal names
The bsd signal names are out-of-order compared to the minix ones.
I found out (the hard way) that the (MINIX-descending) ordered list of
signals in <sys/signal.h> does not match the (BSD-descending) ordered
list of signals in usr/src/lib/libc/nbsd_libc/gen/sig{name,list}.c
Beyond being unfortunate, it prevents the trap command of ash to handle
correctly a named signal; a funny test case is
#!/bin/sh
trap 'echo trapping signal BUS' BUS
trap 'echo trapping signal 10 (USR1)' 10
trap # show me what is currently trapped
As a quick workaround, I disabled the use of the libc-provided
sys_sig{name,list} arrays for ash, and reverted to the hand-made array
which is used by the less capable MINIX libc. It allowed me to use
pkgsrc.
Ben Gras [Tue, 26 Jul 2011 15:59:57 +0000 (17:59 +0200)]
add /etc/resolv.conf pointing to minix nonamed
. needed for netbsd libc dns resolution
. points to minix nonamed
. /etc/resolv.conf should have the real info
(written by netconf / dhcp client)
. nonamed should be phased out but will probably
be around for the 'old' libc
Arun Thomas [Tue, 26 Jul 2011 14:52:43 +0000 (16:52 +0200)]
test: define NETBSD_SOURCE for gcc/clang
Arun Thomas [Tue, 26 Jul 2011 13:21:07 +0000 (15:21 +0200)]
vfs/rs: for ELF, sep_id should be 0
Arun Thomas [Tue, 26 Jul 2011 11:50:57 +0000 (13:50 +0200)]
Fix test2.sh
-strings is now found in /usr/pkg/bin
Arun Thomas [Tue, 26 Jul 2011 11:33:41 +0000 (13:33 +0200)]
Remove bigmake, binsizes, packman
Arun Thomas [Tue, 26 Jul 2011 09:37:18 +0000 (11:37 +0200)]
Remove advent and ttt
Arun Thomas [Tue, 26 Jul 2011 09:26:26 +0000 (11:26 +0200)]
sys.mk: Check that MKEMBED is defined
Arun Thomas [Tue, 26 Jul 2011 06:54:32 +0000 (08:54 +0200)]
Add MKEMBED option
Arun Thomas [Mon, 25 Jul 2011 09:48:30 +0000 (11:48 +0200)]
usr.bin/Makefile: cosmetic change
-Move mkimage to list of MINIX commands
Arun Thomas [Mon, 25 Jul 2011 09:43:44 +0000 (11:43 +0200)]
Add sort to nbsd_ports list
Ben Gras [Thu, 21 Jul 2011 14:29:08 +0000 (16:29 +0200)]
import elf-only -lcurses
. abandons mixer, gomoku, talk, talkd, top from base system
. compile top with clang so no ack-compiled program
needs -lcurses any more
Vivek Prakash [Sun, 3 Jul 2011 21:20:43 +0000 (21:20 +0000)]
Replace uniq with NetBSD version
Arun Thomas [Sun, 24 Jul 2011 16:46:51 +0000 (18:46 +0200)]
Skip ACK libs building with GCC/clang
Ben Gras [Fri, 22 Jul 2011 20:10:21 +0000 (22:10 +0200)]
release.sh: jail building adjustments
Arun Thomas [Fri, 22 Jul 2011 15:59:15 +0000 (17:59 +0200)]
bsd.prog.mk: include minix.gcov.mk
Arun Thomas [Fri, 22 Jul 2011 15:28:27 +0000 (17:28 +0200)]
Import NetBSD mkdep
Ben Gras [Fri, 22 Jul 2011 13:19:40 +0000 (15:19 +0200)]
kernel: add prototype for inkernel_disaster
Ben Gras [Fri, 22 Jul 2011 13:01:44 +0000 (15:01 +0200)]
Revert "print kernel stacktrace for exceptions in kernel"
This reverts commit
eff1369cab8fc04802c43231ec8ac2445d0a29da .
This was in a working branch and I only intended to commit
exception.c. But I committed the exact inverse. Sorry.
Ben Gras [Fri, 22 Jul 2011 12:57:55 +0000 (14:57 +0200)]
world: add etcfiles
. avoids future UPDATING entries (for hierarchy extensions
necessary for make world to work)
Arun Thomas [Fri, 22 Jul 2011 12:07:04 +0000 (14:07 +0200)]
add vfork to namespace.h
Erik van der Kouwe [Fri, 22 Jul 2011 11:15:59 +0000 (13:15 +0200)]
Also compile the kernel as i586 (instead of i386)
Ben Gras [Wed, 20 Jul 2011 22:48:35 +0000 (00:48 +0200)]
print kernel stacktrace for exceptions in kernel
fpu alignment check feature, checksum feature
Ben Gras [Fri, 22 Jul 2011 10:55:04 +0000 (10:55 +0000)]
kernel: improve exception debug printing
. fold 2 exception-in-kernel cases (pagefault and rest)
into 1
. for exceptions that occur in kernel, don't just print
kernel stacktrace (typically that is just the exception
handler) but also the stacktrace of when the exception
happened
Erik van der Kouwe [Fri, 22 Jul 2011 09:59:31 +0000 (11:59 +0200)]
Avoid MMX and SSE instructions in the MINIX programs and libraries
Thomas Veerman [Fri, 22 Jul 2011 10:15:42 +0000 (10:15 +0000)]
Forgot to rename mmap to minix_mmap
Arun Thomas [Fri, 22 Jul 2011 08:55:30 +0000 (10:55 +0200)]
Add vfork() system call
-Same semantics as fork() as it's really just a stub
-Eases porting of BSD utilities