| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
problems in cases where regions are faked up for the purposes of red-black
tree searches, since those faked region headers reside on the stack, rather
than in a malloc chunk.
Notes:
svn path=/head/; revision=154557
|
|
|
|
| |
Notes:
svn path=/head/; revision=154556
|
|
|
|
|
|
|
|
| |
internal allocation does not rely on recursive arena use (base_arena was
removed in revision 1.95).
Notes:
svn path=/head/; revision=154555
|
|
|
|
|
|
|
| |
Reported by: ache
Notes:
svn path=/head/; revision=154549
|
|
|
|
|
|
|
|
|
|
|
| |
allowing the error to be fatal.
Move a label in order to make sure to properly handle errors in malloc(0).
Reported by: Alastair D'Silva, Saneto Takanori
Notes:
svn path=/head/; revision=154546
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
there is never any need to recursively call the main allocation functions.
Remove recursive spinlock support, since it is no longer needed.
Allow chunks to be as small as the page size.
Correctly propagate OOM errors from arena_new().
Notes:
svn path=/head/; revision=154421
|
|
|
|
|
|
|
|
|
|
|
|
| |
broken for non-threaded shared processes in that __tls_get_addr()
assumes the thread pointer is always initialized. This is not the
case. When arenas_map is referenced in choose_arena() and it is
defined as a thread-local variable, it will result in a SIGSEGV.
PR: ia64/91846 (describes the TLS/ia64 bug).
Notes:
svn path=/head/; revision=154415
|
|
|
|
|
|
|
|
|
|
| |
a scalable concurrent allocator implementation.
Reviewed by: current@
Approved by: phk, markm (mentor)
Notes:
svn path=/head/; revision=154306
|
|
|
|
|
|
|
| |
Reported by: glebius
Notes:
svn path=/head/; revision=154263
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add posix_memalign().
* Move calloc() from calloc.c to malloc.c. Add a calloc() implementation in
rtld-elf in order to make the loader happy (even though calloc() isn't
used in rtld-elf).
* Add _malloc_prefork() and _malloc_postfork(), and use them instead of
directly manipulating __malloc_lock.
Approved by: phk, markm (mentor)
Notes:
svn path=/head/; revision=154248
|
|
|
|
|
|
|
|
|
|
|
| |
between a 32-bit integer and a radix-64 ASCII string. The l64a_r() function
is a NetBSD addition.
PR: 51209 (based on submission, but very different)
Reviewed by: bde, ru
Notes:
svn path=/head/; revision=153707
|
|
|
|
| |
Notes:
svn path=/head/; revision=152734
|
|
|
|
|
|
|
| |
the function definition.
Notes:
svn path=/head/; revision=150065
|
|
|
|
|
|
|
| |
stdio/ and stdlib/. Don't define __cleanup twice.
Notes:
svn path=/head/; revision=150040
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
a tty device instead of the legacy minor number approach. This is known to
fix gnome-vfs' sftp module as well as kio_sftp and kdesu on -CURRENT.
Thanks to scottl for the snprintf() approach idea.
Reviewed by: phk
Tested by: pav
mich
Approved by: re (scottl)
Notes:
svn path=/head/; revision=147811
|
|
|
|
| |
Notes:
svn path=/head/; revision=143137
|
|
|
|
|
|
|
|
|
|
|
|
| |
surrounding the undef'ing it. It does not seem necessary to
undef some symbol that is not exist, and gcc does not complain
about whether a symbol is exist before #undef'ing it out.
Spotted by: mingyanguo via ChinaUnix.net forum
Reviewed by: phk
Notes:
svn path=/head/; revision=142668
|
|
|
|
|
|
|
|
|
| |
is not portable.
Asked by: joerg
Notes:
svn path=/head/; revision=140613
|
|
|
|
|
|
|
| |
Noted by: bde
Notes:
svn path=/head/; revision=140577
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
really so.
"If the value of base is 16, the characters 0x or 0X may optionally
precede the sequence of letters and digits, following the sign if
present."
Found by: joerg
Notes:
svn path=/head/; revision=140536
|
|
|
|
| |
Notes:
svn path=/head/; revision=140505
|
|
|
|
| |
Notes:
svn path=/head/; revision=140262
|
|
|
|
|
|
|
|
|
| |
PR: 28890
Submitted by: matthias.andree at web dot de
MFC after: 7 days
Notes:
svn path=/head/; revision=140098
|
|
|
|
|
|
|
|
|
|
|
| |
seed, the random number generator rand(3) still sucks and is unlikely
sufficient for crypto use. Correct what appears to be a cut and paste
error from the srandomdev() man page.
Submitted by: Ben Mesander
Notes:
svn path=/head/; revision=137535
|
|
|
|
|
|
|
|
|
|
|
| |
Requested by: keramida
Bump .Dd
Requested by: ru
Notes:
svn path=/head/; revision=134020
|
|
|
|
| |
Notes:
svn path=/head/; revision=133985
|
|
|
|
|
|
|
|
|
| |
example. The externs haven't been needed in about 10 years, so
there's no reason to have them other than for hysterical raisins. And
the California Rasins haven't been around for a long time...
Notes:
svn path=/head/; revision=132910
|
|
|
|
| |
Notes:
svn path=/head/; revision=131754
|
|
|
|
|
|
|
|
|
|
|
|
| |
under the RETURN VALUES section so it is consistent with others.
Cleanup the return value text for getenv(3) a little while I am here.
PR: docs/58033
MFC after: 3 days
Notes:
svn path=/head/; revision=131728
|
|
|
|
|
|
|
|
|
|
| |
An optional argument cannot start with '-', even if permutation is
disabled.
Obtained from: OpenBSD getopt_long.c v1.17
Notes:
svn path=/head/; revision=131710
|
|
|
|
| |
Notes:
svn path=/head/; revision=131594
|
|
|
|
|
|
|
| |
in <sys/cdefs.h> for compilers without support for inline.
Notes:
svn path=/head/; revision=131575
|
|
|
|
| |
Notes:
svn path=/head/; revision=131539
|
|
|
|
| |
Notes:
svn path=/head/; revision=131504
|
|
|
|
| |
Notes:
svn path=/head/; revision=129200
|
|
|
|
|
|
|
| |
the whatis(1) output.
Notes:
svn path=/head/; revision=129151
|
|
|
|
|
|
|
| |
short_too already assumes FLAG_LONGONLY
Notes:
svn path=/head/; revision=127734
|
|
|
|
| |
Notes:
svn path=/head/; revision=127733
|
|
|
|
|
|
|
|
|
| |
done before the first call, even if this is a malloc(0) call.
PR: 62859
Notes:
svn path=/head/; revision=126727
|
|
|
|
|
|
|
| |
cleanup, add more sections, better explanation, declaration
Notes:
svn path=/head/; revision=126697
|
|
|
|
|
|
|
|
|
|
|
| |
cleanups, handling 'ls -l-', handling '--*'
Note this is in the same time back out of our v1.3
"Don't print an error message if the bad option is '?'"
because it directly violates POSIX.
Notes:
svn path=/head/; revision=126696
|
|
|
|
| |
Notes:
svn path=/head/; revision=126693
|
|
|
|
|
|
|
| |
single '-' in command line and '-' (non-first) in options
Notes:
svn path=/head/; revision=126692
|
|
|
|
| |
Notes:
svn path=/head/; revision=126535
|
|
|
|
| |
Notes:
svn path=/head/; revision=126518
|
|
|
|
|
|
|
|
|
|
| |
define for it.
Don't catch POSIXLY_CORRECT env. into static variable, it can be changed
on the fly by program.
Use P1003.2 standartized illoptchar[]
Notes:
svn path=/head/; revision=126452
|
|
|
|
| |
Notes:
svn path=/head/; revision=126440
|
|
|
|
|
|
|
|
| |
in favour of GNU instead of NetBSD, because configure's use us and
expect GNU.
Notes:
svn path=/head/; revision=126439
|
|
|
|
|
|
|
|
| |
in favour of GNU instead of NetBSD, because configure's use us and
expect GNU.
Notes:
svn path=/head/; revision=126438
|
|
|
|
|
|
|
|
| |
PR: 63173
Submitted by: Marius Strobl <marius@alchemy.franken.de>
Notes:
svn path=/head/; revision=126189
|