]> Zhao Yanbai Git Server - minix.git/log
minix.git
14 years agoVFS fixes:
David van Moolenbroek [Mon, 8 Mar 2010 22:05:27 +0000 (22:05 +0000)]
VFS fixes:
- do not use uninitialized req_breadwrite results upon failure
- improve ".." ELEAVEMOUNT correctness check

14 years agoAlso run fixincludes in gcc 4.4.3
Kees van Reeuwijk [Mon, 8 Mar 2010 14:51:00 +0000 (14:51 +0000)]
Also run fixincludes in gcc 4.4.3

14 years agofix for wrong arg to va_end() in panic() (thanks tveerman)
Ben Gras [Mon, 8 Mar 2010 14:36:55 +0000 (14:36 +0000)]
fix for wrong arg to va_end() in panic() (thanks tveerman)

14 years agoInclude directory reorg and makefile updates.
Arun Thomas [Mon, 8 Mar 2010 11:04:59 +0000 (11:04 +0000)]
Include directory reorg and makefile updates.

-Convert the include directory over to using bsdmake
 syntax
-Update/add mkfiles
-Modify install(1) so that it can create symlinks
-Update makefiles to use new install(1) options
-Rename /usr/include/ibm to /usr/include/i386
-Create /usr/include/machine symlink to arch header files
-Move vm_i386.h to its new home in the /usr/include/i386
-Update source files to #include the header files at their
 new homes.
-Add new gnu-includes target for building GCC headers

14 years agoFix for FPU broken by r6131
Tomas Hruby [Fri, 5 Mar 2010 22:23:03 +0000 (22:23 +0000)]
Fix for FPU broken by r6131

- cycles accounting must be called earlier, firstly not to clobber the %ebx
  register, secondly to be correctly called in both branches.

14 years agopanic() cleanup.
Ben Gras [Fri, 5 Mar 2010 15:05:11 +0000 (15:05 +0000)]
panic() cleanup.

this change
   - makes panic() variadic, doing full printf() formatting -
     no more NO_NUM, and no more separate printf() statements
     needed to print extra info (or something in hex) before panicing
   - unifies panic() - same panic() name and usage for everyone -
     vm, kernel and rest have different names/syntax currently
     in order to implement their own luxuries, but no longer
   - throws out the 1st argument, to make source less noisy.
     the panic() in syslib retrieves the server name from the kernel
     so it should be clear enough who is panicing; e.g.
         panic("sigaction failed: %d", errno);
     looks like:
         at_wini(73130): panic: sigaction failed: 0
         syslib:panic.c: stacktrace: 0x74dc 0x2025 0x100a
   - throws out report() - printf() is more convenient and powerful
   - harmonizes/fixes the use of panic() - there were a few places
     that used printf-style formatting (didn't work) and newlines
     (messes up the formatting) in panic()
   - throws out a few per-server panic() functions
   - cleans up a tie-in of tty with panic()

merging printf() and panic() statements to be done incrementally.

14 years agoMove cp_grant_id_t to a more central header file, and uses it more
Kees van Reeuwijk [Thu, 4 Mar 2010 16:15:26 +0000 (16:15 +0000)]
Move cp_grant_id_t to a more central header file, and uses it more
extensively.
Fix casts that cast the grand id field of some messages to the wrong
type.

14 years agoNo more E{SRC,DST}DIED errno's, replaced by EDEADSRCDST.
Ben Gras [Wed, 3 Mar 2010 15:47:16 +0000 (15:47 +0000)]
No more E{SRC,DST}DIED errno's, replaced by EDEADSRCDST.

The callers don't care about the difference and had to check 3 error
codes instead of one.

14 years agotop manpage update
Ben Gras [Wed, 3 Mar 2010 15:46:20 +0000 (15:46 +0000)]
top manpage update

14 years agonew feature for top - display chain of blocked processes for every
Ben Gras [Wed, 3 Mar 2010 15:45:43 +0000 (15:45 +0000)]
new feature for top - display chain of blocked processes for every
blocked process.

14 years agono more kprintf - kernel uses libsys printf now, only kputc is special
Ben Gras [Wed, 3 Mar 2010 15:45:01 +0000 (15:45 +0000)]
no more kprintf - kernel uses libsys printf now, only kputc is special
to the kernel.

14 years agoNew P_BLOCKEDON for kernel - a macro that encodes the "who is this
Ben Gras [Wed, 3 Mar 2010 15:32:26 +0000 (15:32 +0000)]
New P_BLOCKEDON for kernel - a macro that encodes the "who is this
process waiting for" logic, which is duplicated a few times in the
kernel. (For a new feature for top.)

Introducing it and throwing out ESRCDIED and EDSTDIED (replaced by
EDEADSRCDST - so we don't have to care which part of the blocking is
failing in system.c) simplifies some code in the kernel and callers that
check for E{DEADSRCDST,ESRCDIED,EDSTDIED}, but don't care about the
difference, a fair bit, and more significantly doesn't duplicate the
'blocked-on' logic.

14 years agoConvert library asm files to GAS syntax
Arun Thomas [Wed, 3 Mar 2010 14:27:30 +0000 (14:27 +0000)]
Convert library asm files to GAS syntax

14 years agoMore correctly use cp_grant_id_t.
Kees van Reeuwijk [Tue, 2 Mar 2010 23:12:13 +0000 (23:12 +0000)]
More correctly use cp_grant_id_t.
More correctly use vir_bytes.
More correctly use endpoint_t.

14 years agoFixed a number of cases where a bits in an integer were tested
Kees van Reeuwijk [Tue, 2 Mar 2010 12:55:39 +0000 (12:55 +0000)]
Fixed a number of cases where a bits in an integer were tested
incorrectly, resulting in real (and nasty) bugs.

14 years agoTypo in VM server
Tomas Hruby [Tue, 2 Mar 2010 10:53:17 +0000 (10:53 +0000)]
Typo in VM server

14 years agoslight tuning of /etc/mk situation when making release.
Ben Gras [Mon, 1 Mar 2010 15:53:57 +0000 (15:53 +0000)]
slight tuning of /etc/mk situation when making release.

  - Make the bootstrap /etc/mk be populated from the newly checked out source
  - Don't chmod 755 all of /etc
  - For the 'real' /etc/mk installing, let the /etc/mk ownership and permission
    come from the mtree file, delete the contents of /etc/mk, then copy the .mk
    files over and set reasonable permissions and ownership. (So that the .mk
    get updated from the real usr/src/ copies, and no other junk if anything,
    after the bootstrap phase, whatever happened there.)

14 years ago#include <minix/ipc.h> in <minix/sef.h>
Erik van der Kouwe [Fri, 26 Feb 2010 10:13:50 +0000 (10:13 +0000)]
#include <minix/ipc.h> in <minix/sef.h>

14 years ago#include <minix/ipc.h> in <minix/sef.h>
Erik van der Kouwe [Fri, 26 Feb 2010 10:12:54 +0000 (10:12 +0000)]
#include <minix/ipc.h> in <minix/sef.h>

14 years agoCopy mkfiles when building world
Arun Thomas [Thu, 25 Feb 2010 22:10:48 +0000 (22:10 +0000)]
Copy mkfiles when building world

14 years ago - new pread(), fnmatch() calls
Ben Gras [Thu, 25 Feb 2010 17:08:08 +0000 (17:08 +0000)]
 - new pread(), fnmatch() calls
 - split sprintf() and snprintf() to solve a linking problem when
   compiling an application

14 years agoReplace Minix tar with pax's tar
Arun Thomas [Wed, 24 Feb 2010 11:58:10 +0000 (11:58 +0000)]
Replace Minix tar with pax's tar

14 years agoImprove makefile logic for building programs/libs
Arun Thomas [Wed, 24 Feb 2010 11:58:05 +0000 (11:58 +0000)]
Improve makefile logic for building programs/libs

14 years agoFixed an array bounds violation.
Kees van Reeuwijk [Wed, 24 Feb 2010 10:39:58 +0000 (10:39 +0000)]
Fixed an array bounds violation.
Let include guards comform to the Minix standard.

14 years agoFix an array-bound violation, add some include guards.
Kees van Reeuwijk [Mon, 22 Feb 2010 17:44:08 +0000 (17:44 +0000)]
Fix an array-bound violation, add some include guards.

14 years agoremove subdirs that aren't built.
Ben Gras [Fri, 19 Feb 2010 16:31:43 +0000 (16:31 +0000)]
remove subdirs that aren't built.

ftp is superseded by other dirs, i86 is not used, httpd* is superseded
by packages, sed is superseded by simple/sed.c.

14 years agoadd swifi to the build/install.
Ben Gras [Fri, 19 Feb 2010 16:16:28 +0000 (16:16 +0000)]
add swifi to the build/install.

14 years agofix some warning in swifi, make it installable
Ben Gras [Fri, 19 Feb 2010 16:15:25 +0000 (16:15 +0000)]
fix some warning in swifi, make it installable

14 years agoFlag to load kernel high (not yet used by default), improved debug output
Erik van der Kouwe [Fri, 19 Feb 2010 12:38:38 +0000 (12:38 +0000)]
Flag to load kernel high (not yet used by default), improved debug output

14 years agoRemove executable bit on mkdep.1
Erik van der Kouwe [Fri, 19 Feb 2010 12:32:01 +0000 (12:32 +0000)]
Remove executable bit on mkdep.1

14 years agoFix some uses of uninitialized variables.
Kees van Reeuwijk [Fri, 19 Feb 2010 10:41:02 +0000 (10:41 +0000)]
Fix some uses of uninitialized variables.

14 years agoRemove useless variables and the computations on them.
Kees van Reeuwijk [Fri, 19 Feb 2010 10:00:32 +0000 (10:00 +0000)]
Remove useless variables and the computations on them.

14 years agoLots of cleanup of boot code.
Kees van Reeuwijk [Wed, 17 Feb 2010 20:30:29 +0000 (20:30 +0000)]
Lots of cleanup of boot code.

14 years agoRemove some unused #include.
Kees van Reeuwijk [Wed, 17 Feb 2010 20:24:42 +0000 (20:24 +0000)]
Remove some unused #include.
Remove some unused variables and computations on them.

14 years agoBump version number to 3.1.7
Arun Thomas [Wed, 17 Feb 2010 12:51:26 +0000 (12:51 +0000)]
Bump version number to 3.1.7

14 years agoGet gcc tests building again
Arun Thomas [Wed, 17 Feb 2010 08:45:56 +0000 (08:45 +0000)]
Get gcc tests building again

14 years agoThrow out obsolete Atari, Macintosh and Sun code to un-break packages;
Erik van der Kouwe [Tue, 16 Feb 2010 19:19:42 +0000 (19:19 +0000)]
Throw out obsolete Atari, Macintosh and Sun code to un-break packages;
credits to Sernin van de Krol's zip-2.31 patch for showing this problem

14 years agoIncorporate bsdmake into buildsystem and reorganize libs
Arun Thomas [Tue, 16 Feb 2010 14:41:33 +0000 (14:41 +0000)]
Incorporate bsdmake into buildsystem and reorganize libs

14 years agoThe function fabsf should return a float, not a double.
Kees van Reeuwijk [Mon, 15 Feb 2010 14:25:33 +0000 (14:25 +0000)]
The function fabsf should return a float, not a double.

14 years agofix the somehow newly introduced warnings
David van Moolenbroek [Sun, 14 Feb 2010 18:39:47 +0000 (18:39 +0000)]
fix the somehow newly introduced warnings

14 years agouse the verbose=2 boot monitor setting to get extensive output for debugging
Erik van der Kouwe [Sat, 13 Feb 2010 22:11:16 +0000 (22:11 +0000)]
use the verbose=2 boot monitor setting to get extensive output for debugging

14 years agoUndo the use of #include <...> because it caused some errors.
Kees van Reeuwijk [Fri, 12 Feb 2010 14:43:18 +0000 (14:43 +0000)]
Undo the use of #include <...> because it caused some errors.

14 years agotop update
Tomas Hruby [Wed, 10 Feb 2010 15:38:27 +0000 (15:38 +0000)]
top update

- it works with the new TSC based time accounting

14 years agoTime accounting based on TSC
Tomas Hruby [Wed, 10 Feb 2010 15:36:54 +0000 (15:36 +0000)]
Time accounting based on TSC

- as thre are still KERNEL and IDLE entries, time accounting for
  kernel and idle time works the same as for any other process

- everytime we stop accounting for the currently running process,
  kernel or idle, we read the TSC counter and increment the p_cycles
  entry.

- the process cycles inherently include some of the kernel cycles as
  we can stop accounting for the process only after we save its
  context and we start accounting just before we restore its context

- this assumes that the system does not scale the CPU frequency which
  will be true for ... long time ;-)

14 years agonew free_contig() and changes to make drivers use it; so now we
Ben Gras [Wed, 10 Feb 2010 13:56:26 +0000 (13:56 +0000)]
new free_contig() and changes to make drivers use it; so now we
have malloc/free, alloc_contig/free_contig and mmap/munmap nicely
paired up.

memory uses malloc/free instead of mmap/munmap as it doesn't have
to be contiguous for the ramdisks (and it might help if it doesn't!).

14 years agoFixes broken orinoco compilation in r6119
Tomas Hruby [Tue, 9 Feb 2010 16:43:34 +0000 (16:43 +0000)]
Fixes broken orinoco compilation in r6119

14 years agoAnd of course, as much as I've tried to be careful I forgot to add this file in
Tomas Hruby [Tue, 9 Feb 2010 15:36:29 +0000 (15:36 +0000)]
And of course, as much as I've tried to be careful I forgot to add this file in
r6116 :(

14 years agointr_disabled() tests removed
Tomas Hruby [Tue, 9 Feb 2010 15:29:58 +0000 (15:29 +0000)]
intr_disabled() tests removed

- we don't need to test this in kernel as we always have interrupts
  disabled

- if interrupts are enabled in kernel, it is only at very carefully
  chosen places. There are no such places now.

14 years agoNo locking in kernel code
Tomas Hruby [Tue, 9 Feb 2010 15:26:58 +0000 (15:26 +0000)]
No locking in kernel code

- No locking in RTS_(UN)SET macros

- No lock_notify()

- Removed unused lock_send()

- No lock/unlock macros anymore

14 years agoLots of small code cleanup: make symbols local, remove unused symbols,
Kees van Reeuwijk [Tue, 9 Feb 2010 15:23:38 +0000 (15:23 +0000)]
Lots of small code cleanup: make symbols local, remove unused symbols,
fixed a typo, removed a now unused header file.
Use #include <..> for header files that represent libraries.

14 years agoTASK_PRIVILEGE and level0() removed
Tomas Hruby [Tue, 9 Feb 2010 15:23:31 +0000 (15:23 +0000)]
TASK_PRIVILEGE and level0() removed

- there are no tasks running, we don't need TASK_PRIVILEGE priviledge anymore

- as there is no ring 1 anymore, there is no need for level0() to call sensitive
  code from ring 1 in ring 0

- 286 related macros removed as clean up

14 years agoNo CLOCK task
Tomas Hruby [Tue, 9 Feb 2010 15:22:43 +0000 (15:22 +0000)]
No CLOCK task

- no kernel tasks are runnable

- clock initialization moved to the end of main()

- the rest of the body of clock_task() is moved to bsp_timer_int_handler() as
  for now we are going to handle this on the bootstrap cpu. A change later is
  possible.

14 years agoRemoval of the system task
Tomas Hruby [Tue, 9 Feb 2010 15:20:09 +0000 (15:20 +0000)]
Removal of the system task

* Userspace change to use the new kernel calls

- _taskcall(SYSTASK...) changed to _kernel_call(...)

- int 32 reused for the kernel calls

- _do_kernel_call() to make the trap to kernel

- kernel_call() to make the actuall kernel call from C using
  _do_kernel_call()

- unlike ipc call the kernel call always succeeds as kernel is
  always available, however, kernel may return an error

* Kernel side implementation of kernel calls

- the SYSTEm task does not run, only the proc table entry is
  preserved

- every data_copy(SYSTEM is no data_copy(KERNEL

- "locking" is an empty operation now as everything runs in
  kernel

- sys_task() is replaced by kernel_call() which copies the
  message into kernel, dispatches the call to its handler and
  finishes by either copying the results back to userspace (if
  need be) or by suspending the process because of VM

- suspended processes are later made runnable once the memory
  issue is resolved, picked up by the scheduler and only at
  this time the call is resumed (in fact restarted) which does
  not need to copy the message from userspace as the message
  is already saved in the process structure.

- no ned for the vmrestart queue, the scheduler will restart
  the system calls

- no special case in do_vmctl(), all requests remove the
  RTS_VMREQUEST flag

14 years agocopy_msg_from_user() and copy_msg_to_user()
Tomas Hruby [Tue, 9 Feb 2010 15:15:45 +0000 (15:15 +0000)]
copy_msg_from_user() and copy_msg_to_user()

- copies a mesage from/to userspace without need of translating
  addresses

- the assumption is that the address space is installed, i.e. ldt and
  cr3 are loaded correctly

- if a pagefault or a general protection occurs while copying from
  userland to kernel (or vice versa) and error is returned which gives
  the caller a chance to respond in a proper way

- error happens _only_ because of a wrong user pointer if the function
  is used correctly

- if the prerequisites of the function do no hold, the function will
  most likely fail as the user address becomes random

14 years agoEarly address space switch
Tomas Hruby [Tue, 9 Feb 2010 15:13:52 +0000 (15:13 +0000)]
Early address space switch

- switch_address_space() implements a switch of the user address space
  for the destination process

- this makes memory of this process easily accessible, e.g. a pointer
  valid in the userspace can be used with a little complexity to
  access the process's memory

- the switch does not happed only just before we return to userspace,
  however, it happens right after we know which process we are going
  to schedule. This happens before we start processing the misc flags
  of this process so its memory is available

- if the process becomes not runnable while processing the mics flags
  we pick a new process and we switch the address space again which
  introduces possibly a little bit more overhead, however, it is
  hopefully hidden by reducing the overheads when we actually access
  the memory

14 years agoSys calls are called ipc calls now
Tomas Hruby [Tue, 9 Feb 2010 15:13:07 +0000 (15:13 +0000)]
Sys calls are called ipc calls now

- the syscalls are pretty much just ipc calls, however, sendrec() is
  used to implement system task (sys) calls

- sendrec() won't be used anymore for this, therefore ipc calls will
  become pure ipc calls

14 years agoSystem task initialization moved to main()
Tomas Hruby [Tue, 9 Feb 2010 15:12:20 +0000 (15:12 +0000)]
System task initialization moved to main()

- the system task initialization code does not really need to be part
  of the system task process. An earlier initialization in kernel is
  cleaner as it does not only initialize the syscalls but also irq
  hooks etc.

14 years agoFixes for truncate system calls:
David van Moolenbroek [Tue, 9 Feb 2010 08:12:37 +0000 (08:12 +0000)]
Fixes for truncate system calls:
- VFS: check for negative sizes in all truncate calls
- VFS: update file size after truncating with fcntl(F_FREESP)
- VFS: move pos/len checks for F_FREESP with l_len!=0 from FS to VFS
- MFS: do not zero data block for small files when fully truncating
- MFS: do not write out freed indirect blocks after freeing space
- MFS: make truncate work correctly with differing zone/block sizes
- tests: add new test50 for truncate call family

14 years agoKernel: fix sys_irqctl(IRQ_RMPOLICY)
David van Moolenbroek [Tue, 9 Feb 2010 08:07:47 +0000 (08:07 +0000)]
Kernel: fix sys_irqctl(IRQ_RMPOLICY)

14 years agoa.out.h typo (Bug#398, reported by 7shi)
David van Moolenbroek [Sun, 7 Feb 2010 12:01:37 +0000 (12:01 +0000)]
a.out.h typo (Bug#398, reported by 7shi)

14 years agogas2ack fix
Tomas Hruby [Fri, 5 Feb 2010 13:53:10 +0000 (13:53 +0000)]
gas2ack fix

- fixed handling of segment overrides for instruction that may use two
  of them in the long format, e.g. movs

14 years agoFixes in mkdep.1, suggested by Greg King
Erik van der Kouwe [Fri, 5 Feb 2010 13:07:08 +0000 (13:07 +0000)]
Fixes in mkdep.1, suggested by Greg King

14 years agophilip's inet tcp fix.
Ben Gras [Thu, 4 Feb 2010 22:06:10 +0000 (22:06 +0000)]
philip's inet tcp fix.

14 years agoonly check local benchmark dir if it exists
Ben Gras [Thu, 4 Feb 2010 18:15:10 +0000 (18:15 +0000)]
only check local benchmark dir if it exists

14 years agoalso be able to run benchmarks from packages.
Ben Gras [Thu, 4 Feb 2010 17:52:38 +0000 (17:52 +0000)]
also be able to run benchmarks from packages.

14 years agoImport NetBSD's make
Arun Thomas [Thu, 4 Feb 2010 16:52:54 +0000 (16:52 +0000)]
Import NetBSD's make

14 years agoRemoved useless global variable sys_call_code
Tomas Hruby [Wed, 3 Feb 2010 18:17:01 +0000 (18:17 +0000)]
Removed useless global variable sys_call_code

- we have to same information in the message (m_ptr) where needed

14 years agomakefile for benchmarks.
Ben Gras [Wed, 3 Feb 2010 16:49:15 +0000 (16:49 +0000)]
makefile for benchmarks.

14 years agofix for asmconv - stop translating after .sect .end.
Ben Gras [Wed, 3 Feb 2010 16:03:00 +0000 (16:03 +0000)]
fix for asmconv - stop translating after .sect .end.

14 years agoremove traces of benchmarks from test/.
Ben Gras [Wed, 3 Feb 2010 14:32:36 +0000 (14:32 +0000)]
remove traces of benchmarks from test/.

14 years agomove benchmarks to their own dir.
Ben Gras [Wed, 3 Feb 2010 14:30:02 +0000 (14:30 +0000)]
move benchmarks to their own dir.

14 years agoforget difference between big and small commands - obsolete with vm.
Ben Gras [Wed, 3 Feb 2010 14:16:51 +0000 (14:16 +0000)]
forget difference between big and small commands - obsolete with vm.

14 years agoThrow out getpack, replace printenv with a link to env
Erik van der Kouwe [Wed, 3 Feb 2010 13:51:26 +0000 (13:51 +0000)]
Throw out getpack, replace printenv with a link to env

14 years agoremoval of unused vm<->vfs code.
Ben Gras [Wed, 3 Feb 2010 13:35:17 +0000 (13:35 +0000)]
removal of unused vm<->vfs code.

14 years agosmall asmconv cleanups.
Ben Gras [Wed, 3 Feb 2010 13:29:14 +0000 (13:29 +0000)]
small asmconv cleanups.

 - put asmconv in /usr/bin so it can be invoked without absolute path
 - make it ignore .end in gnu output mode so that it can be invoked
   without '|| true' in the gnu lib makefiles and it doesn't produce the
   messy error message

14 years agoStatistical profiling fixes:
David van Moolenbroek [Wed, 3 Feb 2010 12:27:52 +0000 (12:27 +0000)]
Statistical profiling fixes:
- PM: get rid of umap warning
- sprofalyze.pl: update with recently added servers and drivers
- sprofalyze.pl: properly truncate process names for sample matching

14 years agoThis patch removes the global variables who_p and who_e from the
Tomas Hruby [Wed, 3 Feb 2010 09:04:48 +0000 (09:04 +0000)]
This patch removes the global variables who_p and who_e from the
kernel (sys task).  The main reason is that these would have to become
cpu local variables on SMP.  Once the system task is not a task but a
genuine part of the kernel there is even less reason to have these
extra variables as proc_ptr will already contain all neccessary
information. In addition converting who_e to the process pointer and
back again all the time will be avoided.

Although proc_ptr will contain all important information, accessing it
as a cpu local variable will be fairly expensive, hence the value
would be assigned to some on stack local variable. Therefore it is
better to add the 'caller' argument to the syscall handlers to pass
the value on stack anyway. It also clearly denotes on who's behalf is
the syscall being executed.

This patch also ANSIfies the syscall function headers.

Last but not least, it also fixes a potential bug in virtual_copy_f()
in case the check is disabled. So far the function in case of a
failure could possible reuse an old who_p in case this function had
not been called from the system task.

virtual_copy_f() takes the caller as a parameter too. In case the
checking is disabled, the caller must be NULL and non NULL if it is
enabled as we must be able to suspend the caller.

14 years agoAdd smallbunzip2 to bzip2 man-page
Erik van der Kouwe [Tue, 2 Feb 2010 15:26:12 +0000 (15:26 +0000)]
Add smallbunzip2 to bzip2 man-page

14 years agoMan-pages on mkdep, cdprobe, loadramdisk and newroot; thanks to Antoine Leca
Erik van der Kouwe [Tue, 2 Feb 2010 15:10:00 +0000 (15:10 +0000)]
Man-pages on mkdep, cdprobe, loadramdisk and newroot; thanks to Antoine Leca

14 years agoFix some incorrect testing of bit flags.
Kees van Reeuwijk [Tue, 2 Feb 2010 12:24:35 +0000 (12:24 +0000)]
Fix some incorrect testing of bit flags.

14 years agoKill processes which ignore signals thatshould not be ignored
Erik van der Kouwe [Sun, 31 Jan 2010 19:13:20 +0000 (19:13 +0000)]
Kill processes which ignore signals thatshould not be ignored

14 years agoimprove behaviour under VPC, fixes from nicolas tittley.
Ben Gras [Sun, 31 Jan 2010 18:29:51 +0000 (18:29 +0000)]
improve behaviour under VPC, fixes from nicolas tittley.

14 years agoFix a complaint about a value return from a void function.
Kees van Reeuwijk [Fri, 29 Jan 2010 14:14:22 +0000 (14:14 +0000)]
Fix a complaint about a value return from a void function.
Propagate error codes a bit more.
Some code cleanup.

14 years agoFixed a number of complaints about missing return statements.
Kees van Reeuwijk [Thu, 28 Jan 2010 13:17:07 +0000 (13:17 +0000)]
Fixed a number of complaints about missing return statements.
Some cases were fixed by declaring the function void, others were fixed
by adding a return <value> statement, thereby avoiding potentially
incorrect behavior (usually in error handling).
Some enum correctness in boot.c.

14 years agoHGFS tweaks
David van Moolenbroek [Wed, 27 Jan 2010 22:59:03 +0000 (22:59 +0000)]
HGFS tweaks

14 years agoIncrease process table size
Erik van der Kouwe [Wed, 27 Jan 2010 18:37:12 +0000 (18:37 +0000)]
Increase process table size

14 years agoignore .svn dirs when making binary packages
Ben Gras [Wed, 27 Jan 2010 16:20:28 +0000 (16:20 +0000)]
ignore .svn dirs when making binary packages

14 years agobump version number to 3.1.6, copyright year to 2010.
Ben Gras [Wed, 27 Jan 2010 16:19:50 +0000 (16:19 +0000)]
bump version number to 3.1.6, copyright year to 2010.

14 years agoFixed a number of uses of uninitialized variables by adding assertions
Kees van Reeuwijk [Wed, 27 Jan 2010 10:23:58 +0000 (10:23 +0000)]
Fixed a number of uses of uninitialized variables by adding assertions
or other sanity checks, code reshuffling, or fixing broken behavior.

14 years agoRewrite some functions to ANSI style.
Kees van Reeuwijk [Wed, 27 Jan 2010 10:19:13 +0000 (10:19 +0000)]
Rewrite some functions to ANSI style.

14 years agoNo need to use memcpy to copy a message of 36 bytes. The overhead just
Tomas Hruby [Wed, 27 Jan 2010 09:34:47 +0000 (09:34 +0000)]
No need to use memcpy to copy a message of 36 bytes. The overhead just
to call memcpy is half of the inline copy (using gcc -O)

14 years agoPipe vnodes are always mapped.
Thomas Veerman [Wed, 27 Jan 2010 09:30:39 +0000 (09:30 +0000)]
Pipe vnodes are always mapped.

14 years agoAdd notrunc conversion for dd tool
Erik van der Kouwe [Wed, 27 Jan 2010 07:48:06 +0000 (07:48 +0000)]
Add notrunc conversion for dd tool

14 years agoAdd -p flag for install tool
Erik van der Kouwe [Wed, 27 Jan 2010 07:47:29 +0000 (07:47 +0000)]
Add -p flag for install tool

14 years agoFixed some type inconsistencies in the kernel.
Kees van Reeuwijk [Tue, 26 Jan 2010 12:26:06 +0000 (12:26 +0000)]
Fixed some type inconsistencies in the kernel.

14 years agoRemoved a number of useless #includes
Kees van Reeuwijk [Tue, 26 Jan 2010 10:59:01 +0000 (10:59 +0000)]
Removed a number of useless #includes

14 years agodec21140A ethernet driver for virtualpc, contributed by nicolas tittley.
Ben Gras [Tue, 26 Jan 2010 10:20:18 +0000 (10:20 +0000)]
dec21140A ethernet driver for virtualpc, contributed by nicolas tittley.

14 years agoIPC test set fixes:
David van Moolenbroek [Tue, 26 Jan 2010 08:05:33 +0000 (08:05 +0000)]
IPC test set fixes:
- restore original UID before deleting test directory
- do not assume that SIGUSR1 signal is set to default action

14 years agotypo
David van Moolenbroek [Mon, 25 Jan 2010 23:48:14 +0000 (23:48 +0000)]
typo

14 years agoupdate DS label retrieve calls
David van Moolenbroek [Mon, 25 Jan 2010 23:23:43 +0000 (23:23 +0000)]
update DS label retrieve calls