]>
Zhao Yanbai Git Server - minix.git/log
Tomas Hruby [Tue, 22 Jun 2010 12:03:09 +0000 (12:03 +0000)]
cd subdir && $(MAKE) targets -> $(MAKE) -C subdir targets
- first step towards parallel building
Kees van Reeuwijk [Tue, 22 Jun 2010 10:50:03 +0000 (10:50 +0000)]
Sort out problems with POSIX constants.
Ben Gras [Tue, 22 Jun 2010 09:40:04 +0000 (09:40 +0000)]
forget about multiple zeros on non-ack compiler, tracker item 457
Ben Gras [Tue, 22 Jun 2010 09:38:20 +0000 (09:38 +0000)]
minix netbsd diff
Ben Gras [Tue, 22 Jun 2010 09:31:16 +0000 (09:31 +0000)]
add LC_MESSAGES
Ben Gras [Tue, 22 Jun 2010 09:30:52 +0000 (09:30 +0000)]
new stdbool.h
Ben Gras [Tue, 22 Jun 2010 09:30:26 +0000 (09:30 +0000)]
includes: small fixes and additions to help compiling programs.
Ben Gras [Tue, 22 Jun 2010 00:47:52 +0000 (00:47 +0000)]
original openbsd diff
Ben Gras [Tue, 22 Jun 2010 00:46:55 +0000 (00:46 +0000)]
no more minix diff
Ben Gras [Tue, 22 Jun 2010 00:44:20 +0000 (00:44 +0000)]
no more minix sed, patch man pages
Ben Gras [Tue, 22 Jun 2010 00:41:23 +0000 (00:41 +0000)]
minix patch port
Ben Gras [Tue, 22 Jun 2010 00:41:00 +0000 (00:41 +0000)]
original netbsd patch
Ben Gras [Tue, 22 Jun 2010 00:39:57 +0000 (00:39 +0000)]
no more minix patch
Ben Gras [Tue, 22 Jun 2010 00:36:21 +0000 (00:36 +0000)]
netbsd sed for minix
Ben Gras [Tue, 22 Jun 2010 00:33:14 +0000 (00:33 +0000)]
original netbsd sed
Ben Gras [Tue, 22 Jun 2010 00:32:21 +0000 (00:32 +0000)]
no more minix sed.
Ben Gras [Mon, 21 Jun 2010 18:25:04 +0000 (18:25 +0000)]
mfs: minor cleanup of readahead: they can be private to read.c.
Erik van der Kouwe [Mon, 21 Jun 2010 17:08:37 +0000 (17:08 +0000)]
Recognize Intel 82558B, contributed by Sergei Antonov
Ben Gras [Mon, 21 Jun 2010 14:42:53 +0000 (14:42 +0000)]
no more minix grep man pages.
Ben Gras [Sun, 20 Jun 2010 12:32:41 +0000 (12:32 +0000)]
force gcc to look in ../../../include before /usr/local/include
Ben Gras [Sun, 20 Jun 2010 12:31:55 +0000 (12:31 +0000)]
grep: unsigned chars to fix gcc warnings.
Ben Gras [Sun, 20 Jun 2010 11:55:19 +0000 (11:55 +0000)]
fixes for minix grep
Ben Gras [Sun, 20 Jun 2010 11:54:40 +0000 (11:54 +0000)]
original openbsd grep (freegrep)
Ben Gras [Sun, 20 Jun 2010 11:54:03 +0000 (11:54 +0000)]
oops, that was the minx grep port; undo previous commit.
Ben Gras [Sun, 20 Jun 2010 11:49:38 +0000 (11:49 +0000)]
original openbsd freegrep
Ben Gras [Sun, 20 Jun 2010 11:48:00 +0000 (11:48 +0000)]
remove minix greps.
Ben Gras [Sun, 20 Jun 2010 11:46:50 +0000 (11:46 +0000)]
fgetln() prototype
Erik van der Kouwe [Sun, 20 Jun 2010 07:30:53 +0000 (07:30 +0000)]
Fix unlikely race (or crawl?) condition in case going from alarm to ioctl takes more than 1 second
Erik van der Kouwe [Sun, 20 Jun 2010 06:39:23 +0000 (06:39 +0000)]
Packman also recognizes package names with no or partial version number
Ben Gras [Sun, 20 Jun 2010 00:24:35 +0000 (00:24 +0000)]
lib: getproname: only return last path component
Ben Gras [Sun, 20 Jun 2010 00:24:11 +0000 (00:24 +0000)]
lib: no visibility features; fixes gcc warnings
Ben Gras [Fri, 18 Jun 2010 14:03:13 +0000 (14:03 +0000)]
getprogname(), setprogname() prototypes
Ben Gras [Fri, 18 Jun 2010 14:02:00 +0000 (14:02 +0000)]
libraries: fgetln() from pkgsrc branch.
Tomas Hruby [Fri, 18 Jun 2010 14:01:34 +0000 (14:01 +0000)]
Cycle counters zeroed after fork for the child
Erik van der Kouwe [Fri, 18 Jun 2010 13:49:07 +0000 (13:49 +0000)]
Don't allow PM to sys_kill itself, this causes a race with RS calling waitpid during shutdown
Tomas Hruby [Fri, 18 Jun 2010 12:46:18 +0000 (12:46 +0000)]
Removed racy COW optimization
- enabling writing in COW once phys block is reference only once is racy if VM
is preemptible. original memory location may get overwritten before COW copies
the memory
- problem when DEBUG_RACE is on and a big problem for SMP
Cristiano Giuffrida [Fri, 18 Jun 2010 12:04:20 +0000 (12:04 +0000)]
Don't forget about pending signals coming from the kernel.
Arun Thomas [Thu, 17 Jun 2010 15:14:57 +0000 (15:14 +0000)]
We have sys/cdefs.h now, so remove hacks.
Ben Gras [Thu, 17 Jun 2010 15:05:20 +0000 (15:05 +0000)]
zlib includes in lib/libz, install them too in /usr/include from toplevel makefile.
Ben Gras [Thu, 17 Jun 2010 13:29:20 +0000 (13:29 +0000)]
libraries, includes: libz: original libz source files with minix makefile.
Erik van der Kouwe [Thu, 17 Jun 2010 12:14:33 +0000 (12:14 +0000)]
Work around vfs/inet/eth race by avoiding non-blocking ioctl in dhcpd
Erik van der Kouwe [Thu, 17 Jun 2010 12:00:55 +0000 (12:00 +0000)]
bzip2 is now the default for releases
David van Moolenbroek [Wed, 16 Jun 2010 09:33:11 +0000 (09:33 +0000)]
ash: expr -e support
Ben Gras [Mon, 14 Jun 2010 20:33:14 +0000 (20:33 +0000)]
<sys/mman.h>: include <minix/type.h> instead of <minix/types.h> for endpoint_t
Ben Gras [Mon, 14 Jun 2010 20:31:52 +0000 (20:31 +0000)]
binpackage: let's use the find -prune option to skip hierarchies.
David van Moolenbroek [Sun, 13 Jun 2010 10:40:22 +0000 (10:40 +0000)]
libdriver: make partition code use a contiguous buffer
Arun Thomas [Fri, 11 Jun 2010 16:05:36 +0000 (16:05 +0000)]
Makefile updates:
Turn on optimization
Remove some redundancy in FLAGS
Ben Gras [Fri, 11 Jun 2010 11:41:56 +0000 (11:41 +0000)]
vfs: don't use a mountpoint if it's in use for anything else.
(this avoids data structure confusion if a mountpoint is reused as
a mountpoint until that's properly fixed.)
Thomas Veerman [Fri, 11 Jun 2010 11:17:31 +0000 (11:17 +0000)]
Fix wrong field for stack address and a typo.
Thomas Veerman [Fri, 11 Jun 2010 11:03:47 +0000 (11:03 +0000)]
Also install getcontext and makecontext man pages
Tomas Hruby [Fri, 11 Jun 2010 08:16:10 +0000 (08:16 +0000)]
No linear addresses in message delivery
- removes p_delivermsg_lin item from the process structure and code
related to it
- as the send part, the receive does not need to use the
PHYS_COPY_CATCH() and umap_local() couple.
- The address space of the target process is installed before
delivermsg() is called.
- unlike the linear address, the virtual address does not change when
paging is turned on nor after fork().
Arun Thomas [Thu, 10 Jun 2010 14:59:10 +0000 (14:59 +0000)]
Make exec() use entry point in a.out header
Arun Thomas [Thu, 10 Jun 2010 14:04:46 +0000 (14:04 +0000)]
More cleanup to remove MM and FS references
David van Moolenbroek [Thu, 10 Jun 2010 11:14:36 +0000 (11:14 +0000)]
Change default hostname resolution order
Hostnames that contain at least one period, are now first attempted
to be resolved as FQDNs, before adding local domains is tried.
Erik van der Kouwe [Thu, 10 Jun 2010 11:14:04 +0000 (11:14 +0000)]
Remove dependency of release.sh on bc, du option to give overhead totals
Erik van der Kouwe [Wed, 9 Jun 2010 14:32:19 +0000 (14:32 +0000)]
release.sh: avoid egrep -x which the base system doesn't support
Arun Thomas [Wed, 9 Jun 2010 14:31:30 +0000 (14:31 +0000)]
Rename tell_fs to tell_vfs
Ben Gras [Wed, 9 Jun 2010 14:02:35 +0000 (14:02 +0000)]
issue.install: 3.1.8
Ben Gras [Wed, 9 Jun 2010 13:01:11 +0000 (13:01 +0000)]
lib: declarations that needed ANSIfication since prototypes are declared
Ben Gras [Wed, 9 Jun 2010 12:58:03 +0000 (12:58 +0000)]
ash: getmode in global includes now
Ben Gras [Wed, 9 Jun 2010 12:53:51 +0000 (12:53 +0000)]
find: fix warnings + error
Ben Gras [Wed, 9 Jun 2010 12:53:09 +0000 (12:53 +0000)]
inlcude: new prototypes
Ben Gras [Wed, 9 Jun 2010 12:30:25 +0000 (12:30 +0000)]
man: no more minix find manpage
Ben Gras [Wed, 9 Jun 2010 12:27:36 +0000 (12:27 +0000)]
commands: import of netbsd find
Ben Gras [Wed, 9 Jun 2010 12:19:38 +0000 (12:19 +0000)]
commands/find: original netbsd find
Ben Gras [Wed, 9 Jun 2010 12:17:42 +0000 (12:17 +0000)]
commands, man: remove minix find
Ben Gras [Wed, 9 Jun 2010 12:11:56 +0000 (12:11 +0000)]
ash: remove setmode() declaration from shell.h, now in library
Ben Gras [Wed, 9 Jun 2010 12:11:33 +0000 (12:11 +0000)]
unistd.h: add setmode() prototype.
Ben Gras [Wed, 9 Jun 2010 12:11:13 +0000 (12:11 +0000)]
err.h: include prototypes for new err* and warn* functions.
Ben Gras [Wed, 9 Jun 2010 12:10:31 +0000 (12:10 +0000)]
crtso.S: save *argv[] and argc globally, to be used by getprogname().
Ben Gras [Wed, 9 Jun 2010 12:09:39 +0000 (12:09 +0000)]
libc: minor minix changes for new netbsd files
Ben Gras [Wed, 9 Jun 2010 12:08:32 +0000 (12:08 +0000)]
libc: add original netbsd files
Ben Gras [Wed, 9 Jun 2010 12:05:53 +0000 (12:05 +0000)]
libutil: minix efun.c
Ben Gras [Wed, 9 Jun 2010 12:05:04 +0000 (12:05 +0000)]
libutil: original netbsd efun.c
Ben Gras [Wed, 9 Jun 2010 12:03:19 +0000 (12:03 +0000)]
includes: minix <util.h>
Ben Gras [Wed, 9 Jun 2010 12:02:20 +0000 (12:02 +0000)]
includes: original netbsd <util.h>
Thomas Veerman [Wed, 9 Jun 2010 11:05:16 +0000 (11:05 +0000)]
Turn off debug message.
Ben Gras [Wed, 9 Jun 2010 10:59:57 +0000 (10:59 +0000)]
kernel: fix assert condition after a caught in-kernel pagefault
Thomas Veerman [Wed, 9 Jun 2010 09:56:43 +0000 (09:56 +0000)]
Fix a bug in put_inode that causes corruption to the file system and another
bug that causes problems when files grow bigger than a certain threshold. Also
fix a few type and code inconsistencies.
Tomas Hruby [Wed, 9 Jun 2010 09:14:53 +0000 (09:14 +0000)]
int to endpoint_t conversions in mmap
Ben Gras [Tue, 8 Jun 2010 19:11:42 +0000 (19:11 +0000)]
lib: move tzfile.h from lib/libc/stdtime/ to include/ for general usage.
Kees van Reeuwijk [Tue, 8 Jun 2010 14:09:18 +0000 (14:09 +0000)]
More endpoint_t correctness.
More const correctness.
Other code cleanup.
Arun Thomas [Tue, 8 Jun 2010 13:58:01 +0000 (13:58 +0000)]
Remove legacy MM, FS, and FS_PROC_NR macros
Erik van der Kouwe [Tue, 8 Jun 2010 13:38:44 +0000 (13:38 +0000)]
Remove redundant macro cproc_addr
Erik van der Kouwe [Tue, 8 Jun 2010 12:04:21 +0000 (12:04 +0000)]
Add endpoint checks in scheduling kernel calls
Ben Gras [Tue, 8 Jun 2010 01:04:52 +0000 (01:04 +0000)]
support for ukranian (charse koi8-u) contributed by Roman Ignatov.
Ben Gras [Tue, 8 Jun 2010 00:59:48 +0000 (00:59 +0000)]
vm: junkfree feature that fills freed pages with a recognizable pattern.
Ben Gras [Mon, 7 Jun 2010 22:21:45 +0000 (22:21 +0000)]
kernel: fix for vm_init that triggered assert(ptproc == newptproc)
- zero cr3 in vm_init() to avoid switch_address_space() not doing anything.
- add vm_stop() to disable paging on shutdown.
Ben Gras [Mon, 7 Jun 2010 16:30:10 +0000 (16:30 +0000)]
e1000: map in 0x1000 of flash if 0x10000 fails.
Ben Gras [Mon, 7 Jun 2010 15:57:14 +0000 (15:57 +0000)]
version: trunk will become 3.1.8.
Thomas Veerman [Mon, 7 Jun 2010 13:46:05 +0000 (13:46 +0000)]
Fix typo
Ben Gras [Mon, 7 Jun 2010 10:10:27 +0000 (10:10 +0000)]
tools: fix installing includes.
Tomas Hruby [Mon, 7 Jun 2010 07:43:17 +0000 (07:43 +0000)]
Lazy FPU
- FPU context is stored only if conflict between 2 FPU users or while
exporting context of a process to userspace while it is the active
user of FPU
- FPU has its owner (fpu_owner) which points to the process whose
state is currently loaded in FPU
- the FPU exception is only turned on when scheduling a process which
is not the owner of FPU
- FPU state is restored for the process that generated the FPU
exception. This process runs immediately without letting scheduler
to pick a new process to resolve the FPU conflict asap, to minimize
the FPU thrashing and FPU exception hadler execution
- faster all non-FPU-exception kernel entries as FPU state is not
checked nor saved
- removed MF_USED_FPU flag, only MF_FPU_INITIALIZED remains to signal
that a process has used FPU in the past
Arun Thomas [Sat, 5 Jun 2010 14:39:40 +0000 (14:39 +0000)]
VM: Remove legacy non-paging code paths
Erik van der Kouwe [Sat, 5 Jun 2010 13:25:41 +0000 (13:25 +0000)]
Enter package names in packman
Cristiano Giuffrida [Fri, 4 Jun 2010 18:08:15 +0000 (18:08 +0000)]
Put initialization code where it belongs.
Cristiano Giuffrida [Fri, 4 Jun 2010 18:05:38 +0000 (18:05 +0000)]
Fix range checking in safecopy.
Arun Thomas [Fri, 4 Jun 2010 12:36:40 +0000 (12:36 +0000)]
Remove gcc-4.1.1 from packages list
Tomas Hruby [Fri, 4 Jun 2010 10:54:43 +0000 (10:54 +0000)]
Removed a buggy assert unintentionally commted in r7044
Erik van der Kouwe [Fri, 4 Jun 2010 05:09:44 +0000 (05:09 +0000)]
This patch changes the release script in the following ways:
- A staging directory is always used to avoid oversized images;
- As a consequence, the zero-filling is removed so no more "out of
space" errors should be printed to the console;
- The root and usr partition sizes are computed so less space should be
wasted (the root partition gets extra 1MB zones and 64 inodes for
run-time though and hardlinks/holes make the used space slightly less
than expected); USRMB (and the new ROOTMB) are now used to enforce
a minimum size rather than set the size;
- TMPDISK1-3 are renamed to more meaningful names (and TMPDISK2 is
dropped because a separate tmp directory is no longer needed);
- The ramdisks are truncated at the end to save memory (not sure
whether it is actually released though).