]> Zhao Yanbai Git Server - minix.git/log
minix.git
14 years agoSilence newroot
Erik van der Kouwe [Tue, 3 Aug 2010 13:58:36 +0000 (13:58 +0000)]
Silence newroot

14 years agoDon't write to /etc/mtab in newroot, may be an issue on read-only filesystems
Erik van der Kouwe [Tue, 3 Aug 2010 13:57:58 +0000 (13:57 +0000)]
Don't write to /etc/mtab in newroot, may be an issue on read-only filesystems

14 years agomount: don't always autodetect
David van Moolenbroek [Tue, 3 Aug 2010 13:46:00 +0000 (13:46 +0000)]
mount: don't always autodetect

14 years agolib: when building clang/gcc libraries: add /usr/pkg/bin to $PATH
Ben Gras [Tue, 3 Aug 2010 11:21:25 +0000 (11:21 +0000)]
lib: when building clang/gcc libraries: add /usr/pkg/bin to $PATH

14 years agotest Makefile: use any gcc in path
Ben Gras [Tue, 3 Aug 2010 11:20:31 +0000 (11:20 +0000)]
test Makefile: use any gcc in path

14 years agomtree: drop /usr/local, add some pkgsrc dirs; /usr/etc/rc: pkgsrc rc.d
Ben Gras [Tue, 3 Aug 2010 11:18:18 +0000 (11:18 +0000)]
mtree: drop /usr/local, add some pkgsrc dirs; /usr/etc/rc: pkgsrc rc.d

14 years agoSome PCI config space registers have to be accessed in with there actual
Dirk Vogt [Tue, 3 Aug 2010 10:03:40 +0000 (10:03 +0000)]
Some PCI config space registers have to be accessed in with there actual
width. Without this patch DDELinux is not able to read the PCI BARs
correctly.

14 years agoAuto-detect ext2 partitions in mount
Erik van der Kouwe [Tue, 3 Aug 2010 06:28:58 +0000 (06:28 +0000)]
Auto-detect ext2 partitions in mount

14 years agorename nm and strip to acknm and ackstrip
Ben Gras [Mon, 2 Aug 2010 16:09:19 +0000 (16:09 +0000)]
rename nm and strip to acknm and ackstrip

this is to force invocations of these utils for ack to be
explicitly named such, so in the future binutils can be installed
in /usr/pkg without the g- prefix.

14 years agoOops
Erik van der Kouwe [Mon, 2 Aug 2010 14:49:35 +0000 (14:49 +0000)]
Oops

14 years agoDeal all shutdown cases with multiboot as either reset or poweroff depending on their...
Erik van der Kouwe [Mon, 2 Aug 2010 14:41:45 +0000 (14:41 +0000)]
Deal all shutdown cases with multiboot as either reset or poweroff depending on their type (contributed by Feiran 'Fam' Zheng)

14 years agoDisplay fallback message in case poweroff fails (contributed by Feiran 'Fam' Zheng)
Erik van der Kouwe [Mon, 2 Aug 2010 14:40:26 +0000 (14:40 +0000)]
Display fallback message in case poweroff fails (contributed by Feiran 'Fam' Zheng)

14 years agoReplace newroot with a call to mount, will make type autodetect easier
Erik van der Kouwe [Mon, 2 Aug 2010 14:15:48 +0000 (14:15 +0000)]
Replace newroot with a call to mount, will make type autodetect easier

14 years agominor pkgsrc tweaks; allow pkgsrc to install rc scripts in /usr/pkg/etc/rc.d
Ben Gras [Mon, 2 Aug 2010 12:28:24 +0000 (12:28 +0000)]
minor pkgsrc tweaks; allow pkgsrc to install rc scripts in /usr/pkg/etc/rc.d

14 years agoAdd support for the ext2 file system. Contributed by Evgeniy Ivanov.
Thomas Veerman [Mon, 2 Aug 2010 11:44:45 +0000 (11:44 +0000)]
Add support for the ext2 file system. Contributed by Evgeniy Ivanov.

14 years ago- Add support for ST_NOTRUNC to struct statvfs.
Thomas Veerman [Mon, 2 Aug 2010 11:16:32 +0000 (11:16 +0000)]
- Add support for ST_NOTRUNC to struct statvfs.
- Let tests that test for long file names check for that flag, so that they can
  verify the results properly.

14 years agolibdriver: allow driver to break out of message loop
David van Moolenbroek [Sun, 1 Aug 2010 22:07:46 +0000 (22:07 +0000)]
libdriver: allow driver to break out of message loop

14 years agoput env_arg[cv] declaration in minix/sysutil.h
David van Moolenbroek [Thu, 29 Jul 2010 21:16:23 +0000 (21:16 +0000)]
put env_arg[cv] declaration in minix/sysutil.h

14 years agodriver.h - missing guardian
Tomas Hruby [Thu, 29 Jul 2010 10:53:50 +0000 (10:53 +0000)]
driver.h - missing guardian

14 years agoadd the sshd group
Ben Gras [Thu, 29 Jul 2010 09:54:34 +0000 (09:54 +0000)]
add the sshd group

14 years agorename nameserv.h
Ben Gras [Thu, 29 Jul 2010 08:41:22 +0000 (08:41 +0000)]
rename nameserv.h

14 years agorename nemserv
Ben Gras [Thu, 29 Jul 2010 08:39:49 +0000 (08:39 +0000)]
rename nemserv

14 years agoBIOS function 0xE820 for memory map detection
Tomas Hruby [Thu, 29 Jul 2010 07:21:11 +0000 (07:21 +0000)]
BIOS function 0xE820 for memory map detection

- this function returns a ritcher description of available memory

- is ACPI compliant, ACPI data structures are excluded from free
  memory list

- available memory exported to Minix in a backwards compatible manner

- fallback to the old method if this function not available (old
  hardware)

14 years agoextra includes to make porting cleaner
Ben Gras [Wed, 28 Jul 2010 16:32:45 +0000 (16:32 +0000)]
extra includes to make porting cleaner

14 years agonew EPFNOSUPPORT errno
Ben Gras [Wed, 28 Jul 2010 16:32:21 +0000 (16:32 +0000)]
new EPFNOSUPPORT errno

14 years agokernel: deadlock test with endpoints instead of slot numbers, slightly cleaner
Ben Gras [Wed, 28 Jul 2010 14:14:06 +0000 (14:14 +0000)]
kernel: deadlock test with endpoints instead of slot numbers, slightly cleaner

14 years agopkg_install: move db dir
Ben Gras [Wed, 28 Jul 2010 09:59:00 +0000 (09:59 +0000)]
pkg_install: move db dir

14 years agopkgsrc: minor changes to paths, options.
Ben Gras [Wed, 28 Jul 2010 09:41:15 +0000 (09:41 +0000)]
pkgsrc: minor changes to paths, options.

14 years agoShorter reporting of contiguous identical blocks for the IS VM dump (F8) to avoid...
Erik van der Kouwe [Tue, 27 Jul 2010 18:46:08 +0000 (18:46 +0000)]
Shorter reporting of contiguous identical blocks for the IS VM dump (F8) to avoid MFS frrom filling many screens

14 years agoAdd poll.h
Arun Thomas [Tue, 27 Jul 2010 09:21:56 +0000 (09:21 +0000)]
Add poll.h

Open Group requires this. Reported by Thomas Cort.

14 years agoImport poll() from NetBSD's libnbcompat
Arun Thomas [Mon, 26 Jul 2010 20:46:04 +0000 (20:46 +0000)]
Import poll() from NetBSD's libnbcompat

14 years agoinet_pton(), patched by Thomas Cort.
Ben Gras [Mon, 26 Jul 2010 14:47:10 +0000 (14:47 +0000)]
inet_pton(), patched by Thomas Cort.

14 years agostdio.h - define P_tmpdir
Ben Gras [Mon, 26 Jul 2010 14:46:35 +0000 (14:46 +0000)]
stdio.h - define P_tmpdir

14 years agopkg_install - bpm - changes to work with minix ftp client by Gautam Tirumala.
Ben Gras [Mon, 26 Jul 2010 14:02:05 +0000 (14:02 +0000)]
pkg_install - bpm - changes to work with minix ftp client by Gautam Tirumala.

14 years agogcc headers: look at pkgsrc-installed gcc too
Ben Gras [Mon, 26 Jul 2010 12:48:48 +0000 (12:48 +0000)]
gcc headers: look at pkgsrc-installed gcc too

14 years agolibarchive: sanitize out-of-range uids/gids
Ben Gras [Mon, 26 Jul 2010 12:44:48 +0000 (12:44 +0000)]
libarchive: sanitize out-of-range uids/gids

14 years ago<sys/resource.h> - define RLIM_NLIMITS
Ben Gras [Mon, 26 Jul 2010 10:04:45 +0000 (10:04 +0000)]
<sys/resource.h> - define RLIM_NLIMITS

14 years agolib - sanity check for group_from_gid etc.
Ben Gras [Sat, 24 Jul 2010 10:40:55 +0000 (10:40 +0000)]
lib - sanity check for group_from_gid etc.

14 years agoMultiboot support (contributed by Feiran "Fam" Zheng);
Erik van der Kouwe [Fri, 23 Jul 2010 14:24:34 +0000 (14:24 +0000)]
Multiboot support (contributed by Feiran "Fam" Zheng);
keep in mind that GRUB needs to be patched to read MFS for now;
use /boot/image_latest to boot the last compiled image in GRUB

14 years agoAdd padtext utility (needed for Multiboot)
Erik van der Kouwe [Fri, 23 Jul 2010 14:22:49 +0000 (14:22 +0000)]
Add padtext utility (needed for Multiboot)

14 years agoAllow vm to split blocks in memory map (needed for multiboot, contributed by Feiran...
Erik van der Kouwe [Fri, 23 Jul 2010 14:22:13 +0000 (14:22 +0000)]
Allow vm to split blocks in memory map (needed for multiboot, contributed by Feiran "Fam" Zheng

14 years agopkg_install: forget about OS_RELEASE, just a properly formatted OS_VERSION.
Ben Gras [Fri, 23 Jul 2010 14:10:23 +0000 (14:10 +0000)]
pkg_install: forget about OS_RELEASE, just a properly formatted OS_VERSION.

14 years agoinet_ntop, contributed by Thomas Cort.
Ben Gras [Fri, 23 Jul 2010 09:54:47 +0000 (09:54 +0000)]
inet_ntop, contributed by Thomas Cort.

14 years agoIO port is always 16 bit, even for inl
Erik van der Kouwe [Fri, 23 Jul 2010 07:25:21 +0000 (07:25 +0000)]
IO port is always 16 bit, even for inl

14 years ago{in,out}s[bwl] deleted in previous commit, also delete their headers
Erik van der Kouwe [Fri, 23 Jul 2010 07:24:34 +0000 (07:24 +0000)]
{in,out}s[bwl] deleted in previous commit, also delete their headers

14 years agoMove sensitive instructions from libc into kernel
Erik van der Kouwe [Fri, 23 Jul 2010 07:12:47 +0000 (07:12 +0000)]
Move sensitive instructions from libc into kernel

14 years agoThrow out ins[bwl] and out[bwl] from libc as they are not used
Erik van der Kouwe [Fri, 23 Jul 2010 07:10:47 +0000 (07:10 +0000)]
Throw out ins[bwl] and out[bwl] from libc as they are not used

14 years agovsprintf: fix special yet useful case for vsprintf where n < 1.
Ben Gras [Thu, 22 Jul 2010 22:35:44 +0000 (22:35 +0000)]
vsprintf: fix special yet useful case for vsprintf where n < 1.

reported by jaldhar.

14 years agolibfp: use ${CC} instead of cc, reported by Antoine Leca.
Ben Gras [Thu, 22 Jul 2010 22:24:08 +0000 (22:24 +0000)]
libfp: use ${CC} instead of cc, reported by Antoine Leca.

14 years agoMake kernel ipc log scripts work for separate ${.OBJDIR}.
Ben Gras [Thu, 22 Jul 2010 22:04:37 +0000 (22:04 +0000)]
Make kernel ipc log scripts work for separate ${.OBJDIR}.

contributed by Antoine Leca.

14 years agovfs - split fp_fd field into fd + callnr fields
Ben Gras [Thu, 22 Jul 2010 14:55:28 +0000 (14:55 +0000)]
vfs - split fp_fd field into fd + callnr fields

14 years agomake.conf: make pkgsrc.conf separate.
Ben Gras [Thu, 22 Jul 2010 14:42:20 +0000 (14:42 +0000)]
make.conf: make pkgsrc.conf separate.

14 years agoReplace NULL macro defs with null.h include
Arun Thomas [Thu, 22 Jul 2010 10:03:31 +0000 (10:03 +0000)]
Replace NULL macro defs with null.h include

14 years agoservice utility fix
Tomas Hruby [Thu, 22 Jul 2010 09:57:14 +0000 (09:57 +0000)]
service utility fix

- of course 0 is a valid cpu

14 years agopkg_install: some uname normalisation.
Ben Gras [Thu, 22 Jul 2010 08:28:12 +0000 (08:28 +0000)]
pkg_install: some uname normalisation.

14 years agoprofile: don't set $MANPATH explicitly as it's already in man.conf.
Ben Gras [Thu, 22 Jul 2010 08:26:49 +0000 (08:26 +0000)]
profile: don't set $MANPATH explicitly as it's already in man.conf.

14 years agostring.h: Include null.h
Arun Thomas [Wed, 21 Jul 2010 15:37:42 +0000 (15:37 +0000)]
string.h: Include null.h

14 years agoParse LODS correctly in gas2ack
Erik van der Kouwe [Wed, 21 Jul 2010 14:47:01 +0000 (14:47 +0000)]
Parse LODS correctly in gas2ack

14 years agomkboot fix, missing "
Ben Gras [Wed, 21 Jul 2010 14:23:52 +0000 (14:23 +0000)]
mkboot fix, missing "

14 years agoinet: a little more resilience against misbehaving drivers
David van Moolenbroek [Wed, 21 Jul 2010 13:47:50 +0000 (13:47 +0000)]
inet: a little more resilience against misbehaving drivers

14 years agoOverly restrictive assert
Tomas Hruby [Wed, 21 Jul 2010 13:46:29 +0000 (13:46 +0000)]
Overly restrictive assert

- not true if APIC is enabled

14 years agoUnbreak gcc compilation for pfs.
Cristiano Giuffrida [Wed, 21 Jul 2010 13:39:46 +0000 (13:39 +0000)]
Unbreak gcc compilation for pfs.

14 years agouname: make uname -r and -v both print out full version info.
Ben Gras [Wed, 21 Jul 2010 12:47:48 +0000 (12:47 +0000)]
uname: make uname -r and -v both print out full version info.

the world seems to expect this, and do this.

14 years ago/usr/sbin in $PATH too.
Ben Gras [Wed, 21 Jul 2010 10:12:03 +0000 (10:12 +0000)]
/usr/sbin in $PATH too.

14 years agomake.conf: pkgsrc fix/workaround
Ben Gras [Wed, 21 Jul 2010 10:00:34 +0000 (10:00 +0000)]
make.conf: pkgsrc fix/workaround

14 years agoDisable debug info on trunk.
Cristiano Giuffrida [Wed, 21 Jul 2010 08:22:24 +0000 (08:22 +0000)]
Disable debug info on trunk.

14 years agoDon't panic so easily on unexpected pagefault.
Cristiano Giuffrida [Tue, 20 Jul 2010 23:51:34 +0000 (23:51 +0000)]
Don't panic so easily on unexpected pagefault.

14 years agoCrash recovery and live update support for VM.
Cristiano Giuffrida [Tue, 20 Jul 2010 23:03:52 +0000 (23:03 +0000)]
Crash recovery and live update support for VM.

14 years agoinstall new Makefile in /usr instead.
Ben Gras [Tue, 20 Jul 2010 22:20:43 +0000 (22:20 +0000)]
install new Makefile in /usr instead.

14 years agoGet rid of static spare pages after VM startup.
Cristiano Giuffrida [Tue, 20 Jul 2010 21:59:27 +0000 (21:59 +0000)]
Get rid of static spare pages after VM startup.

14 years agoCOW for physically contiguous blocks in VM
Cristiano Giuffrida [Tue, 20 Jul 2010 18:57:25 +0000 (18:57 +0000)]
COW for physically contiguous blocks in VM

14 years agokernel: clear MF_CONTEXT_SET on kernel exit.
Ben Gras [Tue, 20 Jul 2010 17:13:44 +0000 (17:13 +0000)]
kernel: clear MF_CONTEXT_SET on kernel exit.

14 years agopkg_install: record OS version for created packages.
Ben Gras [Tue, 20 Jul 2010 17:10:21 +0000 (17:10 +0000)]
pkg_install: record OS version for created packages.

14 years agokernel: fix case of EAX getting clobbered after sigreturn.
Ben Gras [Tue, 20 Jul 2010 17:10:09 +0000 (17:10 +0000)]
kernel: fix case of EAX getting clobbered after sigreturn.

14 years agoMakefile for pkgsrc repo update/checkout
Arun Thomas [Tue, 20 Jul 2010 17:09:44 +0000 (17:09 +0000)]
Makefile for pkgsrc repo update/checkout

-From DragonflyBSD with minor tweaks

14 years agoUPDATING update
Erik van der Kouwe [Tue, 20 Jul 2010 07:52:55 +0000 (07:52 +0000)]
UPDATING update

14 years agoUPDATING update
Erik van der Kouwe [Tue, 20 Jul 2010 07:52:46 +0000 (07:52 +0000)]
UPDATING update

14 years agoservice utility can par cpu option in system.conf
Tomas Hruby [Tue, 20 Jul 2010 07:27:45 +0000 (07:27 +0000)]
service utility can par cpu option in system.conf

- does not have any effect, solely for debugging SMP

- backward compatible with older RS instance

14 years agoGeneralize interface of some VM functions
Cristiano Giuffrida [Tue, 20 Jul 2010 02:08:28 +0000 (02:08 +0000)]
Generalize interface of some VM functions

14 years agoDon't always assume NOPINGREPLY as a failure in RS
Cristiano Giuffrida [Tue, 20 Jul 2010 01:50:33 +0000 (01:50 +0000)]
Don't always assume NOPINGREPLY as a failure in RS

14 years agovm: restore sanity checks in NONCONTIGUOUS case.
Ben Gras [Mon, 19 Jul 2010 18:20:14 +0000 (18:20 +0000)]
vm: restore sanity checks in NONCONTIGUOUS case.

14 years agovm: add MEMPROTECT feature in vm.h.
Ben Gras [Mon, 19 Jul 2010 18:19:59 +0000 (18:19 +0000)]
vm: add MEMPROTECT feature in vm.h.

14 years agovm: add missing USE() macros in utility.c.
Ben Gras [Mon, 19 Jul 2010 18:19:38 +0000 (18:19 +0000)]
vm: add missing USE() macros in utility.c.

14 years agovm: allow readonly pages when sanity checking when they're supposed to be rw.
Ben Gras [Mon, 19 Jul 2010 18:19:16 +0000 (18:19 +0000)]
vm: allow readonly pages when sanity checking when they're supposed to be rw.

14 years agokernel: make loading kernel in 2nd chunk of memory (at 1MB) the default.
Ben Gras [Mon, 19 Jul 2010 16:33:49 +0000 (16:33 +0000)]
kernel: make loading kernel in 2nd chunk of memory (at 1MB) the default.

(indicated by flags hardcoded in kernel that the boot monitor
interprets.)

14 years agoTeach DESCRIBE and fsck about UNIX Domain Sockets. Contributed by Thomas Cort
Thomas Veerman [Mon, 19 Jul 2010 13:57:47 +0000 (13:57 +0000)]
Teach DESCRIBE and fsck about UNIX Domain Sockets. Contributed by Thomas Cort

14 years agoun-duplicate sha2hl.c
Ben Gras [Mon, 19 Jul 2010 13:08:48 +0000 (13:08 +0000)]
un-duplicate sha2hl.c

14 years agopkg_install: use /usr/sbin
Ben Gras [Mon, 19 Jul 2010 11:58:39 +0000 (11:58 +0000)]
pkg_install: use /usr/sbin

14 years agoincludes: remove some prototypes of functions that aren't defined.
Ben Gras [Mon, 19 Jul 2010 11:39:57 +0000 (11:39 +0000)]
includes: remove some prototypes of functions that aren't defined.

14 years agopkg_install path fixes.
Ben Gras [Mon, 19 Jul 2010 11:30:39 +0000 (11:30 +0000)]
pkg_install path fixes.

14 years agopkg_install: correct PKG_LOG_DIR
Ben Gras [Mon, 19 Jul 2010 11:28:51 +0000 (11:28 +0000)]
pkg_install: correct PKG_LOG_DIR

14 years agopkg_install: these manpages were moved to man.
Ben Gras [Mon, 19 Jul 2010 10:47:11 +0000 (10:47 +0000)]
pkg_install: these manpages were moved to man.

14 years agoinclude - string functions.
Ben Gras [Mon, 19 Jul 2010 10:46:49 +0000 (10:46 +0000)]
include - string functions.

14 years agolib - extra file for libutil; strnstr and strcasestr from freebsd for libc.
Ben Gras [Mon, 19 Jul 2010 10:46:26 +0000 (10:46 +0000)]
lib - extra file for libutil; strnstr and strcasestr from freebsd for libc.

14 years agopatch: fixes to use plan a (too) by Gautam Tirumala.
Ben Gras [Mon, 19 Jul 2010 10:40:48 +0000 (10:40 +0000)]
patch: fixes to use plan a (too) by Gautam Tirumala.

14 years agoman - no more whoami, mdb (get installed from commands)
Ben Gras [Sun, 18 Jul 2010 22:19:34 +0000 (22:19 +0000)]
man - no more whoami, mdb (get installed from commands)

14 years agoman: add some pkgsrc pages; no more minix diff manpage
Ben Gras [Sun, 18 Jul 2010 22:15:10 +0000 (22:15 +0000)]
man: add some pkgsrc pages; no more minix diff manpage

14 years agomtree: add libexec; don't make any oss dirs.
Ben Gras [Sun, 18 Jul 2010 22:06:40 +0000 (22:06 +0000)]
mtree: add libexec; don't make any oss dirs.

14 years agolib: bugfix for mbstowcs, debugged by Gautam Tirumala.
Ben Gras [Sun, 18 Jul 2010 20:57:55 +0000 (20:57 +0000)]
lib: bugfix for mbstowcs, debugged by Gautam Tirumala.

14 years agoMAKEDEV: make /dev/uds
Ben Gras [Sun, 18 Jul 2010 19:20:36 +0000 (19:20 +0000)]
MAKEDEV: make /dev/uds