haiku/src/system/kernel
Michael Lotz a064168869 Fix truncation of comparison value introduced in 848acd67.
Casting the difference of the two off_t values to size_t may truncate
the result. Doing so before the comparison will therefore break it.
Instead cast the size to off_t to get around the signed versus unsigned
integer expression comparison and then cast the result of the comparison
to size_t again. Should fix #9714.
2013-04-27 18:42:05 +02:00
..
arch GCC 4.7.x doesn't allow setting a field in a referenced packed struct. 2013-04-26 21:17:31 +02:00
cache Merge branch 'master' into x86_64 2012-11-18 14:02:07 +00:00
debug commpage: randomize position of commpage 2013-04-04 15:27:22 +02:00
device_manager Fix truncation of comparison value introduced in 848acd67. 2013-04-27 18:42:05 +02:00
disk_device_manager Rework DefaultNotificationService registration. 2013-04-22 18:42:21 -04:00
fs Fixed compilation errors with ENABLE_TRACING set. 2013-03-22 16:46:09 +00:00
lib Optimized memcpy/memset for x86_64. 2012-07-21 11:55:13 +01:00
locks 64-bit fixes for kernel with KDEBUG_LEVEL = 0 2012-12-18 14:56:16 +00:00
messaging Clean up the mess added in hrev43461 and solve it differently. 2011-12-10 23:20:18 +01:00
platform system loader: Initial work on new rasberrypi_arm loader 2012-05-01 16:57:58 -05:00
posix More 64-bit compilation/safety fixes. 2012-06-15 16:04:20 +01:00
scheduler scheduler: let schedulers use kernel utils for random numbers 2013-04-11 04:37:23 +02:00
slab Add support for pthread_attr_get/setguardsize() 2012-12-28 18:02:58 +00:00
util util: Use real_time_clock() in secure PRNG 2013-04-24 14:05:28 +02:00
vm VMAnonymousCache.cpp: use off_t instead of page_num_t 2013-04-27 14:43:20 +02:00
boot_item.cpp * Changed get_boot_item() API: it now also can retrieve the size of the boot 2008-03-30 11:01:41 +00:00
boot_splash.cpp Move the boot images conditional selection in one place, to remove 2010-10-11 12:54:21 +00:00
commpage.cpp vm: place commpage and team data near the top of user address space 2013-04-04 15:27:24 +02:00
condition_variable.cpp First round of 64-bit safety fixes in the kernel. 2012-06-13 17:42:46 +01:00
cpu.cpp Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
DPC.cpp Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
elf.cpp elf: restore correct region protection after relocation 2013-04-16 03:44:38 +02:00
guarded_heap.cpp Fix the page need calculation, it was possibly off by one. 2011-12-07 00:09:31 +01:00
heap.cpp First round of 64-bit safety fixes in the kernel. 2012-06-13 17:42:46 +01:00
image.cpp Rework DefaultNotificationService registration. 2013-04-22 18:42:21 -04:00
int.cpp Changed {,u}int64 to be long rather than long long on x86_64. 2012-06-28 12:36:45 +01:00
Jamfile Build a separate libsupc++ for the kernel with correct flags. 2012-08-16 13:57:04 +01:00
kernel_c++_structs.cpp Attempt at allowing to use C++ structures in C only code: We use the 2009-12-02 10:56:10 +00:00
kernel_daemon.cpp Replaced no longer necessary send_signal_etc() work-arounds for 2010-04-29 15:23:29 +00:00
kernel_versions Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
kernel.rdef patch by Artur Wyszynski (aljen): 2008-03-18 10:11:58 +00:00
linkhack.c
listeners.cpp Added WaitObjectListener destructor. Hopefully fixes the gcc 2 build. 2009-04-23 14:53:18 +00:00
low_resource_manager.cpp First round of 64-bit safety fixes in the kernel. 2012-06-13 17:42:46 +01:00
main.cpp Copied the x86 debug console functions to x86_64. 2012-06-26 11:42:28 +01:00
module.cpp A few 64-bit fixes for ELF/module code. 2012-07-19 12:45:17 +01:00
Notifications.cpp Rework DefaultNotificationService registration. 2013-04-22 18:42:21 -04:00
port.cpp Rework DefaultNotificationService registration. 2013-04-22 18:42:21 -04:00
real_time_clock.cpp Changed {,u}int64 to be long rather than long long on x86_64. 2012-06-28 12:36:45 +01:00
sem.cpp Add support for pthread_attr_get/setguardsize() 2012-12-28 18:02:58 +00:00
shutdown.cpp Introduce a gSystemShutdown flag to be able to check if system is shutting down. ACPI Embedded Controller now uses polling when it is set to true. 2010-09-08 19:19:49 +00:00
signal.cpp commpage: randomize position of commpage 2013-04-04 15:27:22 +02:00
smp.cpp Fixed a mistake in 11d3892, changed a parameter type to addr_t that shouldn't have been changed. 2012-06-15 22:31:24 +01:00
syscalls.cpp Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
system_info.cpp First round of 64-bit safety fixes in the kernel. 2012-06-13 17:42:46 +01:00
team.cpp Rework DefaultNotificationService registration. 2013-04-22 18:42:21 -04:00
TeamThreadTables.h Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
thread.cpp Rework DefaultNotificationService registration. 2013-04-22 18:42:21 -04:00
timer.cpp As suggested by Ingo, revert r42648 and apply patch from Alex Smith provided in #7872. Thanks! 2011-08-20 20:09:32 +00:00
UserEvent.cpp Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
usergroup.cpp Fix #8596: common_getgroups copies too little data 2012-05-23 12:56:10 -04:00
UserTimer.cpp Merged signals-merge branch into trunk with the following changes: 2011-06-12 00:00:23 +00:00
wait_for_objects.cpp _user_wait_for_objects(): Don't copy the infos back to userland when an error 2010-03-25 15:57:38 +00:00