| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Pointy hat to: myself
Approved by: deischen (implicitly)
|
|
|
|
|
|
|
| |
str2number(). this could result in an unexpected code path.
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
| |
Reviewed by: deischen
Approved by: deischen
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
| |
GET_AI and GET_PORT. Commented on an impossible case.
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
| |
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
we do not need it since we make (at most) a single addrinfo entry in these
cases.
Obtained from: KAME
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
- make it compilable
It still requires root privilege and is experimental.
Obtained from: KAME
MFC after: 1 week
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
in rev. 1.34. Mainly I missed the fact that the buffer is used for two
purposes:
1) storing a group line from the group file;
2) __gr_parse_entry() parses the buffer and tries to put the group
members to the remaining part of the buffer and can fail if there
is no enough room for them.
Re-arrange the buffer size checks to account the latter case.
Submitted by: Kirk R Webb
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
old file, update references, etc. The C function is already named
mac_is_present().
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
well as avoiding a switch statement. This change has no significant impact
to performance when branch prediction is successful at predicting the sizes
of objects passed to free(), but in the case that the object sizes are
semi-random, this change has the potential to prevent many branch prediction
misses, thus improving performance substantially.
Take advantage of alignment guarantees in ipalloc(), and pad object sizes to
something less than a power of two when possible. This has the potential
to substantially reduce internal fragmentation for objects allocated via
posix_memalign().
Avoid an unnecessary pow2_ceil() call in arena_ralloc().
Submitted by: djam8193ah@hotmail.com
|
|
|
|
|
|
|
|
|
| |
and instead creating a small allocation for each malloc(0) call. The
optional SysV compatibility behavior remains unchanged.
Add a couple of assertions.
Fix a couple of typos in error message strings.
|
|
|
|
|
|
|
|
|
| |
The text is correct in the "DESCRIPTION" section, so fix "SYNOPSIS"
to use the correct name.
PR: docs/90498
Submitted by: Vasil Dimov
MFC after: 3 days
|
|
|
|
|
|
|
| |
Requested by: Bruno Haible <bruno at clisp org>
Reviewed by: alc
Approved by: pjd (mentor)
MFC after: 1 month
|
|
|
|
|
|
|
| |
Fix a leak in chunk_dealloc(). [2]
Reported by: [1] djam8193ah@hotmail.com,
[2] Ville-Pertti Keinonen <will@exomi.com>
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
- Remove two unnecessary casts.
These changes would help gcc4 compile.
|
|
|
|
|
|
|
|
| |
calls. This eliminates TEXTREL from libc, making its text segment relocatable.
PR: i386/85242
Approved by: kan (mentor)
MFC after: 1 month
|
|
|
|
|
|
|
|
|
|
|
| |
If the initial buffer size (1KB) for the given group line is not big
enough, reset the offset. It helps to do not miss this line when
getrg() reallocates the larger buffer and tries to parse the line again.
PR: bin/52433, kern/55031, bin/83696, misc/97640, misc/98111
Submitted by: bsw71@mail.ru, Philip M. Gollucci, Justin Erenkrantz
Glanced at: nectar
MFC after: 1 month
|
|
|
|
| |
Submitted by: ceri
|
|
|
|
| |
Noticed by: rodrigc
|
| |
|
| |
|
|
|
|
| |
Obtained from: NetBSD (mostly)
|
|
|
|
| |
Reviewed by: ume
|
|
|
|
|
|
| |
# If you bump SHLIB_MAJOR, remove the kluge from gen/gethostname.c.
Reviewed by: ume
|
| |
|
|
|
|
| |
X-MFC after: never
|
|
|
|
|
|
| |
arch.
X-MFC after: never
|
|
|
|
|
|
| |
too short. This conforms to RFC3493, POSIX and XPG6.
Obtained from: NetBSD
|
|
|
|
|
|
| |
support.
X-MFC after: never
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
have such a reference. Add a reference instead to SA_RESTART in
sigaction(2).
|
| |
| |
| |
| | |
MFC after: 1 week
|
| |
| |
| |
| |
| | |
PR: 97485
Submitted by: Mikko Tyolajarvi < mbsd at pacbell dot net >
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
objects with SF_IMMUTABLE, SF_APPEND, or SF_NOUNLINK.
* Document that non-superusers cannot set or clear any SF_* flag
(setting fails with EPERM, clearing is silently ignored).
* Document that superusers cannot change any flag if one of
SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK is set and securelevel is
greater than 0.
* Document SF_SNAPSHOT and note that it is maintained by the
system and is, for this reason, impossible to set to clear by
any user.
PR: docs/33877
Submitted by: harti
Help by: George Marsellis <gam9478@njit.edu>
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
http://www.opengroup.org/onlinepubs/009695399/functions/gethostbyaddr.html
gethostbyaddr_r() is changed as well.
It breaks ABI backward compatibility on 64 bit arch. So, we fix it
on 32 bit arch only for now.
Reported by: Rostislav Krasny <rosti.bsd@gmail.com>
|
| |
| |
| |
| | |
may change errno unexpectly.
|
| |
| |
| |
| |
| |
| |
| |
| | |
4kB pages), in order to avoid dangerous rounding error when calculating
fullness limits during run promotion/demotion.
Convert a structure bitfield to a normal field in areana_run_t. This should
have been changed along with the other fields in revision 1.120.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Reported by: Pascal Hofstee <caelian__at__gmail.com>
Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Tested by: Pascal Hofstee <caelian__at__gmail.com>
|
| |
| |
| |
| | |
Submitted by: "Michael Bushkov" <bushman__at__rsu.ru>
|
| |
| |
| |
| |
| |
| |
| |
| | |
databases.
- Make nsswitch support caching.
Submitted by: Michael Bushkov <bushman__at__rsu.ru>
Sponsored by: Google Summer of Code 2005
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
bounds. [1]
Modify logic for utilizing the data segment, such that it is possible to
create huge allocations there.
Shrink the data segment when deallocating a chunk, if it is at the end of
the data segment.
Rename chunk_size to csize in huge_malloc(), in order to avoid masking a
static variable of the same name. [1]
Reported by: Paul Allen <nospam@ugcs.caltech.edu>
|