haiku/headers/private/kernel
Axel Dörfler 681779f1c8 Our close-on-exec flag handling was broken: it's supposed to be specified per slot, not
per file descriptor (a descriptor can be shared among several slots). There is now a
second table in the io_context structure that contains that information in a bitmap.
There are now two new (private) functions to control the close-on-exec flag, fd_close_on_exec(),
and fd_set_close_on_exec().
F_DUPFD, dup(), and dup2() are supposed to clear the close-on-exec flag on the duplicated
slot - this fixes bug #57 (no output after a redirect of a shell builtin).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14313 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-10-06 09:02:59 +00:00
..
arch * Now we deal with all x86 exceptions, i.e. we no longer panic() when a 2005-07-21 23:47:08 +00:00
boot Added "Disable IDE DMA" safemode option. 2005-03-31 15:16:09 +00:00
disk_device_manager Merged the disk device manager module interface for file systems with the 2005-05-23 17:15:56 +00:00
fs Our close-on-exec flag handling was broken: it's supposed to be specified per slot, not 2005-10-06 09:02:59 +00:00
util Added a BenaphoreLocker. 2005-04-13 22:40:48 +00:00
block_cache.h First step into a new block allocation strategy for the block_cache 2005-05-13 18:18:28 +00:00
boot_item.h The boot item list was not initialized; this was no problem, though, as 2005-06-13 13:01:13 +00:00
cache.h We temporarily need a BeOS compatible cache implementation. 2004-06-08 05:59:53 +00:00
cbuf.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
console.h Made the header C++ safe. 2005-05-26 09:08:54 +00:00
cpu.h Added the missing clear_caches() function and syscall. Does not yet do anything (which 2005-03-17 17:06:56 +00:00
debug.h Fixed a pretty fatal bug in the page fault handling: interrupts were enabled 2005-08-21 23:27:51 +00:00
defines.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
elf32.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
elf_priv.h Replaced the regions array with the nicer text_region and data_region members. 2004-06-09 02:51:27 +00:00
elf.h Renamed elf_lookup_symbol_address() to elf_debug_lookup_symbol_address() and 2005-08-22 20:35:42 +00:00
faults_priv.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
file_cache.h The file cache now has another init method that is called after the boot 2005-08-03 17:25:03 +00:00
frame_buffer_console.h Removed debug/console.c, we no longer need it. frame_buffer_console_init() is now 2005-05-29 16:23:00 +00:00
gdb.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
generic_syscall.h As suggested by Ingo, the "subsystem" parameter is now a string. That allows 2004-12-14 17:09:06 +00:00
int.h {install|remove}_io_interrupt_handler() now correctly handle the B_NO_ENABLE_COUNTER flag. 2005-04-27 01:08:35 +00:00
kdevice_manager.h Merged branches/developer/axeld/driver_recognition changed r12307:12637 into trunk. 2005-05-12 03:27:44 +00:00
kdriver_settings.h Added driver_settings support to the kernel_args structure. 2005-01-10 07:36:08 +00:00
kernel_daemon.h Added the kernel_daemon.h header which defines the init function for the 2003-01-26 17:27:42 +00:00
kernel.h Moved the kernel_startup variable declaration from int.h to kernel.h (it's defined in main.c). 2005-04-12 06:09:13 +00:00
kimage.h Added _user_image_relocated() and _user_loading_app_failed(). 2005-03-12 15:05:12 +00:00
kmodule.h Added function prototypes for the kernel private load_module() and unload_module() calls. 2005-01-18 02:34:00 +00:00
ksignal.h added a libroot sigpending, kernel support isn't implemented 2005-09-13 16:12:20 +00:00
ksocket.h It is accomplished ... 2002-07-09 12:24:59 +00:00
ksyscalls.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
lock.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
memheap.h Enlarged the kernel heap to 16 MB. 2005-05-26 09:11:30 +00:00
messaging.h Added _user_unregister_messaging_service(). Fixed second send_message() proto. 2005-01-24 01:19:03 +00:00
MessagingServiceDefs.h Removed obsolete struct. 2005-01-30 01:11:33 +00:00
pools.h Removed references to ktypes.h. 2004-11-27 12:05:41 +00:00
port.h We now have a (private) writev_port_etc() call. This could be used to avoid 2005-07-13 23:55:15 +00:00
real_time_clock.h added get_rtc_info, needed in the kernel for services which use local timestamps such as the dos filesystem 2004-12-15 09:23:50 +00:00
real_time_data.h removed fields not needed any more in userland 2004-11-23 00:11:33 +00:00
safemode.h Added header for additional safemode definitions. 2004-11-26 16:23:49 +00:00
sem.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
smp.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
syscall_process_info.h Added syscalls for various process/group/session related functions. 2004-10-14 14:31:31 +00:00
syscalls.h added a libroot sigpending, kernel support isn't implemented 2005-09-13 16:12:20 +00:00
sysctl.h Several follow-up changes required by the changes either to the VFS 2004-08-28 20:45:00 +00:00
system_info.h Extended the get_system_info() mechanism; it now gets info about threads/teams 2004-11-30 21:06:11 +00:00
team.h Added a team watching mechanism in the kernel, not yet tested (but at least doesn't cause any harm yet :-)). 2005-08-03 12:00:42 +00:00
thread_types.h Added a team watching mechanism in the kernel, not yet tested (but at least doesn't cause any harm yet :-)). 2005-08-03 12:00:42 +00:00
thread.h Now fills in system_info::cpu_infos[] (ie. CPU activity) by looking at the active 2005-07-01 00:31:38 +00:00
timer.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
tls.h Added another argument parameter for the thread creation code. Helps 2003-04-18 09:21:22 +00:00
user_atomic.h renamed atomic_read() into atomic_get() (since we already have atomic_set(), but not a atomic_write()) 2003-08-31 01:21:56 +00:00
user_debugger.h * Added support for debugging through exec*(). 2005-03-25 18:40:07 +00:00
user_runtime.h Apparently, both load_image() and exec*() support running scripts. We do that 2005-06-14 11:23:29 +00:00
vfs.h Our close-on-exec flag handling was broken: it's supposed to be specified per slot, not 2005-10-06 09:02:59 +00:00
vm_cache.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
vm_low_memory.h Added a basic low memory handler service. 2005-06-13 13:03:54 +00:00
vm_page.h Minor cleanup, changed return type of page count functions (from addr_t to size_t, 2005-06-13 13:02:24 +00:00
vm_priv.h Renamed vm.c to vm.cpp and made all the changes to let it compile without 2005-05-16 23:17:45 +00:00
vm_store_anonymous_noswap.h Added an additional flag B_OVERCOMMITTING_AREA (currently to be specified 2005-05-15 15:03:44 +00:00
vm_store_device.h Renamed vm.c to vm.cpp and made all the changes to let it compile without 2005-05-16 23:17:45 +00:00
vm_store_null.h Renamed vm.c to vm.cpp and made all the changes to let it compile without 2005-05-16 23:17:45 +00:00
vm_translation_map.h Removed execute property that was set accidently (since CVS days). 2005-03-18 01:50:45 +00:00
vm_types.h Added an additional flag B_OVERCOMMITTING_AREA (currently to be specified 2005-05-15 15:03:44 +00:00
vm.h The heap is now located at 384 MB, and creates a reserved range that spans over the 2005-05-16 22:15:13 +00:00