]> Zhao Yanbai Git Server - minix.git/log
minix.git
14 years agoSort out problems with POSIX constants.
Kees van Reeuwijk [Tue, 22 Jun 2010 10:50:03 +0000 (10:50 +0000)]
Sort out problems with POSIX constants.

14 years agoforget about multiple zeros on non-ack compiler, tracker item 457
Ben Gras [Tue, 22 Jun 2010 09:40:04 +0000 (09:40 +0000)]
forget about multiple zeros on non-ack compiler, tracker item 457

14 years agominix netbsd diff
Ben Gras [Tue, 22 Jun 2010 09:38:20 +0000 (09:38 +0000)]
minix netbsd diff

14 years agoadd LC_MESSAGES
Ben Gras [Tue, 22 Jun 2010 09:31:16 +0000 (09:31 +0000)]
add LC_MESSAGES

14 years agonew stdbool.h
Ben Gras [Tue, 22 Jun 2010 09:30:52 +0000 (09:30 +0000)]
new stdbool.h

14 years agoincludes: small fixes and additions to help compiling programs.
Ben Gras [Tue, 22 Jun 2010 09:30:26 +0000 (09:30 +0000)]
includes: small fixes and additions to help compiling programs.

14 years agooriginal openbsd diff
Ben Gras [Tue, 22 Jun 2010 00:47:52 +0000 (00:47 +0000)]
original openbsd diff

14 years agono more minix diff
Ben Gras [Tue, 22 Jun 2010 00:46:55 +0000 (00:46 +0000)]
no more minix diff

14 years agono more minix sed, patch man pages
Ben Gras [Tue, 22 Jun 2010 00:44:20 +0000 (00:44 +0000)]
no more minix sed, patch man pages

14 years agominix patch port
Ben Gras [Tue, 22 Jun 2010 00:41:23 +0000 (00:41 +0000)]
minix patch port

14 years agooriginal netbsd patch
Ben Gras [Tue, 22 Jun 2010 00:41:00 +0000 (00:41 +0000)]
original netbsd patch

14 years agono more minix patch
Ben Gras [Tue, 22 Jun 2010 00:39:57 +0000 (00:39 +0000)]
no more minix patch

14 years agonetbsd sed for minix
Ben Gras [Tue, 22 Jun 2010 00:36:21 +0000 (00:36 +0000)]
netbsd sed for minix

14 years agooriginal netbsd sed
Ben Gras [Tue, 22 Jun 2010 00:33:14 +0000 (00:33 +0000)]
original netbsd sed

14 years agono more minix sed.
Ben Gras [Tue, 22 Jun 2010 00:32:21 +0000 (00:32 +0000)]
no more minix sed.

14 years agomfs: minor cleanup of readahead: they can be private to read.c.
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.

14 years agoRecognize Intel 82558B, contributed by Sergei Antonov
Erik van der Kouwe [Mon, 21 Jun 2010 17:08:37 +0000 (17:08 +0000)]
Recognize Intel 82558B, contributed by Sergei Antonov

14 years agono more minix grep man pages.
Ben Gras [Mon, 21 Jun 2010 14:42:53 +0000 (14:42 +0000)]
no more minix grep man pages.

14 years agoforce gcc to look in ../../../include before /usr/local/include
Ben Gras [Sun, 20 Jun 2010 12:32:41 +0000 (12:32 +0000)]
force gcc to look in ../../../include before /usr/local/include

14 years agogrep: unsigned chars to fix gcc warnings.
Ben Gras [Sun, 20 Jun 2010 12:31:55 +0000 (12:31 +0000)]
grep: unsigned chars to fix gcc warnings.

14 years agofixes for minix grep
Ben Gras [Sun, 20 Jun 2010 11:55:19 +0000 (11:55 +0000)]
fixes for minix grep

14 years agooriginal openbsd grep (freegrep)
Ben Gras [Sun, 20 Jun 2010 11:54:40 +0000 (11:54 +0000)]
original openbsd grep (freegrep)

14 years agooops, that was the minx grep port; undo previous commit.
Ben Gras [Sun, 20 Jun 2010 11:54:03 +0000 (11:54 +0000)]
oops, that was the minx grep port; undo previous commit.

14 years agooriginal openbsd freegrep
Ben Gras [Sun, 20 Jun 2010 11:49:38 +0000 (11:49 +0000)]
original openbsd freegrep

14 years agoremove minix greps.
Ben Gras [Sun, 20 Jun 2010 11:48:00 +0000 (11:48 +0000)]
remove minix greps.

14 years agofgetln() prototype
Ben Gras [Sun, 20 Jun 2010 11:46:50 +0000 (11:46 +0000)]
fgetln() prototype

14 years agoFix unlikely race (or crawl?) condition in case going from alarm to ioctl takes more...
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

14 years agoPackman also recognizes package names with no or partial version number
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

14 years agolib: getproname: only return last path component
Ben Gras [Sun, 20 Jun 2010 00:24:35 +0000 (00:24 +0000)]
lib: getproname: only return last path component

14 years agolib: no visibility features; fixes gcc warnings
Ben Gras [Sun, 20 Jun 2010 00:24:11 +0000 (00:24 +0000)]
lib: no visibility features; fixes gcc warnings

14 years agogetprogname(), setprogname() prototypes
Ben Gras [Fri, 18 Jun 2010 14:03:13 +0000 (14:03 +0000)]
getprogname(), setprogname() prototypes

14 years agolibraries: fgetln() from pkgsrc branch.
Ben Gras [Fri, 18 Jun 2010 14:02:00 +0000 (14:02 +0000)]
libraries: fgetln() from pkgsrc branch.

14 years agoCycle counters zeroed after fork for the child
Tomas Hruby [Fri, 18 Jun 2010 14:01:34 +0000 (14:01 +0000)]
Cycle counters zeroed after fork for the child

14 years agoDon't allow PM to sys_kill itself, this causes a race with RS calling waitpid during...
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

14 years agoRemoved racy COW optimization
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

14 years agoDon't forget about pending signals coming from the kernel.
Cristiano Giuffrida [Fri, 18 Jun 2010 12:04:20 +0000 (12:04 +0000)]
Don't forget about pending signals coming from the kernel.

14 years agoWe have sys/cdefs.h now, so remove hacks.
Arun Thomas [Thu, 17 Jun 2010 15:14:57 +0000 (15:14 +0000)]
We have sys/cdefs.h now, so remove hacks.

14 years agozlib includes in lib/libz, install them too in /usr/include from toplevel makefile.
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.

14 years agolibraries, includes: libz: original libz source files with minix makefile.
Ben Gras [Thu, 17 Jun 2010 13:29:20 +0000 (13:29 +0000)]
libraries, includes: libz: original libz source files with minix makefile.

14 years agoWork around vfs/inet/eth race by avoiding non-blocking ioctl in dhcpd
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

14 years agobzip2 is now the default for releases
Erik van der Kouwe [Thu, 17 Jun 2010 12:00:55 +0000 (12:00 +0000)]
bzip2 is now the default for releases

14 years agoash: expr -e support
David van Moolenbroek [Wed, 16 Jun 2010 09:33:11 +0000 (09:33 +0000)]
ash: expr -e support

14 years ago<sys/mman.h>: include <minix/type.h> instead of <minix/types.h> for endpoint_t
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

14 years agobinpackage: let's use the find -prune option to skip hierarchies.
Ben Gras [Mon, 14 Jun 2010 20:31:52 +0000 (20:31 +0000)]
binpackage: let's use the find -prune option to skip hierarchies.

14 years agolibdriver: make partition code use a contiguous buffer
David van Moolenbroek [Sun, 13 Jun 2010 10:40:22 +0000 (10:40 +0000)]
libdriver: make partition code use a contiguous buffer

14 years agoMakefile updates:
Arun Thomas [Fri, 11 Jun 2010 16:05:36 +0000 (16:05 +0000)]
Makefile updates:

Turn on optimization
Remove some redundancy in FLAGS

14 years agovfs: don't use a mountpoint if it's in use for anything else.
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.)

14 years agoFix wrong field for stack address and a typo.
Thomas Veerman [Fri, 11 Jun 2010 11:17:31 +0000 (11:17 +0000)]
Fix wrong field for stack address and a typo.

14 years agoAlso install getcontext and makecontext man pages
Thomas Veerman [Fri, 11 Jun 2010 11:03:47 +0000 (11:03 +0000)]
Also install getcontext and makecontext man pages

14 years agoNo linear addresses in message delivery
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().

14 years agoMake exec() use entry point in a.out header
Arun Thomas [Thu, 10 Jun 2010 14:59:10 +0000 (14:59 +0000)]
Make exec() use entry point in a.out header

14 years agoMore cleanup to remove MM and FS references
Arun Thomas [Thu, 10 Jun 2010 14:04:46 +0000 (14:04 +0000)]
More cleanup to remove MM and FS references

14 years agoChange default hostname resolution order
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.

14 years agoRemove dependency of release.sh on bc, du option to give overhead totals
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

14 years agorelease.sh: avoid egrep -x which the base system doesn't support
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

14 years agoRename tell_fs to tell_vfs
Arun Thomas [Wed, 9 Jun 2010 14:31:30 +0000 (14:31 +0000)]
Rename tell_fs to tell_vfs

14 years agoissue.install: 3.1.8
Ben Gras [Wed, 9 Jun 2010 14:02:35 +0000 (14:02 +0000)]
issue.install: 3.1.8

14 years agolib: declarations that needed ANSIfication since prototypes are declared
Ben Gras [Wed, 9 Jun 2010 13:01:11 +0000 (13:01 +0000)]
lib: declarations that needed ANSIfication since prototypes are declared

14 years agoash: getmode in global includes now
Ben Gras [Wed, 9 Jun 2010 12:58:03 +0000 (12:58 +0000)]
ash: getmode in global includes now

14 years agofind: fix warnings + error
Ben Gras [Wed, 9 Jun 2010 12:53:51 +0000 (12:53 +0000)]
find: fix warnings + error

14 years agoinlcude: new prototypes
Ben Gras [Wed, 9 Jun 2010 12:53:09 +0000 (12:53 +0000)]
inlcude: new prototypes

14 years agoman: no more minix find manpage
Ben Gras [Wed, 9 Jun 2010 12:30:25 +0000 (12:30 +0000)]
man: no more minix find manpage

14 years agocommands: import of netbsd find
Ben Gras [Wed, 9 Jun 2010 12:27:36 +0000 (12:27 +0000)]
commands: import of netbsd find

14 years agocommands/find: original netbsd find
Ben Gras [Wed, 9 Jun 2010 12:19:38 +0000 (12:19 +0000)]
commands/find: original netbsd find

14 years agocommands, man: remove minix find
Ben Gras [Wed, 9 Jun 2010 12:17:42 +0000 (12:17 +0000)]
commands, man: remove minix find

14 years agoash: remove setmode() declaration from shell.h, now in library
Ben Gras [Wed, 9 Jun 2010 12:11:56 +0000 (12:11 +0000)]
ash: remove setmode() declaration from shell.h, now in library

14 years agounistd.h: add setmode() prototype.
Ben Gras [Wed, 9 Jun 2010 12:11:33 +0000 (12:11 +0000)]
unistd.h: add setmode() prototype.

14 years agoerr.h: include prototypes for new err* and warn* functions.
Ben Gras [Wed, 9 Jun 2010 12:11:13 +0000 (12:11 +0000)]
err.h: include prototypes for new err* and warn* functions.

14 years agocrtso.S: save *argv[] and argc globally, to be used by getprogname().
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().

14 years agolibc: minor minix changes for new netbsd files
Ben Gras [Wed, 9 Jun 2010 12:09:39 +0000 (12:09 +0000)]
libc: minor minix changes for new netbsd files

14 years agolibc: add original netbsd files
Ben Gras [Wed, 9 Jun 2010 12:08:32 +0000 (12:08 +0000)]
libc: add original netbsd files

14 years agolibutil: minix efun.c
Ben Gras [Wed, 9 Jun 2010 12:05:53 +0000 (12:05 +0000)]
libutil: minix efun.c

14 years agolibutil: original netbsd efun.c
Ben Gras [Wed, 9 Jun 2010 12:05:04 +0000 (12:05 +0000)]
libutil: original netbsd efun.c

14 years agoincludes: minix <util.h>
Ben Gras [Wed, 9 Jun 2010 12:03:19 +0000 (12:03 +0000)]
includes: minix <util.h>

14 years agoincludes: original netbsd <util.h>
Ben Gras [Wed, 9 Jun 2010 12:02:20 +0000 (12:02 +0000)]
includes: original netbsd <util.h>

14 years agoTurn off debug message.
Thomas Veerman [Wed, 9 Jun 2010 11:05:16 +0000 (11:05 +0000)]
Turn off debug message.

14 years agokernel: fix assert condition after a caught in-kernel pagefault
Ben Gras [Wed, 9 Jun 2010 10:59:57 +0000 (10:59 +0000)]
kernel: fix assert condition after a caught in-kernel pagefault

14 years agoFix a bug in put_inode that causes corruption to the file system and another
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.

14 years agoint to endpoint_t conversions in mmap
Tomas Hruby [Wed, 9 Jun 2010 09:14:53 +0000 (09:14 +0000)]
int to endpoint_t conversions in mmap

14 years agolib: move tzfile.h from lib/libc/stdtime/ to include/ for general usage.
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.

14 years agoMore endpoint_t correctness.
Kees van Reeuwijk [Tue, 8 Jun 2010 14:09:18 +0000 (14:09 +0000)]
More endpoint_t correctness.
More const correctness.
Other code cleanup.

14 years agoRemove legacy MM, FS, and FS_PROC_NR macros
Arun Thomas [Tue, 8 Jun 2010 13:58:01 +0000 (13:58 +0000)]
Remove legacy MM, FS, and FS_PROC_NR macros

14 years agoRemove redundant macro cproc_addr
Erik van der Kouwe [Tue, 8 Jun 2010 13:38:44 +0000 (13:38 +0000)]
Remove redundant macro cproc_addr

14 years agoAdd endpoint checks in scheduling kernel calls
Erik van der Kouwe [Tue, 8 Jun 2010 12:04:21 +0000 (12:04 +0000)]
Add endpoint checks in scheduling kernel calls

14 years agosupport for ukranian (charse koi8-u) contributed by Roman Ignatov.
Ben Gras [Tue, 8 Jun 2010 01:04:52 +0000 (01:04 +0000)]
support for ukranian (charse koi8-u) contributed by Roman Ignatov.

14 years agovm: junkfree feature that fills freed pages with a recognizable pattern.
Ben Gras [Tue, 8 Jun 2010 00:59:48 +0000 (00:59 +0000)]
vm: junkfree feature that fills freed pages with a recognizable pattern.

14 years agokernel: fix for vm_init that triggered assert(ptproc == newptproc)
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.

14 years agoe1000: map in 0x1000 of flash if 0x10000 fails.
Ben Gras [Mon, 7 Jun 2010 16:30:10 +0000 (16:30 +0000)]
e1000: map in 0x1000 of flash if 0x10000 fails.

14 years agoversion: trunk will become 3.1.8.
Ben Gras [Mon, 7 Jun 2010 15:57:14 +0000 (15:57 +0000)]
version: trunk will become 3.1.8.

14 years agoFix typo
Thomas Veerman [Mon, 7 Jun 2010 13:46:05 +0000 (13:46 +0000)]
Fix typo

14 years agotools: fix installing includes.
Ben Gras [Mon, 7 Jun 2010 10:10:27 +0000 (10:10 +0000)]
tools: fix installing includes.

14 years agoLazy FPU
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

14 years agoVM: Remove legacy non-paging code paths
Arun Thomas [Sat, 5 Jun 2010 14:39:40 +0000 (14:39 +0000)]
VM: Remove legacy non-paging code paths

14 years agoEnter package names in packman
Erik van der Kouwe [Sat, 5 Jun 2010 13:25:41 +0000 (13:25 +0000)]
Enter package names in packman

14 years agoPut initialization code where it belongs.
Cristiano Giuffrida [Fri, 4 Jun 2010 18:08:15 +0000 (18:08 +0000)]
Put initialization code where it belongs.

14 years agoFix range checking in safecopy.
Cristiano Giuffrida [Fri, 4 Jun 2010 18:05:38 +0000 (18:05 +0000)]
Fix range checking in safecopy.

14 years agoRemove gcc-4.1.1 from packages list
Arun Thomas [Fri, 4 Jun 2010 12:36:40 +0000 (12:36 +0000)]
Remove gcc-4.1.1 from packages list

14 years agoRemoved a buggy assert unintentionally commted in r7044
Tomas Hruby [Fri, 4 Jun 2010 10:54:43 +0000 (10:54 +0000)]
Removed a buggy assert unintentionally commted in r7044

14 years agoThis patch changes the release script in the following ways:
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).

14 years agoCreate link for lstat
Erik van der Kouwe [Fri, 4 Jun 2010 04:44:09 +0000 (04:44 +0000)]
Create link for lstat