]> Zhao Yanbai Git Server - minix.git/log
minix.git
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

14 years agoaal - don't install yourself as ar; must invoke aal explicitly for ack archives.
Ben Gras [Fri, 16 Jul 2010 15:40:04 +0000 (15:40 +0000)]
aal - don't install yourself as ar; must invoke aal explicitly for ack archives.

To make switching to 'ar' for gcc/clang archives smoother in the future.

14 years agokernel - prettier output for ipc errors, call names instead of trap numbers
Ben Gras [Fri, 16 Jul 2010 15:36:29 +0000 (15:36 +0000)]
kernel - prettier output for ipc errors, call names instead of trap numbers

14 years agoFix RS warning at start-up by inheriting scdeduling properties from init for unprivil...
Erik van der Kouwe [Fri, 16 Jul 2010 14:56:05 +0000 (14:56 +0000)]
Fix RS warning at start-up by inheriting scdeduling properties from init for unprivileged children of system processes

14 years agoFixed comments in sched
Tomas Hruby [Fri, 16 Jul 2010 09:40:12 +0000 (09:40 +0000)]
Fixed comments in sched

- not only PM can send sched requests. RS too.

14 years agorc - also add /usr/pkg/sbin to $PATH
Ben Gras [Fri, 16 Jul 2010 00:44:57 +0000 (00:44 +0000)]
rc - also add /usr/pkg/sbin to $PATH

14 years agosha1 manpage - fix #include
Ben Gras [Fri, 16 Jul 2010 00:19:19 +0000 (00:19 +0000)]
sha1 manpage - fix #include

14 years agopkgsrc pkg_install tools, ported by Gautam Tirumala.
Ben Gras [Fri, 16 Jul 2010 00:15:25 +0000 (00:15 +0000)]
pkgsrc pkg_install tools, ported by Gautam Tirumala.

14 years agolink in new manpages
Ben Gras [Fri, 16 Jul 2010 00:15:03 +0000 (00:15 +0000)]
link in new manpages

14 years agoman - longer default manpath for packages and llvm
Ben Gras [Fri, 16 Jul 2010 00:13:50 +0000 (00:13 +0000)]
man - longer default manpath for packages and llvm

14 years agonew dirs for pkgsrc; new $PATH for pkg root and llvm
Ben Gras [Fri, 16 Jul 2010 00:13:27 +0000 (00:13 +0000)]
new dirs for pkgsrc; new $PATH for pkg root and llvm

14 years agolib - link in new u64 functions.
Ben Gras [Fri, 16 Jul 2010 00:12:51 +0000 (00:12 +0000)]
lib - link in new u64 functions.

14 years agoincludes - link in new ones
Ben Gras [Fri, 16 Jul 2010 00:12:32 +0000 (00:12 +0000)]
includes - link in new ones

14 years agofurther sha2 conversion by Gautam Tirumala
Ben Gras [Fri, 16 Jul 2010 00:12:16 +0000 (00:12 +0000)]
further sha2 conversion by Gautam Tirumala

14 years agolibutil - sha1 functions.
Ben Gras [Fri, 16 Jul 2010 00:11:16 +0000 (00:11 +0000)]
libutil - sha1 functions.

14 years agolibutil: md5 functions.
Ben Gras [Fri, 16 Jul 2010 00:06:00 +0000 (00:06 +0000)]
libutil: md5 functions.

14 years ago64-bit bitwise manipulation functions, by Gautam Tirumala.
Ben Gras [Thu, 15 Jul 2010 23:48:56 +0000 (23:48 +0000)]
64-bit bitwise manipulation functions, by Gautam Tirumala.

14 years agoAdd/adjust man pages for UDS. Contributed by Thomas Cort
Thomas Veerman [Thu, 15 Jul 2010 14:56:49 +0000 (14:56 +0000)]
Add/adjust man pages for UDS. Contributed by Thomas Cort

14 years agoAdd test56 to test our UDS implementation. Contributed by Thomas Cort
Thomas Veerman [Thu, 15 Jul 2010 14:52:29 +0000 (14:52 +0000)]
Add test56 to test our UDS implementation. Contributed by Thomas Cort

14 years agoFix comment
Erik van der Kouwe [Thu, 15 Jul 2010 14:47:08 +0000 (14:47 +0000)]
Fix comment

14 years agomtree: dirs for pkgsrc
Ben Gras [Thu, 15 Jul 2010 14:29:07 +0000 (14:29 +0000)]
mtree: dirs for pkgsrc

14 years agoAdd support for UNIX Domain Sockets to the C lib. Contributed by Thomas Cort
Thomas Veerman [Thu, 15 Jul 2010 14:05:23 +0000 (14:05 +0000)]
Add support for UNIX Domain Sockets to the C lib. Contributed by Thomas Cort

14 years agoMake RS and VFS aware of new UDS major. Contributed by Thomas Cort
Thomas Veerman [Thu, 15 Jul 2010 13:51:38 +0000 (13:51 +0000)]
Make RS and VFS aware of new UDS major. Contributed by Thomas Cort

14 years agoAdd UNIX Domain Sockets internals to PFS. Contributed by Thomas Cort
Thomas Veerman [Thu, 15 Jul 2010 13:39:57 +0000 (13:39 +0000)]
Add UNIX Domain Sockets internals to PFS. Contributed by Thomas Cort

14 years agoAdd getnucred system call. Contributed by Thomas Cort
Thomas Veerman [Thu, 15 Jul 2010 13:24:57 +0000 (13:24 +0000)]
Add getnucred system call. Contributed by Thomas Cort

14 years agoUpdate header files to support UNIX Domain Sockets. Contributed by Thomas Cort
Thomas Veerman [Thu, 15 Jul 2010 12:48:15 +0000 (12:48 +0000)]
Update header files to support UNIX Domain Sockets. Contributed by Thomas Cort

14 years agoAdd EOVERFLOW error condition
Thomas Veerman [Thu, 15 Jul 2010 12:36:41 +0000 (12:36 +0000)]
Add EOVERFLOW error condition

14 years agoConvert a few man pages to mandoc
Thomas Veerman [Thu, 15 Jul 2010 08:48:24 +0000 (08:48 +0000)]
Convert a few man pages to mandoc

14 years agolib: mkdtemp(), contributed by by Gautam Tirumala
Ben Gras [Wed, 14 Jul 2010 22:45:28 +0000 (22:45 +0000)]
lib: mkdtemp(), contributed by by Gautam Tirumala

14 years agolibc: add db code from netbsd
Ben Gras [Wed, 14 Jul 2010 17:46:18 +0000 (17:46 +0000)]
libc: add db code from netbsd

14 years agolib: don't give back the same temporary filenames even if removed.
Ben Gras [Wed, 14 Jul 2010 15:18:50 +0000 (15:18 +0000)]
lib: don't give back the same temporary filenames even if removed.

workaround for what seems to be a clang/llvm bug/assumption.

14 years agoincludes: header files for netbsd db code.
Ben Gras [Wed, 14 Jul 2010 14:52:02 +0000 (14:52 +0000)]
includes: header files for netbsd db code.

14 years agoRemove patch leftovers.
Cristiano Giuffrida [Tue, 13 Jul 2010 22:40:14 +0000 (22:40 +0000)]
Remove patch leftovers.

14 years agoReplace paxtar with bsdtar
Arun Thomas [Tue, 13 Jul 2010 21:35:58 +0000 (21:35 +0000)]
Replace paxtar with bsdtar

14 years agoDynamic configuration in system.conf for boot system services.
Cristiano Giuffrida [Tue, 13 Jul 2010 21:11:44 +0000 (21:11 +0000)]
Dynamic configuration in system.conf for boot system services.

14 years agoerrno EFTYPE
Ben Gras [Tue, 13 Jul 2010 20:05:47 +0000 (20:05 +0000)]
errno EFTYPE

14 years agoremove old man.1
Ben Gras [Tue, 13 Jul 2010 19:49:12 +0000 (19:49 +0000)]
remove old man.1

14 years agonew command: bsdtar.
Ben Gras [Tue, 13 Jul 2010 19:28:09 +0000 (19:28 +0000)]
new command: bsdtar.

14 years agolibarchive port by Gautam Tirumala.
Ben Gras [Tue, 13 Jul 2010 19:17:02 +0000 (19:17 +0000)]
libarchive port by Gautam Tirumala.

14 years agonetconf: recognize another rtl8169-compatible model
Ben Gras [Tue, 13 Jul 2010 18:44:51 +0000 (18:44 +0000)]
netconf: recognize another rtl8169-compatible model

14 years agotest44: suid root to call getsysinfo
Ben Gras [Tue, 13 Jul 2010 18:27:42 +0000 (18:27 +0000)]
test44: suid root to call getsysinfo

14 years agoScheduling parameters out of the kernel.
Cristiano Giuffrida [Tue, 13 Jul 2010 15:30:17 +0000 (15:30 +0000)]
Scheduling parameters out of the kernel.

14 years agotop-level Makefile: include info on clang-libraries target.
Ben Gras [Tue, 13 Jul 2010 14:13:27 +0000 (14:13 +0000)]
top-level Makefile: include info on clang-libraries target.

14 years agolib: clang-libraries top-level target.
Ben Gras [Tue, 13 Jul 2010 14:11:31 +0000 (14:11 +0000)]
lib: clang-libraries top-level target.

14 years agotests: fixes to accomodate growing OPEN_MAX and a logic error
Ben Gras [Tue, 13 Jul 2010 12:38:58 +0000 (12:38 +0000)]
tests: fixes to accomodate growing OPEN_MAX and a logic error

14 years agoMan pages for new system configuration.
Cristiano Giuffrida [Tue, 13 Jul 2010 11:45:41 +0000 (11:45 +0000)]
Man pages for new system configuration.

14 years agolibsys: add standard condition spinning primitives
David van Moolenbroek [Mon, 12 Jul 2010 23:14:40 +0000 (23:14 +0000)]
libsys: add standard condition spinning primitives

14 years agodatasizes(1): gcc/clang support
David van Moolenbroek [Mon, 12 Jul 2010 23:12:21 +0000 (23:12 +0000)]
datasizes(1): gcc/clang support

14 years agoelle: minor changes to compile with non-ack.
Ben Gras [Mon, 12 Jul 2010 20:09:03 +0000 (20:09 +0000)]
elle: minor changes to compile with non-ack.

14 years agoImport strsep() from NetBSD's libnbcompat
Arun Thomas [Mon, 12 Jul 2010 17:41:31 +0000 (17:41 +0000)]
Import strsep() from NetBSD's libnbcompat

Ported by Gautam Tirumala

14 years agoshquote() from NetBSD's libnbcompat
Arun Thomas [Mon, 12 Jul 2010 17:32:57 +0000 (17:32 +0000)]
shquote() from NetBSD's libnbcompat

Ported by Gautam Tirumala

14 years agounstack: filter for llvm internal symbols.
Ben Gras [Mon, 12 Jul 2010 17:03:29 +0000 (17:03 +0000)]
unstack: filter for llvm internal symbols.

14 years agotests: turn of optimisation when compiling the tests, less unexpected optimisations.
Ben Gras [Mon, 12 Jul 2010 16:22:05 +0000 (16:22 +0000)]
tests: turn of optimisation when compiling the tests, less unexpected optimisations.

14 years agoFix bsd.own.mk owners/objformat for pkgsrc
Arun Thomas [Mon, 12 Jul 2010 13:48:14 +0000 (13:48 +0000)]
Fix bsd.own.mk owners/objformat for pkgsrc

Contributed by Gautam Tirumala

14 years agoInstall(1): Allow -c option with -d
Arun Thomas [Mon, 12 Jul 2010 13:38:13 +0000 (13:38 +0000)]
Install(1): Allow -c option with -d

Contributed by Gautam Tirumala

14 years agokernel: compile with -mi386 under gcc/clang to not generate SSE code in-kernel.
Ben Gras [Mon, 12 Jul 2010 10:11:50 +0000 (10:11 +0000)]
kernel: compile with -mi386 under gcc/clang to not generate SSE code in-kernel.

14 years agoImport asprintf() and vasprintf()
Arun Thomas [Sun, 11 Jul 2010 13:46:58 +0000 (13:46 +0000)]
Import asprintf() and vasprintf()

Ported from libnbcompat by Gautam Tirumala

14 years agortl8169 driver: let it recognize an extra card that works too
Ben Gras [Sat, 10 Jul 2010 17:04:17 +0000 (17:04 +0000)]
rtl8169 driver: let it recognize an extra card that works too

14 years agotest44: add bogus getsysinfo() to test invalid memory range request to vm
Ben Gras [Sat, 10 Jul 2010 00:24:43 +0000 (00:24 +0000)]
test44: add bogus getsysinfo() to test invalid memory range request to vm

test case contributed by Roman Ignatov.

14 years agoLet string.h include stdint.h, since some programs, in particular llvm/clang,
Kees van Reeuwijk [Fri, 9 Jul 2010 23:58:37 +0000 (23:58 +0000)]
Let string.h include stdint.h, since some programs, in particular llvm/clang,
assume that this happens.

14 years agoRS live update support.
Cristiano Giuffrida [Fri, 9 Jul 2010 18:29:04 +0000 (18:29 +0000)]
RS live update support.

14 years agomove timers code to libsys
David van Moolenbroek [Fri, 9 Jul 2010 12:58:18 +0000 (12:58 +0000)]
move timers code to libsys

14 years agovm: NONCONTIGUOUS - try to make physical memory as maximally noncontiguous
Ben Gras [Fri, 9 Jul 2010 12:22:33 +0000 (12:22 +0000)]
vm: NONCONTIGUOUS - try to make physical memory as maximally noncontiguous

14 years agoPull in NetBSD's queue.h (for pkgsrc)
Arun Thomas [Wed, 7 Jul 2010 14:17:25 +0000 (14:17 +0000)]
Pull in NetBSD's queue.h (for pkgsrc)

14 years agolibdriver: don't panic so easily
David van Moolenbroek [Wed, 7 Jul 2010 11:04:33 +0000 (11:04 +0000)]
libdriver: don't panic so easily

14 years agoRS crash recovery support.
Cristiano Giuffrida [Tue, 6 Jul 2010 22:05:21 +0000 (22:05 +0000)]
RS crash recovery support.

14 years agokernel: fix main prototype
Ben Gras [Tue, 6 Jul 2010 12:14:59 +0000 (12:14 +0000)]
kernel: fix main prototype

14 years agoboot: fix clang warnings.
Ben Gras [Tue, 6 Jul 2010 12:11:25 +0000 (12:11 +0000)]
boot: fix clang warnings.

14 years agocommands: fixes for clang errors.
Ben Gras [Tue, 6 Jul 2010 12:10:23 +0000 (12:10 +0000)]
commands: fixes for clang errors.

14 years agolib: fixes for warnings that clang has for libraries.
Ben Gras [Tue, 6 Jul 2010 12:08:22 +0000 (12:08 +0000)]
lib: fixes for warnings that clang has for libraries.

14 years agoinclude, kernel: minor fixes to make compiling and linking work with clang.
Ben Gras [Tue, 6 Jul 2010 11:59:19 +0000 (11:59 +0000)]
include, kernel: minor fixes to make compiling and linking work with clang.

(fixing warnings)

14 years agosys.mk: remove trailing whitespace.
Ben Gras [Tue, 6 Jul 2010 11:48:11 +0000 (11:48 +0000)]
sys.mk: remove trailing whitespace.

14 years agoRepair errors and warnings flagged by llvm.
Kees van Reeuwijk [Tue, 6 Jul 2010 11:29:23 +0000 (11:29 +0000)]
Repair errors and warnings flagged by llvm.

14 years agoFix building of image target
Arun Thomas [Tue, 6 Jul 2010 09:19:04 +0000 (09:19 +0000)]
Fix building of image target

14 years agoCleanup dep file.
Cristiano Giuffrida [Mon, 5 Jul 2010 21:04:31 +0000 (21:04 +0000)]
Cleanup dep file.

14 years agoConfigure settings for system services dynamically with the new service edit command.
Cristiano Giuffrida [Mon, 5 Jul 2010 19:37:08 +0000 (19:37 +0000)]
Configure settings for system services dynamically with the new service edit command.

14 years agokernel: these asserts from r7657 are not reasonable
Ben Gras [Mon, 5 Jul 2010 17:45:16 +0000 (17:45 +0000)]
kernel: these asserts from r7657 are not reasonable

will fire if copy needs more than one try, which is legit.

14 years agovm: better fix for clang 'unused expression' warning
Ben Gras [Mon, 5 Jul 2010 17:34:26 +0000 (17:34 +0000)]
vm: better fix for clang 'unused expression' warning

14 years agomk: add recognizing CC=clang, patch by Arun
Ben Gras [Mon, 5 Jul 2010 17:33:34 +0000 (17:33 +0000)]
mk: add recognizing CC=clang, patch by Arun

14 years agovm: last commit should not have included wiping out these calls
Ben Gras [Mon, 5 Jul 2010 14:01:34 +0000 (14:01 +0000)]
vm: last commit should not have included wiping out these calls

(this was done temporarily to make vm work with clang; vm crashes when
the 64-bit arithmetic functions are used when compiled with clang.)

14 years agovm: fixes for clang warnings
Ben Gras [Mon, 5 Jul 2010 13:58:57 +0000 (13:58 +0000)]
vm: fixes for clang warnings