]> Zhao Yanbai Git Server - minix.git/log
minix.git
14 years agoDon't use kernel responses in servers
Erik van der Kouwe [Thu, 24 Jun 2010 07:37:26 +0000 (07:37 +0000)]
Don't use kernel responses in servers

14 years agomfs - revert part of previous commit; should not have been commited
Ben Gras [Thu, 24 Jun 2010 00:32:17 +0000 (00:32 +0000)]
mfs - revert part of previous commit; should not have been commited

14 years agosome prettification for test55.
Ben Gras [Thu, 24 Jun 2010 00:27:26 +0000 (00:27 +0000)]
some prettification for test55.

14 years agotest 55 for statvfs. fix formatting bug in test54.
Ben Gras [Thu, 24 Jun 2010 00:06:40 +0000 (00:06 +0000)]
test 55 for statvfs. fix formatting bug in test54.

14 years agomfs - statvfs call, by Buccapatnam Tirumala, Gautam.
Ben Gras [Wed, 23 Jun 2010 23:58:16 +0000 (23:58 +0000)]
mfs - statvfs call, by Buccapatnam Tirumala, Gautam.

14 years agoiso9660fs - statvfs call, by Buccapatnam Tirumala, Gautam.
Ben Gras [Wed, 23 Jun 2010 23:57:26 +0000 (23:57 +0000)]
iso9660fs - statvfs call, by Buccapatnam Tirumala, Gautam.

14 years agostatvfs/fstatvfs entries.
Ben Gras [Wed, 23 Jun 2010 23:56:36 +0000 (23:56 +0000)]
statvfs/fstatvfs entries.

14 years agoinclude, vfs: statvfs, fstatvfs calls, contributed by Buccapatnam Tirumala, Gautam.
Ben Gras [Wed, 23 Jun 2010 23:53:50 +0000 (23:53 +0000)]
include, vfs: statvfs, fstatvfs calls, contributed by Buccapatnam Tirumala, Gautam.

14 years agolibc stubs for statvfs, contributed by Buccapatnam Tirumala, Gautam.
Ben Gras [Wed, 23 Jun 2010 23:51:29 +0000 (23:51 +0000)]
libc stubs for statvfs, contributed by Buccapatnam Tirumala, Gautam.

14 years agoincludes: statvfs support, contributed by Buccapatnam Tirumala, Gautam
Ben Gras [Wed, 23 Jun 2010 23:46:10 +0000 (23:46 +0000)]
includes: statvfs support, contributed by Buccapatnam Tirumala, Gautam

14 years agoboot: restore setting stack size, and remove wrong experimental
Ben Gras [Wed, 23 Jun 2010 16:24:40 +0000 (16:24 +0000)]
boot: restore setting stack size, and remove wrong experimental
#ifndef DOS that shouldn't have been committed.

14 years agoRemove obsolete mstats call
Erik van der Kouwe [Wed, 23 Jun 2010 10:43:08 +0000 (10:43 +0000)]
Remove obsolete mstats call

14 years agomini_receive() clean up
Tomas Hruby [Wed, 23 Jun 2010 10:36:19 +0000 (10:36 +0000)]
mini_receive() clean up

- for better readability xpp is substitued by sender

- makes sure that the dequeued sender has p_q_link == NULL and that
  this condition holds when enqueuing the sender again. This is a
  sanity check to make sure that the new sender is not enqueued
  already

- Before this change the dequeued sender's p_q_link may not be NULL
  and it was only set to NULL when enqueued again

14 years agoFix packman for new grep, which doesn't support \+ in BREs
Erik van der Kouwe [Wed, 23 Jun 2010 08:12:40 +0000 (08:12 +0000)]
Fix packman for new grep, which doesn't support \+ in BREs

14 years agotest for pwrite() (Contributed by Buccapatnam Tirumala, Gautam)
Ben Gras [Tue, 22 Jun 2010 22:07:23 +0000 (22:07 +0000)]
test for pwrite() (Contributed by Buccapatnam Tirumala, Gautam)

14 years agolib - a pwrite() implementation (Contributed by Buccapatnam Tirumala, Gautam)
Ben Gras [Tue, 22 Jun 2010 22:04:43 +0000 (22:04 +0000)]
lib - a pwrite() implementation (Contributed by Buccapatnam Tirumala, Gautam)

14 years agoadvent: support ${.OBJDIR} != ${.CURDIR}, tracker item 486
Ben Gras [Tue, 22 Jun 2010 21:56:38 +0000 (21:56 +0000)]
advent: support ${.OBJDIR} != ${.CURDIR}, tracker item 486

14 years agostrptime() for minix.
Ben Gras [Tue, 22 Jun 2010 21:42:49 +0000 (21:42 +0000)]
strptime() for minix.

14 years agooriginal strptime.
Ben Gras [Tue, 22 Jun 2010 21:41:56 +0000 (21:41 +0000)]
original strptime.

14 years agoforget netbsd strptime.
Ben Gras [Tue, 22 Jun 2010 21:41:20 +0000 (21:41 +0000)]
forget netbsd strptime.

14 years agooriginal netbsd strptime
Ben Gras [Tue, 22 Jun 2010 21:37:54 +0000 (21:37 +0000)]
original netbsd strptime

14 years agono WARNS
Ben Gras [Tue, 22 Jun 2010 21:24:50 +0000 (21:24 +0000)]
no WARNS

14 years agocut fixes
Ben Gras [Tue, 22 Jun 2010 21:24:14 +0000 (21:24 +0000)]
cut fixes

14 years agominix cut, printf from netbsd
Ben Gras [Tue, 22 Jun 2010 21:22:53 +0000 (21:22 +0000)]
minix cut, printf from netbsd

14 years agooriginal netbsd printf, cut
Ben Gras [Tue, 22 Jun 2010 21:20:54 +0000 (21:20 +0000)]
original netbsd printf, cut

14 years agono more minix cut, printf
Ben Gras [Tue, 22 Jun 2010 21:19:42 +0000 (21:19 +0000)]
no more minix cut, printf

14 years agocorrect to S_IFSOCK
Ben Gras [Tue, 22 Jun 2010 16:35:48 +0000 (16:35 +0000)]
correct to S_IFSOCK

14 years agostdio: j modifier for %d. (Contributed by Buccapatnam Tirumala, Gautam)
Ben Gras [Tue, 22 Jun 2010 16:22:17 +0000 (16:22 +0000)]
stdio: j modifier for %d. (Contributed by Buccapatnam Tirumala, Gautam)

14 years agorename __ss_family to ss_family. (Contributed by Buccapatnam Tirumala, Gautam)
Ben Gras [Tue, 22 Jun 2010 16:21:21 +0000 (16:21 +0000)]
rename __ss_family to ss_family. (Contributed by Buccapatnam Tirumala, Gautam)

14 years agoboot: fix dosboot build and link to build.
Ben Gras [Tue, 22 Jun 2010 15:45:53 +0000 (15:45 +0000)]
boot: fix dosboot build and link to build.

14 years agoeasypack: don't invoke binsizes
Ben Gras [Tue, 22 Jun 2010 15:44:47 +0000 (15:44 +0000)]
easypack: don't invoke binsizes

14 years agochrootmake: don't invoke binsizes.
Ben Gras [Tue, 22 Jun 2010 15:44:29 +0000 (15:44 +0000)]
chrootmake: don't invoke binsizes.

14 years agofortune: install fortune.dat in /usr/lib
Ben Gras [Tue, 22 Jun 2010 15:29:35 +0000 (15:29 +0000)]
fortune: install fortune.dat in /usr/lib

14 years ago . make sed understand \t
Ben Gras [Tue, 22 Jun 2010 15:28:07 +0000 (15:28 +0000)]
 . make sed understand \t
 . install it in /bin, where minix rc expects it

14 years agoFix misplaced comment.
Cristiano Giuffrida [Tue, 22 Jun 2010 15:10:06 +0000 (15:10 +0000)]
Fix misplaced comment.

14 years agobinpackage: don't call binsizes.
Ben Gras [Tue, 22 Jun 2010 14:21:34 +0000 (14:21 +0000)]
binpackage: don't call binsizes.

14 years agomake: don't link with -g as nm can't read the symbol table any more.
Ben Gras [Tue, 22 Jun 2010 14:00:42 +0000 (14:00 +0000)]
make: don't link with -g as nm can't read the symbol table any more.

14 years agoincludes: S_ISSOCK and S_ISOCK
Ben Gras [Tue, 22 Jun 2010 13:37:33 +0000 (13:37 +0000)]
includes: S_ISSOCK and S_ISOCK

14 years agocd subdir && $(MAKE) targets -> $(MAKE) -C subdir targets
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

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