#
c72b5b24 |
| 16-Feb-2002 |
millert <millert@openbsd.org> |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be don
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
show more ...
|
#
ccecf317 |
| 23-Jan-2002 |
fgsch <fgsch@openbsd.org> |
THREAD_UNLOCK() on error before returning; millert@ ok.
|
#
d8aca867 |
| 05-Dec-2001 |
tdeval <tdeval@openbsd.org> |
correct an alignment mis-conception for malloc(0) returned regions. OK deraadt@
|
#
0f090aa8 |
| 01-Nov-2001 |
mickey <mickey@openbsd.org> |
remove dangling spaces and tabs
|
#
a2440a82 |
| 30-Oct-2001 |
tdeval <tdeval@openbsd.org> |
mprotect allocations sized at 0 bytes. This will cause a fault for access to such, permitting them to be discovered, instead of exploited as the ssh crc insertion detector was. Idea by theo, writte
mprotect allocations sized at 0 bytes. This will cause a fault for access to such, permitting them to be discovered, instead of exploited as the ssh crc insertion detector was. Idea by theo, written by tdeval.
show more ...
|
#
e7cdc372 |
| 11-May-2001 |
art <art@openbsd.org> |
-1 -> MAP_FAILED
|
#
f1f8154c |
| 10-May-2001 |
art <art@openbsd.org> |
Use madvise(MADV_FREE) to allow the 'h' option. (the code was already there, just not enabled).
|
#
8275dce4 |
| 10-Apr-2000 |
deraadt <deraadt@openbsd.org> |
missing THREAD_UNLOCK; netch@segfault.kiev.ua
|
#
33cdd4a7 |
| 01-Mar-2000 |
deraadt <deraadt@openbsd.org> |
typo fix; halogen@nol.net
|
#
b1663281 |
| 10-Nov-1999 |
millert <millert@openbsd.org> |
calloc() needs to be separate from malloc in case a user wants to have their own malloc() implementation.
|
#
19951a96 |
| 09-Nov-1999 |
millert <millert@openbsd.org> |
Move calloc() into malloc.c and only zero out the area if malloc() didn't do so for us. By default, malloc() zeros out the space it allocates but the programmer cannot rely on this as it is implemen
Move calloc() into malloc.c and only zero out the area if malloc() didn't do so for us. By default, malloc() zeros out the space it allocates but the programmer cannot rely on this as it is implementation- specific (and configurable via /etc/malloc.conf)
show more ...
|
#
3e0f69c2 |
| 16-Sep-1999 |
deraadt <deraadt@openbsd.org> |
use writev() where possible
|
#
dc247b5d |
| 03-Feb-1999 |
d <d@openbsd.org> |
wrong ret type for write define (millert@)
|
#
c25cfa1d |
| 01-Feb-1999 |
d <d@openbsd.org> |
malloc can't use write() if it fails very early, so use the unwrapped syscall _thread_sys_write() if we are threaded
|
#
92efb735 |
| 20-Nov-1998 |
d <d@openbsd.org> |
Add thread-safety to libc, so that libc_r will build (on i386 at least). All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a sp
Add thread-safety to libc, so that libc_r will build (on i386 at least). All POSIX libc api now there (to P1003.1c/D10) (more md stuff is needed for other libc/arch/*) (setlogin is no longer a special syscall) Add -pthread option to gcc (that makes it use -lc_r and -D_POSIX_THREADS). Doc some re-entrant routines Add libc_r to intro(3) dig() uses some libc srcs and an extra -I was needed there. Add more md stuff to libc_r. Update includes for the pthreads api Update libc_r TODO
show more ...
|
#
d3af6dd5 |
| 06-Aug-1998 |
millert <millert@openbsd.org> |
Don't enumerate every arch in the #if since all OpenBSD platforms use the same values for malloc_pageshift and malloc_minsize except for sparc
|
#
050c9823 |
| 28-Jun-1998 |
rahnds <rahnds@openbsd.org> |
Oh fun, mucking about with files used on all archs.
This is one of many places in the source that have #if defined("list all architectures") Is there some possible way to eliminate, reduce these or
Oh fun, mucking about with files used on all archs.
This is one of many places in the source that have #if defined("list all architectures") Is there some possible way to eliminate, reduce these or at least have a file that describes all occurrances so that when a new port is done this could be addressed. like the recent hppa port, does it need to take a look at this????
show more ...
|
#
24293f8d |
| 02-Jan-1998 |
deraadt <deraadt@openbsd.org> |
make mmap() return void *, add MAP_FAILED
|
#
b58fb9c1 |
| 23-Aug-1997 |
pefo <pefo@openbsd.org> |
Change realloc(foo,0) to behave like malloc(0). Both now return a pointer to an object of size zero. This will allow testing on reallocs return value to determine if the operation was successful or n
Change realloc(foo,0) to behave like malloc(0). Both now return a pointer to an object of size zero. This will allow testing on reallocs return value to determine if the operation was successful or not.
show more ...
|
#
ca09d1cd |
| 22-Aug-1997 |
deraadt <deraadt@openbsd.org> |
malloc_init() should try to not modify errno
|
#
459f7089 |
| 02-Jul-1997 |
millert <millert@openbsd.org> |
Use MALLOC_EXTRA_SANITY consistently (EXTRA_SANITY was used in many places) sizeof *pt -> sizeof *px (point to same type of struct but looked wrong).
|
#
d08d87f7 |
| 31-May-1997 |
tholo <tholo@openbsd.org> |
Make it possible to not output warnings (errors causing aborts are always output).
|
#
af0d2a95 |
| 31-May-1997 |
tholo <tholo@openbsd.org> |
Add x/X option to behave like X11 xmalloc; from FreeBSD Reduce diffs wrt. FreeBSD some
|
#
e25f2b54 |
| 30-Apr-1997 |
tholo <tholo@openbsd.org> |
Be more careful with mixing types
|
#
2be5e86c |
| 05-Apr-1997 |
tholo <tholo@openbsd.org> |
Check for overflow; from FreeBSD
|