Philip Homburg
acebf7b52f
Important BSD version of setenv, added killpg, replaced _sigsetjmp.c with
...
an assembler jump to longjmp.
2006-06-07 14:38:39 +00:00
Philip Homburg
3ea083b8d4
Actually remove allocmem and freemem sources from the library.
2006-05-19 12:45:55 +00:00
Philip Homburg
e9aabcf2f8
Disabled building rescue driver (no longer needed). Moved allocmem from
...
library to the memory driver. Always put output from within TTY directly on
the console. Removed second include of driver.h from tty.c. Made tty_inrepcode
bigger. First step to move PM and FS calls that are not regular (API)
system calls out of callnr.h (renumbered them, and removed them from the
table.c files). Imported the Minix-vmd uname implementation. This provides
a more stable ABI than the current implementation. Added a bit of security
checking. Unfortunately not nearly enough to get a secure system. Fixed a
bug related to the sizes of the programs in the image (in PM patch_mem_chunks).
2006-05-19 12:19:37 +00:00
Philip Homburg
71917d6383
Changes for restarting disk drivers and new interface between PM and FS.
2006-05-11 14:47:31 +00:00
Ben Gras
d464faf987
updated syslog(), added setenv()
2006-04-03 15:03:07 +00:00
Ben Gras
7b58dd7f9b
Renamed findproc() to _pm_findproc() to reduce polluting of application
...
namespace.
2006-03-25 04:49:04 +00:00
Ben Gras
0bcb14b384
_SC_PAGESIZE sysconf() support
2006-03-23 11:05:15 +00:00
Jorrit Herder
453beb04ad
Library progress
2006-03-10 16:16:21 +00:00
Ben Gras
5d7f5fccf5
. rename message fields to endpoint variants
...
. remove or optionalify some pci debugging stuff
2006-03-03 09:44:55 +00:00
Ben Gras
1116853ae9
Turn off debug in getsockname.c
...
allow NULL for setgroups argument
2006-02-15 14:16:06 +00:00
Ben Gras
39816868de
Make initgroups() fail if user has any supplemental groups.
2006-02-13 15:06:01 +00:00
Ben Gras
5911460ce5
Fake setgroups() and initgroups() implementation.
2006-02-13 15:00:49 +00:00
Ben Gras
7392c839e0
fts import from freebsd
...
re-activated fchdir()
2006-01-27 14:01:36 +00:00
Ben Gras
0e9a5612d7
Throw away unused dirs, generated Makefiles.
...
Moved some calls back.
2006-01-17 10:36:53 +00:00
Ben Gras
591e943779
Makefiles of Joren's new library build system.
2006-01-16 15:47:30 +00:00
Ben Gras
34d445c0af
Joren's new library make system (minus Makefiles)
2006-01-16 15:44:55 +00:00
Philip Homburg
7394f38ed7
Added paramvalue to the library.
2005-11-08 13:59:27 +00:00
Ben Gras
b94a639398
Giovanni's symlink (+syslog+flock) patches.
2005-10-31 14:31:05 +00:00
Ben Gras
69a0586adf
Changes to make gcc compile our libraries too (Joren)
2005-10-21 11:19:35 +00:00
Jorrit Herder
eb5ed13fd3
New libary functions.
...
Cleanup of halt.c.
2005-10-12 15:10:14 +00:00
Philip Homburg
9528152f68
Added sys_eniop, sys_vm_setbuf, and sys_vm_map.
2005-09-30 12:51:33 +00:00
Ben Gras
9517eff5a4
Also a change by Joren
2005-09-06 10:15:57 +00:00
Philip Homburg
a61e8f28c7
Added basename(3)
2005-08-25 11:33:43 +00:00
Jorrit Herder
7af2b107d4
*** empty log message ***
2005-08-02 15:50:00 +00:00
Jorrit Herder
1d60e866c3
Various updates to support dynamically starting drivers.
2005-08-02 15:32:12 +00:00
Ben Gras
08578c6afb
Removed funny debug printf
2005-07-22 18:36:42 +00:00
Philip Homburg
b5809b6a81
Added random, strdup, and strtok_r.
2005-07-11 13:06:27 +00:00
Ben Gras
205d288bb3
Fixed a few compile warnings
...
Imported a BSD-licensed getopt() from FreeBSD
2005-06-27 09:30:33 +00:00
Philip Homburg
0979014807
Renamed some types Uid_t, Gid_t, Mode_t, etc. for perl5.
...
More space for synctree.
2005-06-23 11:07:31 +00:00
Ben Gras
39c90d6c90
Added (fake) readlink().
...
Compile fix for fslib (BITS_PER_BLOCK was renamed to FS_BITS_PER_BLOCK).
Added extra arg to various timer functions.
2005-06-17 13:47:29 +00:00
Jorrit Herder
4a2817cea1
Changed uname to retrieve actual OS release and version number at runtime.
2005-06-17 08:53:33 +00:00
Philip Homburg
dc23e18cef
Improved compatibility with other Unix systems.
2005-06-10 15:12:03 +00:00
Jorrit Herder
2f74381dcc
Fixed 'ps' utility: now get process table addresses with getsysinfo() calls.
...
To be done: get copies of process tables instead of using /dev/(k)mem.
2005-06-06 13:51:50 +00:00
Jorrit Herder
f2a85e58d9
Various updates.
...
* Removed some variants of the SYS_GETINFO calls from the kernel;
replaced them with new PM and utils libary functionality. Fixed
bugs in utils library that used old get_kenv() variant.
* Implemented a buffer in the kernel to gather random data.
Memory driver periodically checks this for /dev/random.
A better random algorithm can now be implemented in the driver.
Removed SYS_RANDOM; the SYS_GETINFO call is used instead.
* Remove SYS_KMALLOC from the kernel. Memory allocation can now
be done at the process manager with new 'other' library functions.
2005-06-03 13:55:06 +00:00
Jorrit Herder
e782e76944
Created new findproc system call to the PM (to replace similar kernel
...
functionality). Currently working on memory allocation (not yet finished).
2005-06-02 12:43:21 +00:00
Jorrit Herder
6d23f072f3
Cleaned up src/lib/utils library. Renamed server_ functions to more logical
...
names. All system processes can now either use panic() or report() from
libutils, or redefine their own function. Assertions are done via the standard
<assert.h> functionality.
2005-06-01 14:31:00 +00:00
Ben Gras
b4335679cb
Added sys_physzero library call for corresponding system call; modified
...
system-printf() so it returns number of characters printed (for use in
smart formatting)
2005-06-01 09:36:07 +00:00
Jorrit Herder
d0a5a5d007
New system call added to PM: getprocnr(int *proc_nr) (like getpid);
...
Minor update to scheduling code (unready().
2005-05-20 09:37:43 +00:00
Jorrit Herder
307c825515
New NOTIFY trap (IPC call) to send queued notification messages.
...
The call works. Permission check, restriction of outstanding notifications
to be added. Low level code to make it work from within interrupt handlers
will be added as well.
2005-05-19 14:05:51 +00:00
Ben Gras
7f52483b9f
Release process to use and create 16MB root; FS setcache call removed
2005-05-13 12:47:35 +00:00
Ben Gras
9865aeaa79
Initial revision
2005-04-21 14:53:53 +00:00