]>
Zhao Yanbai Git Server - minix.git/log
Ben Gras [Fri, 3 Mar 2006 10:00:02 +0000 (10:00 +0000)]
'proc number' is process slot, 'endpoint' are generation-aware process
instance numbers, encoded and decoded using macros in <minix/endpoint.h>.
proc number -> endpoint migration
. proc_nr in the interrupt hook is now an endpoint, proc_nr_e.
. m_source for messages and notifies is now an endpoint, instead of
proc number.
. isokendpt() converts an endpoint to a process number, returns
success (but fails if the process number is out of range, the
process slot is not a living process, or the given endpoint
number does not match the endpoint number in the process slot,
indicating an old process).
. okendpt() is the same as isokendpt(), but panic()s if the conversion
fails. This is mainly used for decoding message.m_source endpoints,
and other endpoint numbers in kernel data structures, which should
always be correct.
. if DEBUG_ENABLE_IPC_WARNINGS is enabled, isokendpt() and okendpt()
get passed the __FILE__ and __LINE__ of the calling lines, and
print messages about what is wrong with the endpoint number
(out of range proc, empty proc, or inconsistent endpoint number),
with the caller, making finding where the conversion failed easy
without having to include code for every call to print where things
went wrong. Sometimes this is harmless (wrong arg to a kernel call),
sometimes it's a fatal internal inconsistency (bogus m_source).
. some process table fields have been appended an _e to indicate it's
become and endpoint.
. process endpoint is stored in p_endpoint, without generation number.
it turns out the kernel never needs the generation number, except
when fork()ing, so it's decoded then.
. kernel calls all take endpoints as arguments, not proc numbers.
the one exception is sys_fork(), which needs to know in which slot
to put the child.
Ben Gras [Fri, 3 Mar 2006 09:44:55 +0000 (09:44 +0000)]
. rename message fields to endpoint variants
. remove or optionalify some pci debugging stuff
Ben Gras [Fri, 3 Mar 2006 09:43:06 +0000 (09:43 +0000)]
Changes to support endpoints.
. rename message field name macros from *PROC* to *ENDPT*,
both to reflect the new meaning and to use it to hunt down where
they are used
. _PM_SEG_FLAG in fd replaces funny segment loading construction by
PM in FS
. _MAX_MAGIC_PROC is the highest used proc number, including magic
constants such as (currently) ANY, NONE and SELF, used by the
endpoint macros to make sure they are encoded properly and no valid
endpoint number ever encodes to it.
. rename proc_nr in address copy struct to proc_nr_e (endpoint)
Ben Gras [Wed, 1 Mar 2006 15:28:07 +0000 (15:28 +0000)]
Test fixes
Added test41, for endpoint macros
Ben Gras [Fri, 24 Feb 2006 12:56:06 +0000 (12:56 +0000)]
Don't include cdprobe any more
Philip Homburg [Fri, 24 Feb 2006 12:55:47 +0000 (12:55 +0000)]
LBA48 support.
Philip Homburg [Fri, 24 Feb 2006 12:55:00 +0000 (12:55 +0000)]
Change to some debug code.
Philip Homburg [Fri, 24 Feb 2006 12:53:54 +0000 (12:53 +0000)]
Allow bigger sizes.
Ben Gras [Wed, 22 Feb 2006 13:45:29 +0000 (13:45 +0000)]
Lance needs 4k due to 4k clicksize
Ben Gras [Tue, 21 Feb 2006 16:06:28 +0000 (16:06 +0000)]
Don't complain, urlget
Ben Gras [Tue, 21 Feb 2006 16:04:18 +0000 (16:04 +0000)]
Peter Boonstoppel's recwave update.
Ben Gras [Tue, 21 Feb 2006 15:59:33 +0000 (15:59 +0000)]
Peter Boonstoppel's audio changes.
Ben Gras [Tue, 21 Feb 2006 15:26:12 +0000 (15:26 +0000)]
Initial endpoint macros.
Ben Gras [Mon, 20 Feb 2006 16:00:24 +0000 (16:00 +0000)]
*** empty log message ***
Ben Gras [Mon, 20 Feb 2006 15:11:41 +0000 (15:11 +0000)]
It's not always initialization
Philip Homburg [Mon, 20 Feb 2006 14:35:01 +0000 (14:35 +0000)]
Fixed bug in canceling TCP ioctls before INET got an IP address.
Ben Gras [Fri, 17 Feb 2006 16:46:08 +0000 (16:46 +0000)]
Don't copy memory to rescue
local package initialization
Ben Gras [Fri, 17 Feb 2006 15:14:46 +0000 (15:14 +0000)]
Make a /usr/local/etc/rc.d
Ben Gras [Fri, 17 Feb 2006 15:03:38 +0000 (15:03 +0000)]
Install memory in /usr/sbin
Ben Gras [Fri, 17 Feb 2006 14:43:00 +0000 (14:43 +0000)]
Smaller device
Philip Homburg [Fri, 17 Feb 2006 14:12:47 +0000 (14:12 +0000)]
Conditional compilation for SIGIOT and SIGEMT.
Philip Homburg [Fri, 17 Feb 2006 14:12:12 +0000 (14:12 +0000)]
Reintroduced SIGEMT.
Ben Gras [Fri, 17 Feb 2006 14:05:46 +0000 (14:05 +0000)]
Refix
Philip Homburg [Fri, 17 Feb 2006 13:47:31 +0000 (13:47 +0000)]
improved tcp_acceptto.
Philip Homburg [Fri, 17 Feb 2006 13:45:41 +0000 (13:45 +0000)]
Socket options SO_RCVBUF, SO_SNDBUF, and TCP_NODELAY.
Philip Homburg [Fri, 17 Feb 2006 13:44:48 +0000 (13:44 +0000)]
More error texts.
Philip Homburg [Fri, 17 Feb 2006 13:43:50 +0000 (13:43 +0000)]
New errors and defines for socket options.
Philip Homburg [Fri, 17 Feb 2006 13:43:07 +0000 (13:43 +0000)]
SIGBUS needs its own number. Removed SIGEMT. Made SIGIOT conditional on
_MINIX.
Ben Gras [Fri, 17 Feb 2006 13:27:48 +0000 (13:27 +0000)]
don't make clean first
Ben Gras [Fri, 17 Feb 2006 13:27:01 +0000 (13:27 +0000)]
Throw elvis out of the base system
Ben Gras [Fri, 17 Feb 2006 13:19:10 +0000 (13:19 +0000)]
memory moved
Ben Gras [Fri, 17 Feb 2006 13:12:07 +0000 (13:12 +0000)]
Make 'make install' work
Ben Gras [Fri, 17 Feb 2006 13:11:20 +0000 (13:11 +0000)]
Let saving random data work again
Ben Gras [Fri, 17 Feb 2006 13:10:37 +0000 (13:10 +0000)]
*** empty log message ***
Ben Gras [Fri, 17 Feb 2006 12:36:53 +0000 (12:36 +0000)]
Kick nvi out of base
Ben Gras [Fri, 17 Feb 2006 12:34:18 +0000 (12:34 +0000)]
Make more
Ben Gras [Fri, 17 Feb 2006 11:58:02 +0000 (11:58 +0000)]
Added some of my root devices
Ben Gras [Fri, 17 Feb 2006 10:23:16 +0000 (10:23 +0000)]
getmachine info first, then init tty.
Problem report and fix given by:
Prof: Alejandro T. Bello Ruiz <abello@macareo.pucp.edu.pe>
Ben Gras [Thu, 16 Feb 2006 20:56:34 +0000 (20:56 +0000)]
bigmake.inc is obsolete
Ben Gras [Thu, 16 Feb 2006 15:44:52 +0000 (15:44 +0000)]
*** empty log message ***
Ben Gras [Thu, 16 Feb 2006 15:43:37 +0000 (15:43 +0000)]
Fixes for packaging system that will read .postinstall script and run it
if exists.
packit installs a package.
Ben Gras [Thu, 16 Feb 2006 15:38:13 +0000 (15:38 +0000)]
sshd user
Philip Homburg [Thu, 16 Feb 2006 14:13:36 +0000 (14:13 +0000)]
Fixed two memory leaks.
Ben Gras [Wed, 15 Feb 2006 14:22:40 +0000 (14:22 +0000)]
Really disable debug
Philip Homburg [Wed, 15 Feb 2006 14:21:56 +0000 (14:21 +0000)]
Moved PCI driver to the ramdisk.
Ben Gras [Wed, 15 Feb 2006 14:16:06 +0000 (14:16 +0000)]
Turn off debug in getsockname.c
allow NULL for setgroups argument
Philip Homburg [Wed, 15 Feb 2006 11:18:21 +0000 (11:18 +0000)]
Initial root filesystem is now on a ramdisk that is part of the image.
Philip Homburg [Wed, 15 Feb 2006 11:06:32 +0000 (11:06 +0000)]
image_small doesn't fit anymore. What do we do with that?
Philip Homburg [Wed, 15 Feb 2006 11:05:47 +0000 (11:05 +0000)]
/dev/ram is no longer hardcoded.
Philip Homburg [Wed, 15 Feb 2006 11:03:28 +0000 (11:03 +0000)]
Accept optional device parameter for cdfdboot.
Ben Gras [Mon, 13 Feb 2006 15:06:01 +0000 (15:06 +0000)]
Make initgroups() fail if user has any supplemental groups.
Ben Gras [Mon, 13 Feb 2006 15:00:49 +0000 (15:00 +0000)]
Fake setgroups() and initgroups() implementation.
Ben Gras [Mon, 13 Feb 2006 13:10:53 +0000 (13:10 +0000)]
*** empty log message ***
Ben Gras [Mon, 13 Feb 2006 12:53:50 +0000 (12:53 +0000)]
Added truncate/ftruncate manpage.
Ben Gras [Mon, 13 Feb 2006 11:07:21 +0000 (11:07 +0000)]
. changed MAXOPEN's from statics to (OPEN_MAX-3)
(test broke after increasing OPEN_MAX)
. changed s_nokill to s_nokill_stop
(test broken as SIGSTOP isn't maskable)
Ben Gras [Mon, 13 Feb 2006 10:32:05 +0000 (10:32 +0000)]
Revert to 30 OPEN_MAX (committed by mistake)
Ben Gras [Mon, 13 Feb 2006 10:28:42 +0000 (10:28 +0000)]
Don't sync before exiting drivers.
Wipe inodes of pipes in truncate_inode(), to avoid the size remaining
at PIPE_SIZE causing pipes to break.
Ben Gras [Fri, 10 Feb 2006 16:53:51 +0000 (16:53 +0000)]
added reenter check to lock_dequeue() to avoid unlocking of interrupts
via cause_sig() during an exception.
moved lock check configuration to <minix/sys_config.h> instead of
kernel/config.h, because the 'relocking' field in kinfo depends on it.
other prettification: common locking macro, whether lock timing is on or
not.
Ben Gras [Mon, 6 Feb 2006 16:40:15 +0000 (16:40 +0000)]
umount /usr first
Ben Gras [Mon, 6 Feb 2006 16:17:54 +0000 (16:17 +0000)]
Run postinstall script
Ben Gras [Mon, 6 Feb 2006 15:33:39 +0000 (15:33 +0000)]
Ignore system signals.
Ben Gras [Mon, 6 Feb 2006 15:16:14 +0000 (15:16 +0000)]
Moved ipc debug out of conditional.
Gave pci server sys_getinfo privilege.
Ben Gras [Mon, 6 Feb 2006 15:03:51 +0000 (15:03 +0000)]
#ifdeffed out some more debug stuff
Ben Gras [Mon, 6 Feb 2006 15:02:19 +0000 (15:02 +0000)]
#ifdeffed out some debug code
Ben Gras [Mon, 6 Feb 2006 10:55:38 +0000 (10:55 +0000)]
Packme fix.
Ben Gras [Fri, 3 Feb 2006 16:06:14 +0000 (16:06 +0000)]
*** empty log message ***
Ben Gras [Fri, 3 Feb 2006 15:57:49 +0000 (15:57 +0000)]
Packages.
Ben Gras [Fri, 3 Feb 2006 15:55:54 +0000 (15:55 +0000)]
bzip
Ben Gras [Fri, 3 Feb 2006 15:52:12 +0000 (15:52 +0000)]
Removed flex from base.
Ben Gras [Fri, 3 Feb 2006 15:43:29 +0000 (15:43 +0000)]
Don't copy /usr/gnu
Ben Gras [Fri, 3 Feb 2006 15:41:58 +0000 (15:41 +0000)]
*** empty log message ***
Ben Gras [Fri, 3 Feb 2006 15:21:00 +0000 (15:21 +0000)]
Don't kill processes by signals in process group 0, and do a sync before
killing all processes in FS reboot.
Ben Gras [Fri, 3 Feb 2006 14:54:20 +0000 (14:54 +0000)]
Give init process group 1.
Ben Gras [Fri, 3 Feb 2006 12:59:58 +0000 (12:59 +0000)]
isodir prints one entry on each line without padding or trailing slashes
(for dirs) if the output isn't a tty, like ls, for use in shell scripts.
Ben Gras [Thu, 2 Feb 2006 18:20:09 +0000 (18:20 +0000)]
Save name of cd drive for package manager
Ben Gras [Thu, 2 Feb 2006 18:14:42 +0000 (18:14 +0000)]
Test for non-cd users
Ben Gras [Thu, 2 Feb 2006 18:12:21 +0000 (18:12 +0000)]
Make easypack check for errors from urlget instead of trying with <HTML..
grepping.
Ben Gras [Thu, 2 Feb 2006 18:08:25 +0000 (18:08 +0000)]
Make urlget return errors on non-200 http codes
Ben Gras [Thu, 2 Feb 2006 17:13:07 +0000 (17:13 +0000)]
fix builds not to do bigmakes
gzip is out of the base system
Ben Gras [Thu, 2 Feb 2006 17:12:16 +0000 (17:12 +0000)]
. rotate uses bzip2 instead of gzip
. binpackages runs a binpackage batch
. easypack does binsizes big first
Ben Gras [Thu, 2 Feb 2006 17:11:10 +0000 (17:11 +0000)]
Include binary packages on cd.
Ben Gras [Thu, 2 Feb 2006 16:59:07 +0000 (16:59 +0000)]
. use proper S_ISFIFO for ISFIFO check
. ignore ESPIPE error from lseek() in fflush() on read streams
(because fifo's aren't detected when stdin, stdout or stderr)
Ben Gras [Wed, 1 Feb 2006 14:29:58 +0000 (14:29 +0000)]
i86 driver not built as package
Ben Gras [Wed, 1 Feb 2006 11:18:54 +0000 (11:18 +0000)]
fix for no 'build' arg
Philip Homburg [Mon, 30 Jan 2006 16:27:49 +0000 (16:27 +0000)]
Added SIGCONT to the list of signal that are to be ignored by default.
Ben Gras [Fri, 27 Jan 2006 14:44:05 +0000 (14:44 +0000)]
cleanup
Ben Gras [Fri, 27 Jan 2006 14:38:23 +0000 (14:38 +0000)]
build scripts accept 'build' argument to not install
Ben Gras [Fri, 27 Jan 2006 14:31:27 +0000 (14:31 +0000)]
Compile fix for major
Philip Homburg [Fri, 27 Jan 2006 14:14:51 +0000 (14:14 +0000)]
Fail when make in a subdirectory fails.
Philip Homburg [Fri, 27 Jan 2006 14:14:13 +0000 (14:14 +0000)]
Make sys_privctl make the prototype.
Ben Gras [Fri, 27 Jan 2006 14:01:36 +0000 (14:01 +0000)]
fts import from freebsd
re-activated fchdir()
Ben Gras [Fri, 27 Jan 2006 13:57:18 +0000 (13:57 +0000)]
fixes to include major() and minor() in system header files (in a different
file than sys/types.h)
small binpackage update
Philip Homburg [Fri, 27 Jan 2006 13:26:42 +0000 (13:26 +0000)]
Cosmetic changes.
Philip Homburg [Fri, 27 Jan 2006 13:21:12 +0000 (13:21 +0000)]
Store resource lists for drivers. Limited checks to enforce those lists.
Philip Homburg [Fri, 27 Jan 2006 13:20:06 +0000 (13:20 +0000)]
Use the sys_privctl library function.
Philip Homburg [Fri, 27 Jan 2006 13:18:07 +0000 (13:18 +0000)]
Report resources to the kernel.
Philip Homburg [Fri, 27 Jan 2006 13:02:02 +0000 (13:02 +0000)]
I/O, memory and IRQ resource control interface.
Philip Homburg [Fri, 27 Jan 2006 12:58:09 +0000 (12:58 +0000)]
Check contents of symbolic links.
Philip Homburg [Fri, 27 Jan 2006 12:54:47 +0000 (12:54 +0000)]
Added sys_privctl.c.
Ben Gras [Thu, 26 Jan 2006 14:31:00 +0000 (14:31 +0000)]
Safety feature for symlink() - verify length of symlink contents
buffer with strlen()