Matthew Mondor [Tue, 6 Apr 2004 16:35:23 +0000 (16:35 +0000)]
Warning: In an inconsistent state since undertaking major modifications
Matthew Mondor [Tue, 6 Apr 2004 16:30:16 +0000 (16:30 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 5 Apr 2004 20:23:52 +0000 (20:23 +0000)]
- Added server_execve() as execve(2) replacement for applications using
using_execve == TRUE. This function performs sanity checking and sets up
resources properly before calling execve(2).
- Setting close-on-exec flag on filedescriptors in the child processes if
using_execve == TRUE.
Matthew Mondor [Mon, 5 Apr 2004 07:36:06 +0000 (07:36 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 5 Apr 2004 07:27:32 +0000 (07:27 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 5 Apr 2004 07:21:29 +0000 (07:21 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 5 Apr 2004 07:10:43 +0000 (07:10 +0000)]
- Added support for applications which need to use execve(2)
- using_execve in struct server_config added
- server_execve() function added
- Added file permissions control for lock files and centralized permissions
resolution and sanity checking into a single static function, perms().
Matthew Mondor [Sun, 4 Apr 2004 22:58:22 +0000 (22:58 +0000)]
*** empty log message ***
Matthew Mondor [Sat, 3 Apr 2004 20:24:04 +0000 (20:24 +0000)]
*** empty log message ***
Matthew Mondor [Fri, 2 Apr 2004 18:06:46 +0000 (18:06 +0000)]
*** empty log message ***
Matthew Mondor [Fri, 2 Apr 2004 01:10:57 +0000 (01:10 +0000)]
*** empty log message ***
Matthew Mondor [Thu, 1 Apr 2004 17:57:25 +0000 (17:57 +0000)]
*** empty log message ***
Matthew Mondor [Wed, 31 Mar 2004 17:10:16 +0000 (17:10 +0000)]
*** empty log message ***
Matthew Mondor [Wed, 31 Mar 2004 06:37:52 +0000 (06:37 +0000)]
*** empty log message ***
Matthew Mondor [Wed, 31 Mar 2004 06:32:23 +0000 (06:32 +0000)]
- Added support for children to optionally have their own process group,
using setsid(2), children_setsid boolean in struct server_config.
- Added support for currently being served requests to optionally not be
interrupted when the server is shutting down, exit_interrupt_requests
boolean in struct server_config.
Matthew Mondor [Tue, 30 Mar 2004 17:32:17 +0000 (17:32 +0000)]
Made using the accept(2)/recvmsg(2) serialization lock optional, adding the
serialization_lock boolean variable to struct server_config.
Matthew Mondor [Mon, 29 Mar 2004 16:56:20 +0000 (16:56 +0000)]
*** empty log message ***
Matthew Mondor [Sun, 28 Mar 2004 00:34:59 +0000 (00:34 +0000)]
*** empty log message ***
Matthew Mondor [Sat, 27 Mar 2004 22:55:53 +0000 (22:55 +0000)]
Fixed bugs related to server_recycle()
Matthew Mondor [Sat, 27 Mar 2004 20:07:13 +0000 (20:07 +0000)]
*** empty log message ***
Matthew Mondor [Sat, 27 Mar 2004 19:54:03 +0000 (19:54 +0000)]
*** empty log message ***
Matthew Mondor [Sat, 27 Mar 2004 19:43:02 +0000 (19:43 +0000)]
*** empty log message ***
Matthew Mondor [Sat, 27 Mar 2004 19:10:50 +0000 (19:10 +0000)]
*** empty log message ***
Matthew Mondor [Sat, 27 Mar 2004 18:38:38 +0000 (18:38 +0000)]
*** empty log message ***
Matthew Mondor [Sat, 27 Mar 2004 16:27:17 +0000 (16:27 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 22 Mar 2004 18:37:48 +0000 (18:37 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 22 Mar 2004 17:17:42 +0000 (17:17 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 22 Mar 2004 16:51:08 +0000 (16:51 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 22 Mar 2004 06:59:37 +0000 (06:59 +0000)]
*** empty log message ***
Matthew Mondor [Sun, 21 Mar 2004 18:46:55 +0000 (18:46 +0000)]
*** empty log message ***
Matthew Mondor [Sun, 14 Mar 2004 09:26:13 +0000 (09:26 +0000)]
Migrated to use the mmhash(3) API change for hashtable_link()
Matthew Mondor [Sun, 14 Mar 2004 08:40:58 +0000 (08:40 +0000)]
*** empty log message ***
Matthew Mondor [Sat, 13 Mar 2004 02:26:04 +0000 (02:26 +0000)]
*** empty log message ***
Matthew Mondor [Thu, 11 Mar 2004 08:30:24 +0000 (08:30 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 8 Mar 2004 05:24:39 +0000 (05:24 +0000)]
*** empty log message ***
Matthew Mondor [Sat, 6 Mar 2004 02:18:14 +0000 (02:18 +0000)]
- Fixed a potential bug where EINTR was not verified when calling flock(2)
with LOCK_EX on a filedescriptor.
- Reopen the needed locks in the children processes, as well as after fork(2)
in the main parent, as required by flock(2) for proper function.
Matthew Mondor [Wed, 3 Mar 2004 15:57:40 +0000 (15:57 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 1 Mar 2004 06:19:42 +0000 (06:19 +0000)]
*** empty log message ***
Matthew Mondor [Thu, 26 Feb 2004 01:02:19 +0000 (01:02 +0000)]
*** empty log message ***
Matthew Mondor [Wed, 25 Feb 2004 21:02:43 +0000 (21:02 +0000)]
*** empty log message ***
Matthew Mondor [Sun, 15 Feb 2004 23:10:55 +0000 (23:10 +0000)]
*** empty log message ***
Matthew Mondor [Sun, 15 Feb 2004 23:06:12 +0000 (23:06 +0000)]
Fixed English vocabulary mistakes :)
Matthew Mondor [Sun, 15 Feb 2004 17:07:29 +0000 (17:07 +0000)]
- Default configuration file now has no report query rate limit
- Default assumed configuration file location is now /usr/local/etc/
- Fixed a few language syntax mistakes in manual pages
Matthew Mondor [Sun, 15 Feb 2004 16:56:22 +0000 (16:56 +0000)]
*** empty log message ***
Matthew Mondor [Sun, 15 Feb 2004 16:54:41 +0000 (16:54 +0000)]
Added GNU make file to mmstatd(8) building for convenience
Matthew Mondor [Fri, 30 Jan 2004 07:48:27 +0000 (07:48 +0000)]
*** empty log message ***
Matthew Mondor [Fri, 30 Jan 2004 07:46:15 +0000 (07:46 +0000)]
*** empty log message ***
Matthew Mondor [Fri, 30 Jan 2004 07:29:38 +0000 (07:29 +0000)]
*** empty log message ***
Matthew Mondor [Fri, 30 Jan 2004 07:08:57 +0000 (07:08 +0000)]
*** empty log message ***
Matthew Mondor [Fri, 30 Jan 2004 07:01:24 +0000 (07:01 +0000)]
Added C89/ANSI setjmp(3)/longjmp(3) and m68k implementation
Matthew Mondor [Thu, 29 Jan 2004 22:05:52 +0000 (22:05 +0000)]
*** empty log message ***
Matthew Mondor [Thu, 29 Jan 2004 21:53:48 +0000 (21:53 +0000)]
*** empty log message ***
Matthew Mondor [Thu, 29 Jan 2004 21:52:12 +0000 (21:52 +0000)]
- Implemented m68k byte order swapping functions
- Implemented i386 exclusive locking primitives and byte order swapping
functions
- Changed <common/kernlib/list.h> so that macros are DLIST_* instead of LIST_*
like for my other software
- Added ORDER_* byte order conversion macros in <common/types.h>
- Defined _LITTLE_ENDIAN and _BIG_ENDIAN in i386 and m68k support headerfile
- Updated documentation
Matthew Mondor [Thu, 29 Jan 2004 08:48:00 +0000 (08:48 +0000)]
Implemented i386 recursive locking primitives
Matthew Mondor [Thu, 29 Jan 2004 05:02:02 +0000 (05:02 +0000)]
*** empty log message ***
Matthew Mondor [Thu, 29 Jan 2004 04:59:53 +0000 (04:59 +0000)]
*** empty log message ***
Matthew Mondor [Thu, 29 Jan 2004 04:55:06 +0000 (04:55 +0000)]
Added C89/ANSI compatible rand(3)/srand(3) and POSIX rand_r(3) to kernlib
Matthew Mondor [Wed, 28 Jan 2004 19:58:28 +0000 (19:58 +0000)]
Now using bitwise operations instead of arithmetic for port convertions.
Matthew Mondor [Tue, 27 Jan 2004 18:36:30 +0000 (18:36 +0000)]
*** empty log message ***
Matthew Mondor [Tue, 27 Jan 2004 03:43:41 +0000 (03:43 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 26 Jan 2004 18:39:26 +0000 (18:39 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 26 Jan 2004 18:35:19 +0000 (18:35 +0000)]
*** empty log message ***
Matthew Mondor [Fri, 23 Jan 2004 05:46:52 +0000 (05:46 +0000)]
Code cleanup related to bitwise AND based conditions
Matthew Mondor [Wed, 21 Jan 2004 05:21:51 +0000 (05:21 +0000)]
The reaper task now shares the init task mpool_t as it does not perform
any allocations anyways.
Matthew Mondor [Tue, 20 Jan 2004 21:26:48 +0000 (21:26 +0000)]
*** empty log message ***
Matthew Mondor [Tue, 20 Jan 2004 21:23:06 +0000 (21:23 +0000)]
*** empty log message ***
Matthew Mondor [Tue, 20 Jan 2004 21:13:43 +0000 (21:13 +0000)]
*** empty log message ***
Matthew Mondor [Tue, 20 Jan 2004 20:56:54 +0000 (20:56 +0000)]
*** empty log message ***
Matthew Mondor [Tue, 20 Jan 2004 20:56:20 +0000 (20:56 +0000)]
ports/amiga/boot/config.h now specifies the necessary information about
kernel size, stack size, available CHIP and FAST RAM and their location,
etc. The build scripts automatically use that information to set the right
kernel image text address.
Matthew Mondor [Mon, 19 Jan 2004 21:09:55 +0000 (21:09 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 19 Jan 2004 20:25:17 +0000 (20:25 +0000)]
Updated documentation, notably around the changes caused by the new
TS_SHARED task_alloc() flag. Also fixed a few documentation bugs.
Matthew Mondor [Mon, 19 Jan 2004 18:07:11 +0000 (18:07 +0000)]
- A new POOL_MPOOL was added so that mpool_t objects are now dynamically
allocated and the root and task_t structures use an mpool_t pointer rather
than holding the structure.
- Added support for TF_SHARED task_alloc() flag so that a task may now
optionally share it's memory pool with it's parent, in which case proper
synchronization is used. Although Xisop messages can be used to share
arbitrary memory regions and synchronize them among tasks, this system
can save memory on very small systems. Moreover, the memory becomes
implicitely shared among the tasks, which means that one task allocating
memory and exiting will not even cause that memory to be freed back until
explicitely freed by another task or until all tasks shareing the mpool_t
exit. Of course, it remains the responsibility of the tasks to use
synchronization locks as needed when using this feature for shared memory.
This can be done using a rwlock_t or _lock_t based system, or one using
Xisop signals and/or messages. This new feature does not affect signals,
messages, allocated ports, or opened devices and libraries, which remain
task-specific and are freed as usual on task exit.
share
Matthew Mondor [Mon, 19 Jan 2004 01:38:41 +0000 (01:38 +0000)]
Use u_int8_t instead of char for hashtable_hash()
Matthew Mondor [Mon, 19 Jan 2004 00:03:23 +0000 (00:03 +0000)]
Added support to upgrade shared access rwlock_t to exclusive mode, as well
as to downgrade exclusive access ones to shared access. Modified port and
device creation to use this new feature.
Matthew Mondor [Sun, 18 Jan 2004 17:43:00 +0000 (17:43 +0000)]
Migrated the system lists which needed lookups to hash tables for faster
lookups. This mainly affects ports, devices, libraries and volumes.
Matthew Mondor [Sat, 27 Dec 2003 00:01:55 +0000 (00:01 +0000)]
Changed Amiga port defaults to use new NetBSD 1.6.1 toolchain
Matthew Mondor [Sat, 13 Dec 2003 08:07:05 +0000 (08:07 +0000)]
*** empty log message ***
Matthew Mondor [Fri, 12 Dec 2003 15:58:39 +0000 (15:58 +0000)]
*** empty log message ***
Matthew Mondor [Wed, 10 Dec 2003 20:33:58 +0000 (20:33 +0000)]
*** empty log message ***
Matthew Mondor [Sun, 7 Dec 2003 16:42:58 +0000 (16:42 +0000)]
Added cast to int64_t for off_t in 350 result string
Matthew Mondor [Sat, 22 Nov 2003 10:52:43 +0000 (10:52 +0000)]
*** empty log message ***
Matthew Mondor [Sat, 22 Nov 2003 10:26:08 +0000 (10:26 +0000)]
Use DLIST_NODES()
Matthew Mondor [Sat, 22 Nov 2003 10:23:49 +0000 (10:23 +0000)]
*** empty log message ***
Matthew Mondor [Sat, 22 Nov 2003 10:01:45 +0000 (10:01 +0000)]
Cleaned up linked list related code to use list macros where desirable
Matthew Mondor [Sat, 22 Nov 2003 08:01:48 +0000 (08:01 +0000)]
Added the new KEEP_EXEC configuration file option, which allows to
keep the executable bit in the backup repository for files which have it.
This however ensures to only set the bit on the file owner if enabled.
Matthew Mondor [Fri, 14 Nov 2003 14:44:27 +0000 (14:44 +0000)]
*** empty log message ***
Matthew Mondor [Fri, 14 Nov 2003 08:04:19 +0000 (08:04 +0000)]
Added the STDERR_FILE configuration option for debugging
Matthew Mondor [Fri, 14 Nov 2003 06:33:42 +0000 (06:33 +0000)]
Added notes about glibc discrepancies
Matthew Mondor [Wed, 12 Nov 2003 05:37:18 +0000 (05:37 +0000)]
*** empty log message ***
Matthew Mondor [Wed, 12 Nov 2003 01:45:49 +0000 (01:45 +0000)]
*** empty log message ***
Matthew Mondor [Tue, 11 Nov 2003 07:16:22 +0000 (07:16 +0000)]
*** empty log message ***
Matthew Mondor [Tue, 11 Nov 2003 06:37:33 +0000 (06:37 +0000)]
Minor bugfix
Matthew Mondor [Tue, 11 Nov 2003 06:28:20 +0000 (06:28 +0000)]
Minor bugfixes
Matthew Mondor [Tue, 11 Nov 2003 00:02:17 +0000 (00:02 +0000)]
Use madvise(2) on BSDs for better performance
Matthew Mondor [Tue, 11 Nov 2003 00:01:18 +0000 (00:01 +0000)]
A small identd server made to be called from inetd(8) or mmspawnd(8)
Matthew Mondor [Mon, 10 Nov 2003 23:34:26 +0000 (23:34 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 10 Nov 2003 23:25:06 +0000 (23:25 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 10 Nov 2003 22:41:52 +0000 (22:41 +0000)]
Added signal handler to free temporary directories and CVS locks
Matthew Mondor [Mon, 10 Nov 2003 07:57:38 +0000 (07:57 +0000)]
*** empty log message ***
Matthew Mondor [Mon, 10 Nov 2003 04:59:45 +0000 (04:59 +0000)]
*** empty log message ***